Re: Port Forwarding over Unreliable Connections
From: Gregory Novak (novak_at_ucolick.org)
Date: 11/22/05
- Next message: SQ: "SSH2 with TCP Wrappers"
- Previous message: Per Hedeland: "Re: Port Forwarding over Unreliable Connections"
- In reply to: Per Hedeland: "Re: Port Forwarding over Unreliable Connections"
- Next in thread: Per Hedeland: "Re: Port Forwarding over Unreliable Connections"
- Reply: Per Hedeland: "Re: Port Forwarding over Unreliable Connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 22 Nov 2005 06:00:31 -0800
per@hedeland.org (Per Hedeland) writes:
> Well, unfortunately your understanding is flawed - there are actually
> two separate TCP connections when you do port forwarding, one from the
> local program to ssh, and one from sshd to the remote program (in the
> other direction for reverse or X11 forwarding of course). No way could
> you replace the ssh/sshd in the middle without the local and remote
> programs cooperating by establishing new connections, and no way can
> this be "fixed" in ssh - you basically need "true" VPN capability for
> that (which is possible but quite awkward to do on top of ssh port
> forwarding).
I see. That's too bad.
Regarding VPN, I've made several attempts to get it running, all of
which petered out because of the complexity of setting it up combined
with the lack of a clear (in my mind) benefit of doing so. Would VPN
solve this problem for me? That would be enough incentive for me to
get it running...
> There's no obvious reason the ssh<->sshd connection (including the
> "embedded" port forwarding connections) couldn't survive "outage" like
> "plain vanilla TCP connections" though, since that's exactly what it
> is.
Regarding Keepalive packets, I have them turned on for ssh connections
(for unrelated reasons). You think I would have better luck with this
by turning them off? This seems like a fragile situation: I have to
notice when the network goes out and then scrupulously avoid doing
anything that sends any traffic over the connection until the network
comes back. Am I correct in thinking this?
Thank you!
Greg
- Next message: SQ: "SSH2 with TCP Wrappers"
- Previous message: Per Hedeland: "Re: Port Forwarding over Unreliable Connections"
- In reply to: Per Hedeland: "Re: Port Forwarding over Unreliable Connections"
- Next in thread: Per Hedeland: "Re: Port Forwarding over Unreliable Connections"
- Reply: Per Hedeland: "Re: Port Forwarding over Unreliable Connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|