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] [day] [month] [year] [list]
Message-Id: <20101228.135805.260098055.davem@davemloft.net>
Date:	Tue, 28 Dec 2010 13:58:05 -0800 (PST)
From:	David Miller <davem@...emloft.net>
To:	eric.dumazet@...il.com
Cc:	jengelh@...ozas.de, netdev@...r.kernel.org
Subject: Re: [patch] net/unix: do not forget to autobind in standard case

From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 28 Dec 2010 17:44:15 +0100

> Le samedi 25 décembre 2010 à 01:08 +0100, Jan Engelhardt a écrit :
>> parent 67514fc40bbec857018cbc689d440282b75551db (v2.6.37-rc1-229-g67514fc)
>> commit 973bdc63c6aba703dd7b62a6ec7ae4bab7847731
>> Author: Jan Engelhardt <jengelh@...ozas.de>
>> Date:   Sat Dec 25 00:50:59 2010 +0100
>> 
>> net/unix: do not forget to autobind in standard case
>> 
>> A program using recvmsg on an AF_LOCAL datagram socket does not
>> receive the peer's address when the remote has not issued a bind. This
>> makes it impossible to send messages back. (But the same _does_ work
>> in IP.) The cause for this is because autobinding was only done when
>> credential passing was requested.
>> 
> 
> It would be good you did some research and tell us why current code
> tests SOCK_PASSCRED
> 
> There must be a reason this restrictive code is here, dont you think ?

I definitely think that test is intentional.  I'm not applying this
without at least some basic research.
--
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