Hi,
Some of you may remember the talk I did last Nov. at the MELBA meeting.
The basic idea is that one uses ssh to connect to work, say, and redirect
a bunch of ports (login shells, X window apps, webserver, etc) to yield
a poor man's VPN between the two points.
For a couple of weeks I'll need to do this sort of VPN via dialup modem
from a location with only 1 phone line. That's not too bad, but I
anticipate having to bring the connection up and down quite a few times
a day (since there is only 1 phoneline and no cell phone coverage).
I am wondering if one could rig up something to *suspend* the active
connections, bring down ppp, use the phone, and then re-establish the
ppp connection and resume the connections & data flow.
I think in principle this can be done, here is the first hack that comes
to mind, you tunnel a 2nd ssh connection (B) thru an existing one (A):
local remote
(ppp dialup)
ssh(A) ----------------------------->---------------------------- sshd(A)
| |
prog prog
| |
ssh(B) sshd(B)
The ssh(A) connection is the volatile one, it is kind of like a "link
layer". "prog" could be as simple as a perl script that passes the
data thru and can act as valve to block the data flow and re-establish
connections to the ssh(A) link when it comes back up. The ssh(B)'s are
persistent and do the shell, X app, etc redirs.
I'm not claiming the above would be any good, just to show that it
probably can be done. I'm interested in people's general thoughts on
how to solve this problem; maybe it's been done already. Biggest worry
I have is if timeouts (e.g. tcp) can be avoided...
Thanks,
Karl
*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************