config

package
v1.0.0-beta2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Interfaces InterfacesConfig
	Protocols  Protocols
	Output     map[string]outputs.MothershipConfig
	Shipper    publisher.ShipperConfig
	Procs      procs.ProcsConfig
	RunOptions droppriv.RunOptions
	Logging    Logging
	Filter     map[string]interface{}
}
var ConfigSingleton Config

Config Singleton

type Http

type Http struct {
	Ports               []int
	Send_all_headers    *bool
	Send_headers        []string
	Split_cookie        *bool
	Real_ip_header      *string
	Include_body_for    []string
	Hide_keywords       []string
	Strip_authorization *bool
	Send_request        *bool
	Send_response       *bool
}

type InterfacesConfig

type InterfacesConfig struct {
	Device         string
	Devices        []string
	Type           string
	File           string
	With_vlans     bool
	Bpf_filter     string
	Snaplen        int
	Buffer_size_mb int
	TopSpeed       bool
	Dumpfile       string
	OneAtATime     bool
	Loop           int
}

type Logging

type Logging struct {
	Selectors []string
}

type Mongodb added in v1.0.0

type Mongodb struct {
	Ports          []int
	Max_doc_length *int
	Max_docs       *int
	Send_request   *bool
	Send_response  *bool
}

type Mysql

type Mysql struct {
	Ports          []int
	Max_row_length *int
	Max_rows       *int
	Send_request   *bool
	Send_response  *bool
}

type Pgsql

type Pgsql struct {
	Ports          []int
	Max_row_length *int
	Max_rows       *int
	Send_request   *bool
	Send_response  *bool
}

type Protocols added in v1.0.0

type Protocols struct {
	Http    Http
	Mysql   Mysql
	Mongodb Mongodb
	Pgsql   Pgsql
	Redis   Redis
	Thrift  Thrift
}

type Redis added in v1.0.0

type Redis struct {
	Ports         []int
	Send_request  *bool
	Send_response *bool
}

type Thrift

type Thrift struct {
	Ports                      []int
	String_max_size            *int
	Collection_max_size        *int
	Drop_after_n_struct_fields *int
	Transport_type             *string
	Protocol_type              *string
	Capture_reply              *bool
	Obfuscate_strings          *bool
	Idl_files                  []string
	Send_request               *bool
	Send_response              *bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL