Rate Limiting using Kali (a) i like to see iptables rules involving -m limit to allow only
Fantastic news! We've Found the answer you've been seeking!
Question:
Rate Limiting using Kali
(a) i like to see iptables rules involving -m limit to allow only 8 TCP connection attempts per minute to ports 80 or 443.
Then, from another host to send 20 SYNs per minute to these ports. A small script may be required to achieve this.
i'll like to see this iptables rule(s) in such a way that the extra packets are logged in the file /var/log/tcpsyns with a suitable message, and dropped. As part of this, look up the "limit burst" and add this to your -m limit rule (use man iptables).
(b) Rate Limiting using hitcount/recent
Use the 'hitcount/recent' approach to achieve part (a).
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: