List of commits:
Subject Hash Author Date (UTC)
Cosmetic 6d0d08fc192dc13d1a76b95c19a6bdd5679ea929 Catalin(ux) M. BOIE 2021-12-01 09:17:50
Added support for user hosts file c7d7cb830b04385097c85363c4b14e0ae04d76db Catalin(ux) M. BOIE 2021-11-30 09:02:33
Do not crash if no ipv4/v6 AF (from archlinux - Kevin MacMartin - thanks) e9e3a280247e14354ead0f9322c447da090c76e0 Catalin(ux) M. BOIE 2021-02-14 13:25:23
Seems that -dl is not taken in consideration if is added at the beginning 9ed2b864388da970f0a2a2cc7ebd65c7ebbaff04 Catalin(ux) M. BOIE 2021-01-05 18:57:18
Added support for FORCE_NET_V*_CONN_ERROR to return an error for connect syscall c221dc3ff63bcd28c2053694177a9a09ef9a6570 Catalin(ux) M. BOIE 2019-03-20 18:26:19
rpm changelog e7127f5191015b0b93c7108b6fa02fde7f0fe909 Catalin(ux) M. BOIE 2019-02-05 21:10:57
duilder update 71425ef75fbc076d6601ceadd52e81e678aabe57 Catalin(ux) M. BOIE 2019-02-05 21:09:29
Switch to v0.13 7a5ed99fa6629ff9dbe16f6b015712a78854b621 Catalin(ux) M. BOIE 2019-02-05 21:08:06
Lots of changes e11f13f4d11723f0c2c833ffbaca89e55d74e139 Catalin(ux) M. BOIE 2019-01-16 20:18:06
Restart accept interrupted by signal d84134f3193fd2d4c5298eaded8ffade5d74d220 Catalin(ux) M. BOIE 2014-11-11 06:57:12
Bump version to 0.12 ea1c70a262b706cd45f1eb98b6aa9805de300647 Catalin(ux) M. BOIE 2014-10-14 03:14:29
Added support to change poll timeout d0e5782e1fb0da5db1291b3c518486d3ac8dec97 Catalin(ux) M. BOIE 2014-10-14 03:13:58
Fixed strcmp on a NULL variable 59df6d596e3c842227f4f374b4b6635de3ce1c3e Catalin(ux) M. BOIE 2014-10-14 03:12:29
Added support for deny and fake for Kevin d9598fd2ca7886484b78512d71dbd29059720832 Catalin(ux) M. BOIE 2012-07-18 21:13:20
Log also the version in the log file. d5576baff697e87dfbbbcbfb77df4b364cee15a2 Catalin(ux) M. BOIE 2011-08-25 18:55:40
SOCK_DCCP is not defined on CentOS. :( 303830a06b80962e417c01d88cae6d50e9182662 Catalin(ux) M. BOIE 2011-08-25 09:46:09
More fixes for spec file 06d8c98718977c91419ffd6cabdd3e6bb57b8043 Catalin(ux) M. BOIE 2011-08-24 20:29:10
Added example for config file. 20becba1955981d5c3642e802031c08c25c701cf Catalin(ux) M. BOIE 2011-08-24 20:26:19
Bump version to 0.10. 9659780e6f025d10441c354eefe79e327a660c09 Catalin(ux) M. BOIE 2011-08-24 20:20:26
Ignore more files in repo. c1121dc5f6644043314880361c24fc2172326c02 Catalin(ux) M. BOIE 2011-08-24 20:20:00
Commit 6d0d08fc192dc13d1a76b95c19a6bdd5679ea929 - Cosmetic
Author: Catalin(ux) M. BOIE
Author date (UTC): 2021-12-01 09:17
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2021-12-01 09:17
Parent(s): c7d7cb830b04385097c85363c4b14e0ae04d76db
Signing key:
Tree: 09316931ea1c110f466295f8d66d521f5a28ff74
File Lines added Lines deleted
README 4 2
TODO 1 0
File README changed (mode: 100644) (index fd5a739..d59bb4a)
... ... Description: Force binding on a specific IP and/or port.
10 10 It is useful if you have a binary application without sources It is useful if you have a binary application without sources
11 11 and without the possibility to configure address or port to and without the possibility to configure address or port to
12 12 bind to. bind to.
13 It also provides a custom /etc/hosts file.
13 14
14 15 License: GPLv3 License: GPLv3
15 16
16 How it works: force_bind is a shared object that is loaded with LD_PRELOAD and hooks 'bind' function.
17 Forcing an IP/port to bind to is done with environments variables.
17 How it works: force_bind is a shared object that is loaded with LD_PRELOAD
18 and hooks a lot of functions.
19 Forcing different behaviour is done with environments variables.
18 20
19 21 Examples: Examples:
20 22 0. Output debug stuff in a log file (for debugging): 0. Output debug stuff in a log file (for debugging):
File TODO changed (mode: 100644) (index b146d68..a05a0a3)
5 5 Take in consideration the WiFi Ap in use, ip address on an interface, Take in consideration the WiFi Ap in use, ip address on an interface,
6 6 time-of-the-day, application etc. time-of-the-day, application etc.
7 7 Partially done by specifying custom hosts file. Partially done by specifying custom hosts file.
8 Also, add regular expression!
8 9 [ ] Add a default X (mark, tos etc.) for all new sockets. [ ] Add a default X (mark, tos etc.) for all new sockets.
9 10 [ ] accept/accept4 seems to not be intercepted! [ ] accept/accept4 seems to not be intercepted!
10 11 [ ] Clarify deny/fake for bind. It is only ipv4/ipv6? [ ] Clarify deny/fake for bind. It is only ipv4/ipv6?
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/force_bind

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/force_bind

Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/force_bind

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main