net/socketbind 1_1 FreeBSD
Library to bind applications on multihomed machines to specific IP address
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- net
- Package size
- 3.0 KiB, 5.2 KiB installed
Description
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 $*
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | net/socketbind | 1_1 |
| DragonFly | net/socketbind | 1_1 |
Install
Binary package:
pkg install socketbind
From the ports tree:
cd /usr/ports/net/socketbind/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= socketbind>0:net/socketbind
LIB_DEPENDS= libsocketbind.so:net/socketbind
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1_1 | 1_1 | 1 | 1_1 | 1_1 |
| FreeBSD:14:quarterly | 1_1 | 1_1 | n/a | 1_1 | 1_1 |
| FreeBSD:15:latest | 1_1 | 1_1 | n/a | 1_1 | 1_1 |
| FreeBSD:15:quarterly | 1_1 | 1_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1_1 | 1_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
Files
pkg-plist 3
- lib/libsocketbind.so.1
- lib/libsocketbind.so
- share/doc/socketbind/README
Commit history 0
No commits in the history this site was built from.