config

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2016 License: Apache-2.0 Imports: 5 Imported by: 2,896

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

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 Icmp

type Icmp struct {
	Enabled            bool
	SendRequest        *bool `yaml:"send_request"`
	SendResponse       *bool `yaml:"send_response"`
	TransactionTimeout *int  `yaml:"transaction_timeout"`
}

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

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

type Mongodb

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

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

type Protocols

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

type Redis

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