Documentation ¶
Overview ¶
Package slowloris [inspired by https://github.com/valyala/goloris]
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { ContentLength int // The maximum length of fake POST body in bytes. Adjust to nginx's client_max_body_size DialWorkersCount int // The number of workers simultaneously busy with opening new TCP connections RampUpInterval time.Duration // Interval between new connections' acquisitions for a single dial worker (see DialWorkersCount) SleepInterval time.Duration // Sleep interval between subsequent packets sending. Adjust to nginx's client_body_timeout Duration time.Duration // Duration Path string // Target Path. Http POST must be allowed for this Path HostHeader string // Host header value in case it is different than the hostname in Path }
Config holds all the configuration values for slowloris
Click to show internal directories.
Click to hide internal directories.