2008-11-13 16:39:48

by Gerhard Mack

[permalink] [raw]
Subject: 2.6.27.5 tun/tap problem.


I have one machine that refuses to keep it's ssh tunnels up. None of the
other interfaces show any errors and I've checked for mtu problems etc.

About 40 seconds after the tunnel comes up it stops recieving
packets. If I start a ping on the machine it shows outgoing but not
incomming icmp. The machine on the far side is getting the packets and
replying but it's not making it over the tunnel. Both machines are
2.6.27.5.

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:172.16.1.2 P-t-P:172.16.1.1 Mask:255.255.255.252
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1000 Metric:1
RX packets:0 errors:0 dropped:1 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:1884 (1.8 KiB)

Not even sure where to even begin debugging this.


Gerhard

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.


2008-11-20 14:25:51

by Gerhard Mack

[permalink] [raw]
Subject: 2.6.26.x and 2.6.27.x 2.6.27-rc* regression: ssh and tun/tap problem.


I have a series of gateways using ssh tunnels and I have discovered that
they stop working if I upgrade them past kernel 2.6.25. This seems to
happen regardless of the reciving end's kernel version.

About 20 to 30 seconds after the tunnel comes up the interface stops
recieving packets with no errors show on the remote side and the local
side showing a single dropped packet. If I tcpdump a ping it shows that
the remote side is getting packets and is replying but the local side is
only sending. This problem is only cleared by resetting the tunnel but
then it only works for another 20 to 30 seconds.

None of the other interfaces show any errors and traffic flows over them
without problem.

Anyone have any idea what has gone wrong?

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:172.16.1.2 P-t-P:172.16.1.1 Mask:255.255.255.252
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:1 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:0 (0.0 B) TX bytes:1884 (1.8 KiB)

--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.