User Tools

Site Tools


iptables:rate_limiting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
iptables:rate_limiting [2016/07/03 22:08] peteriptables:rate_limiting [2019/11/29 17:41] (current) – removed peter
Line 1: Line 1:
-====== IPTables - Rate Limiting ====== 
  
-Simple rate limiting is adequate for controlling the size of a log file it is not really suitable for much else. We could use it to limit the number of connection attempts to a particular service in any given period, for example, but as it pays no regard to who is attempting to connect this would just be a recipe for an easy denial of service attack. 
- 
-<code bash> 
-iptables -A LOGDROP -m limit --limit 1/second --limit-burst 20 \ 
-   -j LOG --log-prefix 'FIREWALL - DROP:' --log-level info 
-</code> 
iptables/rate_limiting.1467583727.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki