[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1423713974.4942.9.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Wed, 11 Feb 2015 20:06:14 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Tom Marshall <tom@...gn.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: ip: Do not allow connection to remote port zero
On Wed, 2015-02-11 at 16:58 -0800, Tom Marshall wrote:
> Port zero is reserved according to IANA.
>
> Note UDP sendto is already disallowed if dport is zero.
I have no idea why we should prevent such thing.
There is nothing wrong sending a TCP frame with dport=0, even if
practically it is not possible to setup a listener on such port using
BSD API.
Maybe some tools are actually using this already to send probes...
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists