config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2015 License: GPL-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigMeta toml.MetaData

Config metadata singleton

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Name                  string
	Refresh_topology_freq int
	Ignore_outgoing       bool
	Topology_expire       int
	Tags                  []string
}

type Config

type Config struct {
	Interfaces InterfacesConfig
	Protocols  map[string]Protocol
	Output     map[string]MothershipConfig
	Input      Input
	RunOptions RunOptions
	Procs      Procs
	Agent      Agent
	Logging    Logging
	Passwords  Passwords
	Thrift     Thrift
	Http       Http
	Mysql      Mysql
	Pgsql      Pgsql
	Geoip      Geoip
	Udpjson    Udpjson
	GoBeacon   GoBeacon
	Filter     map[string]interface{}
}
var ConfigSingleton Config

Config Singleton

type Geoip

type Geoip struct {
	Paths []string
}

type GoBeacon

type GoBeacon struct {
	Listen_addr string
	Tracker     string
}

type Http

type Http struct {
	Send_all_headers bool
	Send_headers     []string
	Split_cookie     bool
	Real_ip_header   string
	Include_body_for []string
}

type Input

type Input struct {
	Inputs []string
}

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 MothershipConfig

type MothershipConfig struct {
	Enabled            bool
	Save_topology      bool
	Host               string
	Port               int
	Protocol           string
	Username           string
	Password           string
	Index              string
	Path               string
	Db                 int
	Db_topology        int
	Timeout            int
	Reconnect_interval int
	Filename           string
	Rotate_every_kb    int
	Number_of_files    int
	DataType           string
	Flush_interval     int
}

type Mysql

type Mysql struct {
	Max_row_length int
	Max_rows       int
}

type Passwords

type Passwords struct {
	Hide_keywords       []string
	Strip_authorization bool
}

type Pgsql

type Pgsql struct {
	Max_row_length int
	Max_rows       int
}

type Proc

type Proc struct {
	Cmdline_grep string
}

type Procs

type Procs struct {
	Dont_read_from_proc bool
	Max_proc_read_freq  int
	Monitored           map[string]Proc
	Refresh_pids_freq   int
}

type Protocol

type Protocol struct {
	Ports         []int
	Send_request  bool
	Send_response bool
}

type RunOptions

type RunOptions struct {
	Uid int
	Gid int
}

type Thrift

type Thrift struct {
	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
}

type Udpjson

type Udpjson struct {
	Bind_ip string
	Port    int
	Timeout int
}

Jump to

Keyboard shortcuts

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