RE: port bound SAs
From: Paul Moore <hidden>
Date: 2009-01-27 17:38:23
OK I misunderstood. Sorry You are saying that the port number should be dropped by the pfkey / xfrm interface - OK This is actually what happens. (BTW this is fortunate - in a few cases racoon accidentally passes down 500) I meant that the consensus was that the wire behavior is wrong. -----Original Message----- From: Patrick McHardy [mailto:kaber@trash.net] Sent: Tuesday, January 27, 2009 9:29 AM To: Paul Moore Cc: David Miller; netdev@vger.kernel.org Subject: Re: port bound SAs Paul Moore wrote:
quoted
quoted
I believe thats intentional, RFC2367 specifies to ignore portnumbers except for larval states. the ietf ipsec list thinks thats not the case. The consensus there is that the port owns the SA (and thats what Windows, and solaris
actually
do)
What does "think thats not the case" mean? Its clearly stated in
2.3.3. Address Extension:
...
The
zeroing of ports (e.g. sin_port and sin6_port) MUST be done for all
messages except for originating SADB_ACQUIRE messages, which SHOULD
fill them in with ports from the relevant TCP or UDP session which
generates the ACQUIRE message.