Re: 2.4/2.6 local TCP connect oddity

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tal Kelrich <tal@...>
Cc: <linux-kernel@...>
Date: Sunday, October 21, 2007 - 1:29 pm

Hi,

On Sun, Oct 21, 2007 at 05:53:37PM +0200, Tal Kelrich wrote:

It is not a bug, it is caused by the "simultaneous connect" feature of
TCP. Although rarely used, in TCP you can connect two clients together.
They just have to exchange their SYN, SYN/ACK then ACK and bingo, they're
connected. In fact, you found the easiest way to achieve it, by using the
same port. To demonstrate the feature, I'm used to either temporarily
block SYNs with iptables, or by unplugging the cable between two machines.

I personally dislike this feature as it can be exploited to prevent any
client from connecting to the outside by flooding it with SYN packets to
its guessed source port. Anyway, most stateful firewalls don't let this
pass through.


Regards,
Willy

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.4/2.6 local TCP connect oddity, Tal Kelrich, (Sun Oct 21, 11:53 am)
Re: 2.4/2.6 local TCP connect oddity, Willy Tarreau, (Sun Oct 21, 1:29 pm)
Re: 2.4/2.6 local TCP connect oddity, Tal Kelrich, (Sun Oct 21, 4:53 pm)
Re: 2.4/2.6 local TCP connect oddity, Willy Tarreau, (Sun Oct 21, 11:21 pm)