iptables_logging
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
iptables_logging [2015/08/25 12:15] – [Instellen van logging] admin | iptables_logging [2015/08/25 12:15] – admin | ||
---|---|---|---|
Line 15: | Line 15: | ||
# Voorbeeld log & drop | # Voorbeeld log & drop | ||
iptables -N logdrop | iptables -N logdrop | ||
- | iptables -A logdrop -m limit --limit 5/m --limit-burst 10 -j LOG | + | iptables -A logdrop -m limit --limit 5/m --limit-burst 10 -j LOG --log-prefix " |
iptables -A logdrop -j DROP | iptables -A logdrop -j DROP | ||
iptables -A INPUT -m conntrack --ctstate INVALID -j logdrop | iptables -A INPUT -m conntrack --ctstate INVALID -j logdrop |
iptables_logging.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1