Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartRecorders ¶
func StartRecorders(recorders []HoneypokeRecorder, c chan *HoneypokeRecord)
Types ¶
type Elastic6Recorder ¶
type Elastic6Recorder struct {
// contains filtered or unexported fields
}
func NewElastic6Recorder ¶
func NewElastic6Recorder(config map[string]interface{}) *Elastic6Recorder
func (Elastic6Recorder) Record ¶
func (r Elastic6Recorder) Record(record *HoneypokeRecord) error
type Elastic7Recorder ¶
type Elastic7Recorder struct {
// contains filtered or unexported fields
}
func NewElastic7Recorder ¶
func NewElastic7Recorder(config map[string]interface{}) *Elastic7Recorder
func (Elastic7Recorder) Record ¶
func (r Elastic7Recorder) Record(record *HoneypokeRecord) error
type Elastic8Recorder ¶
type Elastic8Recorder struct {
// contains filtered or unexported fields
}
func NewElastic8Recorder ¶
func NewElastic8Recorder(config map[string]interface{}) *Elastic8Recorder
func (Elastic8Recorder) Record ¶
func (r Elastic8Recorder) Record(record *HoneypokeRecord) error
type HoneypokeRecord ¶
type HoneypokeRecord struct { Time string `json:"time"` RemoteIP string `json:"remote_ip"` RemotePort int `json:"remote_port"` Protocol string `json:"protocol"` Port int `json:"port"` Input string `json:"input"` IsBinary bool `json:"is_binary"` UseSSL bool `json:"use_ssl"` Location map[string]float64 `json:"location"` Host string `json:"host"` }
HoneypokeRecord represents a record of input
func NewRecord ¶
func NewRecord(remote_ip string, remote_port uint16) *HoneypokeRecord
type HoneypokeRecorder ¶
type HoneypokeRecorder interface {
Record(record *HoneypokeRecord) error
}
Click to show internal directories.
Click to hide internal directories.