Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > contrib-release > by-pkgid > 8f638f7a1209caf36ade88ecd600796c

lib64socketlock-0.2-5mdv2009.0.x86_64.rpm

Description:

socketlock is a dynamic library that wraps libc's bind() and connect()
functions. Its purpose is to force bad programs to bind to specific IP's
on multihomed machines. Both listening sockets and outbound sockets are
supported.

The idea was taken from a similar tool called socketbind. There were serious
problems and lack of features, so this I written this new tool.

To use it simply run:

export LD_PRELOAD=/usr/lib64/libsocketlock.so
export BINDTO=<ipaddress>

<start program>

Sources packages:

Other version of this rpm: