drop by time
Posted: Sat Jul 21, 2007 6:53 am
i have these following rules
15 ;;; drop todo el ares de 4pm a 11pm
chain=forward src-address=192.168.10.0/24 p2p=warez
time=16h-23h59m,sat,fri,thu,wed,tue,mon,sun action=drop
DROP ARES BETWEEN 4PM-11PM
16 ;;; botar p2p de 8am a 10pm
chain=forward src-address=192.168.10.0/24 icmp-options=0:0 p2p=all-p2p
time=10h-21h59m,sat,fri,thu,wed,tue,mon,sun action=drop
DROP ALL P2P BETWEEN 8AM -10PM
17 ;;; aceptar p2p de 0am a 8am
chain=forward icmp-options=0:0 p2p=all-p2p
time=0s-7h59m,sat,fri,thu,wed,tue,mon,sun action=accept
ALLOW ALL P2P BETWEEN 00:00 TO 7:59AM
PROBLEM IS THAT DONT KNOW WHAT ORDER IS CORRECT BUT IT WILL ONLY DROP ARES AND P2P WITHOUT TIME INTERVAL..
ALSO IF I MOVE ACCEPT ALLP2P RULE UP WHICH SHOULD WORK JUST IN ITS TIME RANGE IT WILL ACCEPT ALL P2P ALL DAY AND WONT OBEY TIME RANGE I HAVE SET..
PLEASE HELP ME CAUSE P2P ARE KILLING MY AP.
15 ;;; drop todo el ares de 4pm a 11pm
chain=forward src-address=192.168.10.0/24 p2p=warez
time=16h-23h59m,sat,fri,thu,wed,tue,mon,sun action=drop
DROP ARES BETWEEN 4PM-11PM
16 ;;; botar p2p de 8am a 10pm
chain=forward src-address=192.168.10.0/24 icmp-options=0:0 p2p=all-p2p
time=10h-21h59m,sat,fri,thu,wed,tue,mon,sun action=drop
DROP ALL P2P BETWEEN 8AM -10PM
17 ;;; aceptar p2p de 0am a 8am
chain=forward icmp-options=0:0 p2p=all-p2p
time=0s-7h59m,sat,fri,thu,wed,tue,mon,sun action=accept
ALLOW ALL P2P BETWEEN 00:00 TO 7:59AM
PROBLEM IS THAT DONT KNOW WHAT ORDER IS CORRECT BUT IT WILL ONLY DROP ARES AND P2P WITHOUT TIME INTERVAL..
ALSO IF I MOVE ACCEPT ALLP2P RULE UP WHICH SHOULD WORK JUST IN ITS TIME RANGE IT WILL ACCEPT ALL P2P ALL DAY AND WONT OBEY TIME RANGE I HAVE SET..
PLEASE HELP ME CAUSE P2P ARE KILLING MY AP.