Re: iptable time module following incorrect time

2012-02-27 Thread Bob Proulx
J. Bakshi wrote: I have the following to block facebook during 9 AM to 6 PM iptables -I FORWARD -p tcp -m multiport --dport 80,443 -d 69.171.224.0/19 -m time \ --timestart 09:00 --timestop 18:00 -j REJECT But the time scheduled is followed incorrectly. The stat time activated at 1 PM and

Re: iptable time module following incorrect time

2012-02-27 Thread Dom
On 27/02/12 06:07, J. Bakshi wrote: Hello, I have the following to block facebook during 9 AM to 6 PM `` iptables -I FORWARD -p tcp -m multiport --dport 80,443 -d 69.171.224.0/19 -m time \ --timestart 09:00 --timestop 18:00 -j REJECT ` But the time

Re: iptable time module following incorrect time

2012-02-27 Thread Bob Proulx
Dom wrote: From man iptables: All times are interpreted as UTC by default. Aha! This is a change beween Squeeze and Wheezy. The Squeeze version says: --localtz Interpret the times given for --datestart, --datestop, --timestart and --timestop to be local

Re: iptable time module following incorrect time

2012-02-27 Thread J. Bakshi
On Mon, 27 Feb 2012 01:52:46 -0700 Bob Proulx b...@proulx.com wrote: Dom wrote: From man iptables: All times are interpreted as UTC by default. Aha! This is a change beween Squeeze and Wheezy. The Squeeze version says: --localtz Interpret the times given for

iptable time module following incorrect time

2012-02-26 Thread J. Bakshi
Hello, I have the following to block facebook during 9 AM to 6 PM `` iptables -I FORWARD -p tcp -m multiport --dport 80,443 -d 69.171.224.0/19 -m time \ --timestart 09:00 --timestop 18:00 -j REJECT ` But the time scheduled is followed incorrectly. The