From: Florian Weimer <fw@deneb.enyo.de>
To: linux-kernel@vger.kernel.org
Cc: davem@redhat.com
Subject: Re: [SECURITY] CERT/CC VU#464113, SYN plus RST/FIN
Date: Fri, 25 Oct 2002 12:16:37 +0200 [thread overview]
Message-ID: <87smyuq0vu.fsf@deneb.enyo.de> (raw)
In-Reply-To: <20021025101311.GD3512@riesen-pc.gr05.synopsys.com> (Alex Riesen's message of "Fri, 25 Oct 2002 12:13:11 +0200")
Alex Riesen <Alexander.Riesen@synopsys.com> writes:
>> --- tcp_input.c 2002/10/25 08:45:20 1.1
>> +++ tcp_input.c 2002/10/25 08:49:21
>> @@ -3668,6 +3668,8 @@
>> case TCP_LISTEN:
>> if(th->ack)
>> return 1;
>> + if(th->rst || th->fin)
>> + goto discard;
>>
>> if(th->syn) {
>> if(tp->af_specific->conn_request(sk, skb) < 0)
>>
>
> You mean to place the check below "if(th->syn)", don't you?
No, of course not. :-) That's the whole point of the patch.
A SYN is not a SYN if it comes together with a RST.
next prev parent reply other threads:[~2002-10-25 10:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-25 9:00 [SECURITY] CERT/CC VU#464113, SYN plus RST/FIN Florian Weimer
2002-10-25 10:13 ` Alex Riesen
2002-10-25 10:16 ` Florian Weimer [this message]
2002-10-25 10:33 ` Alex Riesen
2002-10-25 10:25 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87smyuq0vu.fsf@deneb.enyo.de \
--to=fw@deneb.enyo.de \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox