diff options
Diffstat (limited to 'force_bind.1')
-rw-r--r-- | force_bind.1 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/force_bind.1 b/force_bind.1 index c2845217a4e2..134ead06acdf 100644 --- a/force_bind.1 +++ b/force_bind.1 @@ -2,9 +2,11 @@ .SH NAME FORCE_BIND .SH AUTHOR -Catali(ux) M. BOIE \- catab at embedromix dot ro +Catalin(ux) M. BOIE \- catab at embedromix dot ro .SH DESCRIPTION -Force an application to bind on a specific IP and/or port. Works with both IPv4 and IPv6. It is useful if you have a binary application without sources and without the possibility to configure address or port to bind to. +Force an application to bind on a specific IP and/or port. Plus forcing setsockopt calls on the socket. Works with both IPv4 and IPv6. +.TP +It is useful if you have a binary application without sources and without the possibility to configure address or port to bind to. .SH LICENSE GPLv3 .SH HOW IT WORKS @@ -16,6 +18,8 @@ force_bind is a shared object that is loaded with LD_PRELOAD and hooks 'bind' fu .TP \fB export FORCE_NET_LOG="xxx.log" .TP +\fB export LD_PRELOAD=${LD_PRELOAD}:/usr/lib/force_bind.so +.TP \fB your_program_here .TP 1. Force bind to 127.0.0.1, port 33, verbose operations: @@ -122,7 +126,7 @@ force_bind is a shared object that is loaded with LD_PRELOAD and hooks 'bind' fu .TP \fB your_program_here .TP -13. Force FWMARK on a connection (only root is allowed): +13. Force FWMARK on a connection (only root can do it): .TP \fB export FORCE_NET_VERBOSE=1 .TP |