Commit Graph

13 Commits

Author SHA1 Message Date
ValdikSS
b750cefb00 Implement promiscuous (dumb) mode by binding port on outgoing socket
This mode is useful for services which cannot handle multiple clients.
Also useful for NAT traversal.

All outgoing packets would be transmitted from a single "client" (UDP port).
Moreover, only one (latest) proxy client receives the reply.
2017-04-13 01:02:07 +03:00
ValdikSS
1f8f9b591b Check for socket exhaustion and fix memory leak 2017-04-12 23:35:40 +03:00
ValdikSS
b2de5bdb02 Close stdin, stdout and stderr only if demonizing. Fixes verbose mode. 2017-04-12 19:58:47 +03:00
Thomas von Dein
83a04ad79d added commentary to the longjmp() stuff, so I understand it later, what it does 2017-04-04 22:29:47 +02:00
TLINDEN
019c055e56 tab => spc, year++ 2016-09-22 21:37:30 +02:00
Thomas von Dein
479f954986 no chroot in foreground 2015-04-27 20:13:38 +02:00
git@daemon.de
e8d40a7dc5 changed -d to -t; -d is now for daemonizing, removed -f; drop privileges if run as root and in daemon mode and chroot 2015-04-27 14:04:57 +02:00
git@daemon.de
b34aab38b6 removed unused/redundant code 2015-04-26 20:27:56 +02:00
git@daemon.de
aa4e941e53 ipv6 works now as well, added fork, added syslog 2015-04-26 13:26:37 +02:00
TLINDEN
7816f75170 v4 works again 2015-04-25 20:14:24 +02:00
git@daemon.de
e56848c4d1 forgot 2015-04-24 22:03:50 +02:00
git@daemon.de
6829eeecf4 -O2 broke udpxd, for some unknown reasons, revert back 2015-04-22 10:38:44 +02:00
TLINDEN
544bb68bd0 initial commit 2015-04-21 20:09:12 +02:00