Documentation ¶
Index ¶
Constants ¶
View Source
const ( PortEventID = "https://github.com/l3montree-dev/oh-my-honeypot/json-schema/port-scanning.json" LoginEventID = "https://github.com/l3montree-dev/oh-my-honeypot/json-schema/ssh-login-attempt.json" HTTPEventID = "https://github.com/l3montree-dev/oh-my-honeypot/json-schema/http-request.json" )
Variables ¶
This section is empty.
Functions ¶
func MostUsedTCPPorts ¶
func MostUsedTCPPorts() []int
func MostUsedUDPPorts ¶
func MostUsedUDPPorts() []int
Types ¶
type HTTPConfig ¶
type HTTPConfig struct {
Port int
}
type Honeypot ¶
type Honeypot interface { // Start starts the honeypot // should not block Start() error // GetSETChannel returns the channel the honeypot is posting SET events to. GetSETChannel() <-chan types.Set }
func NewHTTP ¶
func NewHTTP(config HTTPConfig) Honeypot
func NewPostgres ¶
func NewPostgres(config PostgresConfig) Honeypot
type PostgresConfig ¶
type PostgresConfig struct {
Port int
}
Click to show internal directories.
Click to hide internal directories.