lists.openwall.net   lists  /  announce  john-users  owl-users  popa3d-users  /  xvendor  oss-security  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4 
Open Source and information security mailing list archives
 
This website is powered by Openwall GNU/*/Linux security-enhanced OS
[<prev] [next>] [<thread-prev] [month] [year] [list]
Date:	Mon, 30 Apr 2007 22:33:51 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	yoshfuji@...ux-ipv6.org
Subject: Re: udp hash change and ipv6

From: YOSHIFUJI Hideaki / .$B5HF#1QL@.(B <yoshfuji@...ux-ipv6.org>
Date: Tue, 01 May 2007 13:07:17 +0900 (JST)

> Because I do not have enough time before depature to Lima
> via LAX, I cannot send a full fix for this, but anyway...
> 
> In net-2.6, __udp_lib_get_port() touches inet_sk(sk)->rcv_saddr,
> which will break ipv6, I think.  We probably need to add a
> extra function pointer to check is sk has wildcard rcv_saddr
> for the protocol.
> 
> static udp4_is_rcvaddr_any(const struct sock *sk)
> {
>     return (!inet_sk(sk)->rcv_saddr);
> }
> 
> static udp6_is_rcvaddr_any(const struct sock *sk)
> {
>     return (ipv6_addr_any(inet_sk(sk)->rcv_saddr));
> }
> 
> Or something.  We may need to think about ipv6only socket
> option.

I am aware of these issues and will take care of them.
-
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

Hosted by DataForce ISP - Powered by Openwall GNU/*/Linux