Skip to contentSkip to conversation

time module

DISCUSSION Tomas Charvat 2 participants 2 messages Nov 8, 2003 – Nov 10, 2003

lore
Share & tools
lore
#0 lore raw

greeting folk

im just testing rule

[0:0] -A FORWARD -s 62.84.131.35 -m time --timestart 07:00 --timestop 00:38 --days Sun,Mon,Tue,Wed,Thu,Fri,Sat -j shape

it doesnt work .. all traffic pass trough, packets just ignore it

but when i put there

[0:0] -A FORWARD -s 62.84.131.35 -m time --timestart 07:00 --timestop 00:38 --days Sun -j shape

(only one day)
rule working properly ....

i have iptables 1.2.8 kernel 2.4.23-pre6 patched with patch-o-matic...

any tip ?

regards
tomas

#1 lore raw

Hallo Tomas,

Quoted 6 lines · On Sun, 9 Nov 2003 00:48:59 +0100 "Tomas Charvat" <[email protected]> wrote:

greeting folk

im just testing rule

[0:0] -A FORWARD -s 62.84.131.35 -m time --timestart 07:00 --timestop 00:38 --days Sun,Mon,Tue,Wed,Thu,Fri,Sat -j shape

have you tryed to break the rule up in to rules?
... --timestart 07:00 --timestop 23:59 ...
... --timestart 00:00 --timestop 00:38 ...

Jörg

Signature · 3 lines
Jörg Schütter           http://www.lug-untermain.de/
[email protected]     http://www.schuetter.org/joerg/
ICQ: 298982789          http://mypenguin.bei.t-online.de/