[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

diald is eating packets



Hi everyone,

	I am running Debian 1.3.1, the problem is I can not open a telnet and have
diald connect me, it connects and immediately hangs up.  Right now the only
way I have been getting online is to open netscape, it sends a bunch of udp
packets, which all get eaten by diald when the PPP link comes up, but the
link stays up, and after a while netscape sends some more packets ,which go
out across the PPP link ( instead of getting eaten). Basically once the
link is established, I can open telnet's etc., but it appears the telnets
send one packet, if diald eats that packet instead of sending it along the
PPP link, the telnet freezes and never sends more packets, or at least
doesn't send them soon enough for diald to not hang up.  

my questions:

1) how to keep diald from eating the first packet it sees coming across the
dummy link, and instead hold it and send it down the PPP link once
established. 

2) how to increase the time limit in the standard filter (I'd like to use
standard.filter over my very primitive one) on the FIRST packet sent out by
a program (like telnet,  rlogin, etc.)

Here's what I have tried so far:

originally used original standard.filter ( the one that dselect installed). 
I start a telnet,  ( I am watching from dtcrl, with the packet queue {PQ}
in view)  
a tcp packet appears in the PQ, with a timer of 15 seconds.
Diald starts logging in etc., packet timer runs out so diald eats the
packet, PQ empty, diald starts up the link, sees empty queue closes link.

I changed the line (I think it was the first rule) in the standard.filter ,
 from 'accept tcp 15 tcp.syn' to 'accept tcp 120 tcp.syn' , no difference
in above situation.

I made my own "basic.filter"  (I have put it at the bottom of this letter)
this changed the behavior of diald, now the tcp packet shows up with a 5
minute timer, diald connects, logs in, starts up PPP, and then eats the
packet, even though the timer never ran out on it. now the packet queue is
empty and diald disconnects the line.  
Currently I am using the standard.filter, and bait the line with netscape
as I described in the beginning of the letter.


any ideas?

	Ken





my "basic.filter" file:

ignore tcp tcp.source=tcp.domain
ignore tcp tcp.dest=tcp.domain
accept tcp 300 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.source=udp.ntp
ignore udp udp.dest=udp.ntp
ignore udp udp.source=udp.timed
ignore udp udp.dest=udp.timed
ignore udp udp.dest=udp.domain,udp.source=udp.domain
accept udp 30 udp.source=udp.domain
accept udp 30 udp.dest=udp.domain
ignore udp udp.dest=udp.netbios-ns,udp.source=udp.netbios-ns
accept udp 30 udp.source=udp.netbios-ns
accept udp 30 udp.dest=udp.netbios-ns
accept udp 120 any
accept udp 120 any
accept any 30 any




Reply to: