lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 10 Apr 2008 09:50:44 +0900
From:	Kazunori MIYAZAWA <kazunori@...azawa.org>
To:	Patrick McHardy <kaber@...sh.net>
CC:	David Miller <davem@...emloft.net>, pupilla@...mail.com,
	netdev@...r.kernel.org
Subject: Re: [XFRM]: xfrm_user: fix selector family initialization

Patrick McHardy wrote:
> Kazunori MIYAZAWA wrote:
>> David Miller wrote:
>>> From: Patrick McHardy <kaber@...sh.net>
>>> Date: Wed, 09 Apr 2008 17:38:55 +0200
>>>
>>>>     [XFRM]: xfrm_user: fix selector family initialization
>>>>         Commit df9dcb45 ([IPSEC]: Fix inter address family IPsec 
>>>> tunnel handling)
>>>>     broke openswan by removing the selector initialization for 
>>>> tunnel mode
>>>>     in case it is uninitialized.
>>>>         This patch restores the initialization, fixing openswan, but 
>>>> probably
>>>>     breaking inter-family tunnels again (unknown since the patch author
>>>>     disappeared). The correct thing for inter-family tunnels is 
>>>> probably
>>>>     to simply initialize the selector family explicitly.
>>>>         Signed-off-by: Patrick McHardy <kaber@...sh.net>
>>>
>>> I've applied this to net-2.6, thanks Patrick.
>>>
>>> Once we resolve how to get inter-family working without
>>> breaking existing setups, we can put better logic back
>>> in here.  But for now the regression is more important.
>>
>> Sorry, I missed the thread.
>> I have no idea to solve the regression.
> 
> 
> Wouldn't explicitly initializing the SA family for
> inter-family tunnels work?

I guess it is same as the original Herbert's patch.
It needs to explicitly initialize the family for inter-family tunnel.

Best regards,

--
Kazunori Miyazawa

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ