On Sun, Jun 12, 2005 at 11:13:23PM +1000, herbert wrote: > On Sun, Jun 12, 2005 at 02:32:53PM +0200, Willy Tarreau wrote: > > > > but it's not the case (although the naming is not clear). So if the remote > > end was the one which sent the SYN-ACK, it will clear its session. If it has > > been spoofed, it will ignore the RST because in turn, the SEQ will not be > > within its window. > > This is what should happen: Sorry, you're right. The SEQ check should catch this. However, a few lines down in that same function there is a th->rst check which will kill the connection just as effectively. My point is that there are many ways to kill TCP connections in ways similar to what you proposed initially so it isn't that special. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- From: Herbert Xu <[email protected]>
- Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- From: Willy Tarreau <[email protected]>
- Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- From: Herbert Xu <[email protected]>
- Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- From: Willy Tarreau <[email protected]>
- Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- From: Herbert Xu <[email protected]>
- Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- From: Willy Tarreau <[email protected]>
- Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- From: Herbert Xu <[email protected]>
- Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- From: Willy Tarreau <[email protected]>
- Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- From: Herbert Xu <[email protected]>
- Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- Prev by Date: Re: [PATCH 2.4.31 6/9] gcc4: fix x86_64 sys_iopl() bug
- Next by Date: Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- Previous by thread: Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- Next by thread: Re: [PATCH] fix small DoS on connect() (was Re: BUG: Unusual TCP Connect() results.)
- Index(es):