Hi,
Is there a way to monitor DOS or DDOS attack in Nagios. For example i see multiple requests from a specific IP bombarding the web services.
Best Regards,
Kaushal
check dos or ddos attack in Nagios
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: check dos or ddos attack in Nagios
Hello, @kaushalshriyan. You could use the check_ddos.pl plugin. I'll attach the description in a text file.
Here's another plugin:
https://exchange.nagios.org/directory/P ... os/details
Here's another plugin:
https://exchange.nagios.org/directory/P ... os/details
- Attachments
-
- ddos.odt
- (15.59 KiB) Downloaded 312 times
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
kaushalshriyan
- Posts: 124
- Joined: Fri May 22, 2015 7:12 am
Re: check dos or ddos attack in Nagios
Hi npolovenko,
Thanks for your reply and much appreciated. I have a follow-up question. Is there a difference between SYN_RECV and SYN_flood (https://en.wikipedia.org/wiki/SYN_flood) Network packets?
Thanks in Advance and looking forward to hearing from you.
Best Regards,
Kaushal
Thanks for your reply and much appreciated. I have a follow-up question. Is there a difference between SYN_RECV and SYN_flood (https://en.wikipedia.org/wiki/SYN_flood) Network packets?
Code: Select all
/usr/lib/nagios/plugins/check_ddos.pl
check_ddos.pl 0.4
usage: check_ddos.pl [options]
-h: Print the command line help
-v: Print the program version
-w <int>: Warning value (number of SYN_RECV)
-c <int>: Critical value (number of SYN_RECV)Best Regards,
Kaushal
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: check dos or ddos attack in Nagios
@kaushalshriyan, SYN_RECV stands for SYN-RECEIVED.
https://www.cisco.com/c/en/us/about/pre ... tacks.htmlThe TCP SYN-RECEIVED state is used to indicate that the connection is only half open, and that the legitimacy of the request is still in question.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.