Detect DDOS and execute arbitrary command
Usage of pdump:
-a uint
alert threshould(Short) (default 10)
-alert uint
alert threshould (default 10)
-b uint
BufflerLength(Short)
-buffer uint
BufflerLength
-e string
exec command(Short)
-exec string
exec command
-i uint
monitor interval(Short) (default 30)
-interval uint
monitor interval (default 30)
-n string
monitor nic(Short)
-nic string
monitor nic
-s uint
monitor sec(Short) (default 5)
-sec uint
monitor sec (default 5)
-version
Print version information and quit.
To install, use go get
:
$ go get -d github.com/pyama86/pdump
- Fork (https://github.com/pyama86/pdump/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request