Well, I have things almost right now on a Linux RH5.2 box - IP masq,
firewall and a happy family that can browse on the W95 boxes via my Linux
box on ISDN. And diald will bring the line up but it doesn'twant to drop
it.
Here is the diald.conf and diald/phone.filter files. I want the line to
drop on packet sizes <40 bytes using impulse timing. Can anyone see
what's wrong?
First diald.conf - should I have the include instruction at the end?
include /etc/diald/phone.filter
device /dev/modem
speed 115200
mode ppp
dynamic
local 192.168.0.1
remote 192.168.0.2
up-delay 5
defaultroute
modem
crtscts
connect "/usr/sbin/chat -f /etc/ppp/pppscript"
redial-timeout 10
fifo /etc/diald/diald.ctl
restrict 08:00:00 17:59:59 1-5 * *
impulse 20,0,0
restrict * * * * *
impulse 30,0,0
... Now the diald/phone.filter:
accept tcp 15 tcp.syn
ignore tcp tcp.dest=tcp.domain
ignore tcp tcp.source=tcp.domain
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
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 60 any
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
accept udp 30 udp.dest=udp.domain,udp.source=udp.domain
ignore udp tcp.dest=udp.route
ignore udp tcp.source=udp.route
accept udp 120 any
accept any 30 any
Clues?
TIA
John
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]