Log with log amount
Hi All
In FreeBSD, ipfw uitiliy can log with amount of packet:
ipfw add 1200 deny log tcp from any to any log-amount 100
But with netfilter, I do not see any option for setting amount of packet I want to log
iptables -A INPUT -j LOG ...................????
Thai An
Hi,
I am not sure, but i think the ULOG target can do this with --ulog-cprange parameter. I may be wrong, i never tested ULOG. Fot ULOG you need a deamon called ulogd.
Quoted 11 lines · thaian
Hi All
In FreeBSD, ipfw uitiliy can log with amount of packet:
ipfw add 1200 deny log tcp from any to any log-amount 100But with netfilter, I do not see any option for setting amount of packet I want to log
iptables -A INPUT -j LOG ...................????Thai An
Signature · 1 line
Bla bla
Quoted 5 lines · thaian
Hi All
In FreeBSD, ipfw uitiliy can log with amount of packet: ipfw add 1200 deny log tcp from any to any log-amount 100
But with netfilter, I do not see any option for setting amount of packet I want to log iptables -A INPUT -j LOG ...................????
Umm, is
iptables -A INPUT -m limit --limit 100/day -j LOG
what you want? Or are you trying to limit to 100 packets ever?
Alexey