News for hackers. Stuff that matters.
Re:Why TCP Over TCP Is a Bad Idea (2001) by jerf on Saturday March 28, 2015 @08:12PM (#9283316)
Did you read the linked article? (Or did anybody else who is replying?)

It's not about how TCP-over-TCP is somehow aesthetically displeasing or about how people should feel bad about doing it. It's about how TCP-over-TCP is a technically bad idea because stacked TCPs interact poorly. It's never a good idea. TCP-over-TCP is still a profoundly flawed protocol even if you don't happen to tickle its problematic cases.

Re:Why TCP Over TCP Is a Bad Idea (2001) by chias on Saturday March 28, 2015 @09:37PM (#9283558)
> It's never a good idea.

I disagree with that profoundly:

I read the article. Yes, TCP over TCP include unnecessary performance-harming features in certain circumstances, because you have two unrelated collision avoidance systems running at the same time. Even so, in many scenarios TCP over TCP is an excellent idea: it can provide you with many benefits, in practical terms works great, and has no readily-available alternative which is better.

It doesn't solve the problem as theoretically neatly as possible, and carries some cruft. But hypothetical me at a starbucks about to open an ssh tunnel to a trusted connection, hypothetical you telling me that that's never a good idea. Okay then, what should I do instead?

Re:Why TCP Over TCP Is a Bad Idea (2001) by IgorPartola on Sunday March 29, 2015 @12:41AM (#9283901)
TCP over UDP.
Re:Why TCP Over TCP Is a Bad Idea (2001) by chias on Sunday March 29, 2015 @11:30AM (#9285143)
So sitting at starbucks with my laptop -- what do i do? I am not aware of an option to have SSH run over UDP, although I do know that some VPNs allow you to use UDP instead of TCP.

Unless there is a relatively simple way of getting an encrypted tunnel for my HTTP traffic using tools like ssh and netcat and other things I'm likely to already have installed, I disagree with the notion that it's never a good idea.

Re:Why TCP Over TCP Is a Bad Idea (2001) by IgorPartola on Sunday March 29, 2015 @05:31PM (#9286560)
When you are running a SOCKS proxy through ssh, you are not doing TCP over TCP. We are talking about things like OpenVPN which can do TCP over TCP, but that is generally a bad idea. It's default mode is TCP over UDP, as it should be.
Re:Why TCP Over TCP Is a Bad Idea (2001) by chias on Monday March 30, 2015 @10:54AM (#9289902)
> When you are running a SOCKS proxy through ssh, you are not doing TCP over TCP

Are you sure? SSH uses TCP, and encapsulates the web traffic which also uses TCP... in what way is that not TCP over TCP?

Re:Why TCP Over TCP Is a Bad Idea (2001) by jerf on Tuesday March 31, 2015 @01:33PM (#9298250)
Here, read this: https://github.com/apenwarr/sshuttle#theory-of-operation

"TCP-over-TCP" and "TCP carried on something that happen to be TCP" turn out to be two very different things.

Re:Why TCP Over TCP Is a Bad Idea (2001) by chias on Monday April 13, 2015 @03:30PM (#9369847)
Thank you for the link :)
Re:Why TCP Over TCP Is a Bad Idea (2001) by nickodell on Saturday March 28, 2015 @09:32PM (#9283546)
Ok, so how can we fix this?

Perhaps we could disable retransmission on either the upper or lower layer?