Hi
I use this:
$IPTABLES -t mangle -A FORWARD -s 192.168.0.3 -d 0/0 -m time --timestart
10:00 --timestop 23:59 --days Mon,Tue,Wed,Thu,Fri,Sat,Sun -m p2p --p2p
all -j DROP
$IPTABLES -t mangle -A FORWARD -s 192.168.0.3 -d 0/0 -m time --timestart
00:00 --timestop 01:00 --days Mon,Tue,Wed,Thu,Fri,Sat,Sun -m p2p --p2p
all -j DROP
to block P2P during the day...
It does work, but sometimes my syslog says:
Mar 28 05:47:01 Linux kernel: ipt_time unloaded
Apr 2 05:47:01 Linux kernel: ipt_time unloaded
(lol same time hmmm?! Nothing strange in cron daily!)
and whole iptables rule stops working - I can use p2p during the day,
however it should be banned then ;/
Why ipt_time unloads itself, how do I stop it from doing so?
I use 2.24 kernel, slac 9.1, iptables 1.29.
thank you.
|