[sslh] Binding dynamic address

Guillaume Delacour gui at iroqwa.org
Tue Feb 4 22:43:00 CET 2014


Hello,

As i've to test several simple configurations with multiple environments
(virtual machines, chroot, etc...) and different init systems (sysvinit,
systemd), I sometimes encounter a problem on binding on a dymanic ip
address: if the interface is not yet ready (with allow-hotplug eth0
in /etc/network/interfaces or with systemd which parallelize things),
sslh fail to start because binding of an ip address that don't exist at
this moment.

Do you think this is ok or a good idea to use setsockopt(2) with
IP_FREEBIND as optname which is GNU/Linux specific only (with the
apropriate ifdef macro) ?

-- 
Guillaume Delacour <gui at iroqwa.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://rutschle.net/pipermail/sslh/attachments/20140204/4170c4cb/attachment.sig>


More information about the sslh mailing list