1.5.3


Old Stuff

 www.your-freedom.net
 www.secure-tunnel.com

Ticket #139 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Auto Reconnect if Tunnel drops as an option

Reported by: gerry@intersurf.com Assigned to: andrei
Priority: normal Milestone: AlmostVPN 0.9.14
Component: PreferencePanel Version: 0.9
Severity: normal Keywords: reconnect sleep
Cc:

Description

It would be nice to have the option to have a tunnel reconnect from time to time if it drops. I move around with my laptop. and when I put it to sleep the tunnel drops as I would expect, but I have to go manually reconnect when I wake the laptop up, it would be nice to be able to choose to have the tunnel reconnect :-)

Change History

02/15/06 07:54:51 changed by andrei

  • keywords set to reconnect sleep.
  • status changed from new to assigned.
  • version set to 0.9.
  • milestone set to AlmostVPN 0.9.13.

AlmostVPN already trying to reconnect in some situations, I will see if I can add "falling to sleep" to the list of reasons to reconnect.

02/15/06 09:40:47 changed by gerry@intersurf.com

If there is an indicator that the AirportExtreme? has lost carrier you could go idle until AirportExtreme? indicates that it has re-associated with an AP, then attempt to connect again.

02/27/06 14:59:06 changed by andrei

  • milestone changed from AlmostVPN 0.9.13 to AlmostVPN 1.0.

investigating

03/22/06 02:12:51 changed by mbarr@mbarr.net

FYI.. Probably the same issue as bug #17. it's at least the same area, since you have to wait, after wakeup, to actually have an IP to reconnect the tunnels. Doing it immediatly on wake won't work with things that have to get an address via Airport. Same reason the reconnect on sleep code of SSHKeychain doesn't work on wifi connections- it's too fast, and doesn't give enough time to associate & get an IP from the DHCP server- which makes the DNS query fail, since there's no network available.

03/22/06 07:49:20 changed by andrei

  • milestone changed from AlmostVPN 1.0 to AlmostVPN 0.9.14.

I guess, in case of connection drop, I can check if networking is available and wait a little bit until it is before trying to reconnect.

03/26/06 10:16:34 changed by wernervangeit@hotmail.com

I've got the same issue with my iBook G4. AlmostVPN never reconnects when the computers wakes from sleep. This is the main reason why I use SSH Tunnel Manager instead of AlmostVPN.

03/26/06 21:33:22 changed by andrei

  • status changed from assigned to closed.
  • resolution set to fixed.

After short investigation, I have discovered that AlmostVPN actually trying to re-connect, but even if it succeed, it neglect to report this fact. I have fixed it. Also, not AlmostVPN will wait up to 30 seconds until ssh host become accessible ( curtsey of "scutil -r xxx" ), so now it should work even if WiFi? is slow to start up.