Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Detector ¶
type Detector struct {
// contains filtered or unexported fields
}
Detector tracks suspicious requests per IP and reports attack waves
func NewDetector ¶
func (*Detector) CheckRequest ¶
CheckRequest checks if the request is part of an attack wave Returns true if an attack wave is detected and should be reported
func (*Detector) GetSamplesForIP ¶
GetSamplesForIP returns the samples collected for the given IP
Click to show internal directories.
Click to hide internal directories.