FreeBSD.software
Home/net/socketbind

socketbind

1_1

Library to bind applications on multihomed machines to specific IP address

This library allows you to bind any application which is dynamically linked with libc. It provides convient way to bind socket's source IP to one of the multiple IP's available on computer. To use it first of all point LD_PRELOAD to installed library and set BINDTO variable to desired IP address to bind. Here is the wrapper to run any command binded to some IP address: env LD_PRELOAD=/usr/local/lib/libsocketbind.so.1 BINDTO=$MY_IP_ADDRESS $*

Origin: net/socketbind
Category: net
Size: 5.39KiB
License: not specified
Maintainer: nm@web.am
Dependencies: 0 packages
Required by: 0 packages
$pkg install socketbind

More in net