diff options
author | Kevin MacMartin | 2019-02-05 23:42:13 -0500 |
---|---|---|
committer | Kevin MacMartin | 2019-02-05 23:42:13 -0500 |
commit | 064afd9f6fa3ec75b0cba86e1ac1e56e52a46c6a (patch) | |
tree | 8b70b8cbcda97f084ec3bcca6ac174079d1f47c2 /force_bind.1 | |
parent | fc4ffcbe781d4cefcd32412271ed3a6f991a68b2 (diff) | |
download | aur-064afd9f6fa3ec75b0cba86e1ac1e56e52a46c6a.tar.gz |
Update to 0.13, update the man page to reflect changes to the readme, change the destination directory from /usr/lib64 to /usr/lib, and add a gitignore
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 |