ids

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2014 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	IdsName string
	Sid     string
	Raw     string
	Rule    string
}

func Check

func Check(idss []Ids, startTime time.Time, endTime time.Time, proxyPort string) (alerts []Alert)

type Ids

type Ids interface {
	Name() (name string)
	Init() (err error)
	Check(startTime time.Time, endTime time.Time, proxyPort string) (alerts []Alert)
}

func Init

func Init() (idss []Ids)

type Suricata

type Suricata struct {
	Ids
	AlertsFile  string
	RulesDir    string
	AlertRegexp *regexp.Regexp
}

func (*Suricata) Check

func (i *Suricata) Check(startTime time.Time, endTime time.Time, proxyPort string) (alerts []Alert)

func (*Suricata) Init

func (i *Suricata) Init() (err error)

func (*Suricata) Name

func (i *Suricata) Name() (name string)

Jump to

Keyboard shortcuts

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