netdev
[Top] [All Lists]

Re: [PATCH,RFC] explicit connection confirmation

To: bert hubert <ahu@xxxxxxx>, jamal <hadi@xxxxxxxxxx>, Lennert Buytenhek <buytenh@xxxxxxx>, netdev@xxxxxxxxxxx
Subject: Re: [PATCH,RFC] explicit connection confirmation
From: Marc Boucher <marc@xxxxxxx>
Date: Fri, 8 Nov 2002 06:56:03 -0500
In-reply-to: <20021108115205.GA20549@xxxxxxxxxxxxxxx>
References: <20021107152758.GB23858@xxxxxxx> <Pine.GSO.4.30.0211080605410.14675-100000@xxxxxxxxxxxxxxxx> <20021108115205.GA20549@xxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.1i
it would also be useful for transparent proxying. presently
all connections diverted to a proxy are immediately accepted,
regardless of whether the second connection (proxy->real destination)
succeeds or not.

On Fri, Nov 08, 2002 at 12:52:05PM +0100, bert hubert wrote:
> On Fri, Nov 08, 2002 at 06:22:00AM -0500, jamal wrote:
> 
> > > There was a thread about this in private mail round April this year,
> > > in which some good points were raised.
> > 
> > There are some good points; however, whats the app for this feature?
> 
> This came up a long time ago on bugtraq in a discussion how to easily
> prevent certain IP addresses from DoSsing your TCP daemon. Right now,
> userspace is always forced to complete the threeway handshake, and can only
> then close the socket.
> 
> Even rather small amounts of SYN packets can thus easily saturate a server
> which has decided to handle only 100 connections AND has decided to ignore a
> certain IP address. Some inetd superservers contain code to ratelimit IP
> addresses which sadly is not as effective from userspace as it could be with
> the ability to RST a connection immediately.
> 
> It also allows userspace to simulate that a service isn't even there,
> without root capabilities.
> 
> Regards,
> 
> bert
> 
> -- 
> http://www.PowerDNS.com          Versatile DNS Software & Services
> http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
> 


<Prev in Thread] Current Thread [Next in Thread>