Hello,
I'm running diald version 0.16.5 on a Debian 2.1 system.
I'm experiencing a strange problem that may be a diald bug.
My dialup connection is started by a ping packet, that diald
accepts by a
rule with a 60 seconds timeout.
After only 5 seconds, diald receives from the remote host a
packet that is
ignored because no rules matches it. Just after this, diald close
the
connection stating: "Closing down idle link".
Why the "Adding connection" message does not have the
corresponding
"Deleting connection" in the log and why the 60 seconds timeout
is not
respected?
The line is an ISDN, the remote host is a Sun Solaris (I think),
which sends
to my system a lot of packets to the address 224.0.0.x, which I
have to
ignore otherwise the line never goes down.
I made some experiments: it seems that if I send some other
packets AFTER
the one that started the connection, but BEFORE I receive any
packet from
the remote host, then the timeout is respected.
The rule (# 42) that accepts the ping packet is:
accept icmp 60 any
Here it is an excerpt from the log:
09:31:00 diald[15713]: filter accepted rule 42 proto 1 len 84
packet 192.168.254.1,0 => 194.247.160.2,0
09:31:00 diald[15713]: Adding connection 0x80633a0 @ 954747060 -
timeout 60
09:31:01 diald[15713]: Running connect (pid = 5815).
09:31:03 diald[15713]: Running pppd (pid = 5816).
09:31:03 pppd[5816]: pppd 2.3.5 started by root, uid 0
09:31:03 pppd[5816]: Using interface ppp0
09:31:03 pppd[5816]: Connect: ppp0 <--> /dev/ttyS0
09:31:04 pppd[5816]: Remote message:
09:31:04 pppd[5816]: local IP address 195.191.9.27
09:31:04 pppd[5816]: remote IP address 194.247.164.195
09:31:04 diald[15713]: New addresses: local 195.191.9.27, remote
194.247.164.195.
09:31:04 diald[15713]: Setting pointopoint route for ppp0
09:31:04 diald[15713]: Establishing routes for ppp0
09:31:04 diald[15713]: proxy arp: scanning 4 interfaces for IP
194.247.164.195
09:31:04 diald[15713]: proxy arp: examining interface lo
09:31:04 diald[15713]: proxy arp: examining interface eth0
09:31:04 diald[15713]: proxy arp: interface addr 192.168.1.1
mask ffffff00
09:31:04 diald[15713]: proxy arp: examining interface ppp0
09:31:04 diald[15713]: proxy arp: examining interface sl0
09:31:04 diald[15713]: Changed snoop device to ppp0
09:31:04 diald[15713]: running ip-up script '/etc/diald/ip-up
ppp0 255.255.255.255 195.191.9.27 194.247.164.195'
09:31:05 diald[15713]: filter ignored rule 0 proto 2 len 35
packet 194.247.164.195,0 => 224.0.0.2,0
09:31:05 diald[15713]: Closing down idle link.
09:31:05 diald[15713]: Setting pointopoint route for sl0
09:31:05 diald[15713]: Establishing routes for sl0
09:31:05 diald[15713]: proxy arp: scanning 4 interfaces for IP
192.168.254.2
09:31:05 diald[15713]: proxy arp: examining interface lo
09:31:05 diald[15713]: proxy arp: examining interface eth0
09:31:05 diald[15713]: proxy arp: interface addr 192.168.1.1
mask ffffff00
09:31:05 diald[15713]: proxy arp: examining interface ppp0
09:31:05 diald[15713]: proxy arp: examining interface sl0
09:31:05 diald[15713]: Removing routes for ppp0
09:31:05 diald[15713]: ioctl(SIOCDARP): Device not configured
09:31:05 diald[15713]: Deleting pointopoint route for ppp0
09:31:05 diald[15713]: Closed fwdfd
09:31:05 diald[15713]: Changed snoop device to sl0
09:31:05 pppd[5816]: Terminating on signal 2.
09:31:05 pppd[5816]: Connection terminated.
09:31:05 pppd[5816]: Exit.
09:31:05 diald[15713]: Setting pointopoint route for sl0
09:31:05 diald[15713]: Establishing routes for sl0
09:31:05 diald[15713]: proxy arp: scanning 3 interfaces for IP
192.168.254.2
09:31:05 diald[15713]: proxy arp: examining interface lo
09:31:05 diald[15713]: proxy arp: examining interface eth0
09:31:05 diald[15713]: proxy arp: interface addr 192.168.1.1
mask ffffff00
09:31:05 diald[15713]: proxy arp: examining interface sl0
09:31:05 diald[15713]: Closing modem line.
09:31:06 diald[15713]: running ip-down script
'/etc/diald/ip-down sl0 255.255.255.255 195.191.9.27
194.247.164.195'
Niccolo Rigacci
Firenze - Italy
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]