[Bug 824] New: --utc option is not working in iptables version 1.4.7/8
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Thu May 23 12:41:53 CEST 2013
https://bugzilla.netfilter.org/show_bug.cgi?id=824
Summary: --utc option is not working in iptables version
1.4.7/8
Product: iptables
Version: unspecified
Platform: i386
OS/Version: Fedora
Status: NEW
Severity: major
Priority: P5
Component: iptables
AssignedTo: netfilter-buglog at lists.netfilter.org
ReportedBy: pradiptart at gmail.com
Estimated Hours: 0.0
Hi,
I am using iptables v1.4.7/8.
I used the following command
iptables -A INPUT -s 10.0.4.247 -m time --utc --datestart 2013-5-23T7
--datestop 2013-5-23T10:30 -j DROP
my utc time
#date -u
Thu May 23 10:25:48 UTC 2013
#iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
DROP all -- 10.0.4.247 anywhere TIME starting from
2013-05-23 07:00:00 until date 2013-05-23 10:30:00 UTC
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
but how I can able to ping from the IP 10.0.4.247 after this command and I am
doing with in the blocking time.
One more thing is my local time
#date
Thu May 23 15:57:40 IST 2013
when i am giving following command it is able to block the traffic in the time
even i specified --utc.
iptables -A INPUT -s 10.0.4.247 -m time --utc --datestart 2013-5-23T11
--datestop 2013-5-23T16 -j DROP
successfully blocked the traffic for the time given.
but I want it to check the UTC time not local time.how to do this.
Thanks
pradipta
--
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the netfilter-buglog
mailing list