ssh tunnel dies unexpectedly several times a day
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Dear all.
I have a problem: my ssh tunnel works fine for a while (this time varies from minutes to hours) and then just stops to forward packets in one direction.
I tried to google this problem, but didn't find the solution.
Detailed description:
I have Gutsy on both machines. Machine A - is client, machine B - server. My /etc/network/
Machine A:
iface tun0 inet static
pre-up echo 1 > /proc/sys/
pre-up ssh -f -w 0:0 machine_
pre-up sleep 5
address 10.0.0.1
pointopoint 10.0.0.2
netmask 255.255.255.0
up route add -net 192.168.1.0 netmask 255.255.255.0 gw 10.0.0.2 tun0
down route del -net 192.168.1.0 netmask 255.255.255.0 gw 10.0.0.2 tun0
Machine B:
iface tun0 inet static
pre-up echo 1 > /proc/sys/
pre-up sleep 5
address 10.0.0.2
pointopoint 10.0.0.1
netmask 255.255.255.0
up route add -net 10.88.171.0 netmask 255.255.255.0 gw 10.0.0.1 tun0
down route del -net 10.88.171.0 netmask 255.255.255.0 gw 10.0.0.1 tun0
I start tunnel using "sudo ifup tun0". Then everything is working for some time.
When it stops to work, I found out, that tunnel does not forward traffic from machine B to machine A, while traffic from machine A to machine B
is forwarded correctly. Network device tun0 on machine B just stops transmitting the data.
Also I noted, that it happens more frequently, while transmitting big amount of data.
Please, help me to fix that. It's really borring to restart tunnel so often.
Changed in openssh (Ubuntu): | |
status: | Incomplete → Invalid |
Does this bug is still present?