Hi, 

when i use restrict rules to make the line available from 7am to 2pm, i have 
this problem :
the line can't be setted up beetween 7am and 2pm

if u mind take a look at my /etc/diald/standard.filter file i would 
appreciate ...
is it a bug in woody diald version ? ... i gonna feel bad in can't stoping to 
ask u things / till i can ask to someone else i do so :)

here is my standard.filter file :
(the same as previous standard.filter which works plus restrict rule (i've 
puted the last restrict * * * * * which wasn't there the first time i've 
tried - thought it was not necessary)

<<<<
# This is a pretty complicated set of filter rules.

restrict 07:00:00 * * * *
or-restrict * 02:00:00 * * * 

# ######## Rules for TCP packets.
# accept tcp 15 tcp.syn
accept tcp 60 tcp.syn

accept tcp 5 ip.tot_len=40,tcp.syn

ignore tcp ip.tot_len=40,tcp.live

accept tcp 120 tcp.dest=tcp.www
accept tcp 120 tcp.source=tcp.www
accept tcp 120 tcp.dest=tcp.https
accept tcp 120 tcp.source=tcp.https
keepup tcp 120 tcp.dest=tcp.https
keepup tcp 120 tcp.source=tcp.https

keepup tcp 5 !tcp.live
ignore tcp !tcp.live

accept tcp 120 tcp.dest=tcp.ftp
accept tcp 120 tcp.source=tcp.ftp
accept tcp 120 tcp.dest=tcp.ftp-data
accept tcp 120 tcp.source=tcp.ftp-data

accept tcp 600 any

# ######## Rules for UDP packets
# webmin
ignore udp udp.dest=udp.10000

ignore udp udp.dest=udp.who
ignore udp udp.source=udp.who
ignore udp udp.dest=udp.route
ignore udp udp.source=udp.route
ignore udp udp.dest=udp.ntp
ignore udp udp.source=udp.ntp
ignore udp udp.dest=udp.timed
ignore udp udp.source=udp.timed
ignore udp udp.dest=udp.domain,udp.source=udp.domain

# acces internet (d'abord par udp : recherche de domaine)
accept udp 30 udp.dest=udp.domain 
accept udp 30 udp.source=udp.domain
# ignore udp udp.dest=udp.domain
# ignore udp udp.source=udp.domain

 
# windaub

ignore udp udp.dest=udp.netbios-ns
ignore udp udp.source=udp.netbios-ns
ignore udp udp.dest=udp.netbios-dgm
ignore udp udp.source=udp.netbios-dgm

# accept udp 30 udp.dest=udp.netbios-ns
# accept udp 30 udp.source=udp.netbios-ns

# ignore udp tcp.dest=udp.route
# ignore udp tcp.source=udp.route

accept udp 120 any

ignore igmp any
ignore ospfigp any

accept any 30 any

restrict * * * * *
down
>>>>

Reply via email to