
INTRODUCTION

socketlock is a dynamic library that wraps libc's bind() and connect()
functions. Its purpose is to force bad programs to bind to cspecific 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. 


INSTALL:

(installs in /usr/local/lib)
# make && make install

USAGE:

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

<start program>
