Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sure, set up an SSH tunnel, make it a SOCKS5 proxy (easy enough to do) to a host in the 'cloud', now proxy you traffic through it (like Netflix).

Watch how suddenly you get 'connection reset by peer', look around and discover nobody in your packet path has any cause to reset your traffic. Now do a straight http proxy (varnish works well for this) to the same machine, run it all day night with bits of http traffic. No issues at all.

No go back to creating an SSH tunnel between your machine and the endpoint. Run traffic, note the mysterious 'connection reset by peer' when some thing upstream sends your TCP connection a FIN.

It could be that their network just has a really hard time with encrypted packets but some how I don't think so. I have tried a variety of port numbers.

EDIT: and I went back and verified I still have 'ServerAliveInterval 60' in my config file for all hosts.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: