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]
Date:	Tue, 27 May 2014 11:55:10 +0200
From:	Tobias Oberstein <tobias.oberstein@...il.com>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: SO_REUSEPORT and Unix domain sockets

Linux kernels >= 3.9 allow sharing of sockets between processes with 
in-kernel load-balancing by setting SO_REUSEPORT (eg 
http://lwn.net/Articles/542629/)

How can this be used for sockets of type AF_UNIX?

I can only get it working with TCP sockets, not Unix domain sockets.

When using TCP, the incoming clients will get nicely balanced to all 
processes listening. With Unix domain sockets, the incoming clients all 
get connected only to the last started process.

The test code (Python) I was trying is here:

http://stackoverflow.com/questions/23742368/can-so-reuseport-be-used-on-unix-domain-sockets

Any hints appreciated,
/Tobias
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ