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>] [day] [month] [year] [list]
Date:	Mon, 14 Apr 2008 11:19:56 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	netdev@...r.kernel.org
Subject: Questions regarding local address assignment

Suppose a program creates a socket and doesn't bind it to a local 
address.  When the program wants to connect the socket to a remote 
address (for TCP) or send a datagram to a remote address (for UDP or 
raw IP), the kernel automatically assigns a local address to it.

Questions:

	1. What algorithm does the kernel use to select the local 
	   address?

	2. Where is the source code for the selection?

	3. Is this information documented anywhere?

Thank you,

Alan Stern

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