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-next>] [day] [month] [year] [list]
Message-Id: <20070501.130717.115545945.yoshfuji@linux-ipv6.org>
Date:	Tue, 01 May 2007 13:07:17 +0900 (JST)
From:	YOSHIFUJI Hideaki / 吉藤英明 
	<yoshfuji@...ux-ipv6.org>
To:	davem@...emloft.net
Cc:	yoshfuji@...ux-ipv6.org, netdev@...r.kernel.org
Subject: udp hash change and ipv6

Dave,

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.

Regards,

-- 
YOSHIFUJI Hideaki @ USAGI Project  <yoshfuji@...ux-ipv6.org>
GPG-FP  : 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA
-
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