config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2015 License: Apache-2.0 Imports: 5 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    logp.Logging
	Filter     map[string]interface{}
}
var ConfigSingleton Config

Config Singleton

type Dns added in v1.0.0

type Dns struct {
	ProtocolCommon      `yaml:",inline"`
	Include_authorities *bool
	Include_additionals *bool
}

type Http

type Http struct {
	ProtocolCommon       `yaml:",inline"`
	Send_all_headers     *bool
	Send_headers         []string
	Split_cookie         *bool
	Real_ip_header       *string
	Include_body_for     []string
	Hide_keywords        []string
	Redact_authorization *bool
}

type InterfacesConfig

type InterfacesConfig struct {
	Device         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 Memcache added in v1.0.0

type Memcache struct {
	ProtocolCommon        `yaml:",inline"`
	MaxValues             int
	MaxBytesPerValue      int
	UdpTransactionTimeout *int
	ParseUnknown          bool
}

type Mongodb added in v1.0.0

type Mongodb struct {
	ProtocolCommon `yaml:",inline"`
	Max_doc_length *int
	Max_docs       *int
}

type Mysql

type Mysql struct {
	ProtocolCommon `yaml:",inline"`
	Max_row_length *int
	Max_rows       *int
}

type Pgsql

type Pgsql struct {
	ProtocolCommon `yaml:",inline"`
	Max_row_length *int
	Max_rows       *int
}

type ProtocolCommon added in v1.0.0

type ProtocolCommon struct {
	Ports              []int `yaml:"ports"`
	SendRequest        *bool `yaml:"send_request"`
	SendResponse       *bool `yaml:"send_response"`
	TransactionTimeout *int  `yaml:"transaction_timeout"`
}

type Protocols added in v1.0.0

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

type Redis added in v1.0.0

type Redis struct {
	ProtocolCommon `yaml:",inline"`
}

type Thrift

type Thrift struct {
	ProtocolCommon             `yaml:",inline"`
	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
}

Jump to

Keyboard shortcuts

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