Time match problem
Hi,
When I am using the time match ,I have the following command:
iptables -A FORWARD -m time --timestart 08:00 --timestop 18:00 \
--days Mon -j ACCEPT
This works well,but when i delete the rule,I have the following command:
iptables -D FORWARD -m time --timestart 08:00 --timestop 18:00 \
--days Mon -j ACCEPT
It does not work,and display:
iptables: Bad rule (Does a matching rule exist in that chain?)
I change the FORWARD chain to INPUT chain or OUTPUT chain,it could work. Does anyone help me? I'm RH 8.0 + iptables 1.2.8
best regards
BenH
===================================================================
Hello
Quoted 3 lines
Hi,
When I am using the time match ,I have the following command:
iptables -A FORWARD -m time --timestart 08:00 --timestop 18:00 --days
Mon -j ACCEPT
Quoted 2 lines
This works well,but when i delete the rule,I have the following command:
iptables -D FORWARD -m time --timestart 08:00 --timestop 18:00 --days
Mon -j ACCEPT
Quoted 1 line
It does not work,and display:
I'm aware of the problem for quite some time, it's just that I need a bit of time to fix it...
But I'll do it soon, I promise :)
Cheers,
Fabrice.
--
Fabrice MARIE
"Silly hacker, root is for administrators"
-Unknown
Quoted 6 lines · Fabrice MARIE
Hello
Quoted 3 lines
Hi,
When I am using the time match ,I have the following command:
iptables -A FORWARD -m time --timestart 08:00 --timestop 18:00 --daysMon -j ACCEPT
Quoted 8 lines
Quoted 2 lines
This works well,but when i delete the rule,I have the following command:
iptables -D FORWARD -m time --timestart 08:00 --timestop 18:00 --daysMon -j ACCEPT
Quoted 1 line
It does not work,and display:
I'm aware of the problem for quite some time, it's just that I need a bit of time to fix it...
But I'll do it soon, I promise :)
Hi Fabrice, could you please submit this to bugzilla so it doesn't get lost (and people can discover that this is a known bug)? Thanks.
Quoted 2 lines
Cheers,
Fabrice.
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie