Commit Graph

73 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
Thomas von Dein
332769d700 fixtypo 2017-04-12 20:57:12 +02:00
Thomas von Dein
89cbfd4b1b bump-version 2017-04-12 20:50:54 +02:00
T.v.Dein
433f89851d Merge pull request #5 from ValdikSS/fixmemleak
Fix memory leak for verbose messages
2017-04-12 20:49:37 +02:00
T.v.Dein
3573e2f5c6 Merge pull request #4 from ValdikSS/bufferoverflows
Fix buffer overflows in argument parser
2017-04-12 20:49:27 +02:00
T.v.Dein
0fd7aea843 Merge pull request #3 from ValdikSS/verbose
Close stdin, stdout and stderr only if demonizing. Fixes verbose mode.
2017-04-12 20:49:17 +02:00
T.v.Dein
1659b90013 Merge pull request #2 from ValdikSS/master
Check for dstip before using it. Fixes #1.
2017-04-12 20:49:06 +02:00
ValdikSS
d5ffe647de Fix memory leak for verbose messages 2017-04-12 21:25:00 +03:00
ValdikSS
9af1b201f6 Fix buffer overflows in argument parser 2017-04-12 20:50:36 +03:00
ValdikSS
b2de5bdb02 Close stdin, stdout and stderr only if demonizing. Fixes verbose mode. 2017-04-12 19:58:47 +03:00
ValdikSS
b244ff9313 Check for dstip before using it. Fixes #1. 2017-04-12 19:31:15 +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
e997a205a8 ipv6 has been disabled by travis-ci 2016-09-22 23:11:02 +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
scip
0e7cf84fc3 using bg again 2015-04-27 19:55:06 +02:00
git@daemon.de
6fb53b924a fixed chroot param2 2015-04-27 19:37:01 +02:00
git@daemon.de
ab10ffead8 fixed chroot param 2015-04-27 19:21:35 +02:00
git@daemon.de
39dfdfd79e missed select header 2015-04-27 19:10:00 +02:00
git@daemon.de
316185afec fixed test call 2015-04-27 19:09:13 +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
3806e122f0 typo 2015-04-26 20:26:59 +02:00
git@daemon.de
26ee4e4f30 Merge branch 'master' of github.com:TLINDEN/udpxd 2015-04-26 19:14:47 +02:00
git@daemon.de
4409c5da26 set session timeout to 30 2015-04-26 19:14:18 +02:00
TLINDEN
7468a692ad restart 2015-04-26 18:03:33 +02:00
TLINDEN
4bab0bb99b removed pkill, doesnt work 2015-04-26 17:48:47 +02:00
TLINDEN
69b3af01b5 forgot procps 2015-04-26 17:42:16 +02:00
TLINDEN
221f33668b clean up after testing 2015-04-26 17:33:24 +02:00
TLINDEN
ab845a35e2 why, 6 2015-04-26 17:08:36 +02:00
TLINDEN
2e231d51d2 why, 5 2015-04-26 17:01:25 +02:00
TLINDEN
01447f7249 why, 5 2015-04-26 17:01:00 +02:00
TLINDEN
82224d4c7b why, doch, but cygwin 2015-04-26 16:50:51 +02:00
TLINDEN
11e8e2fa2b why, no bind? 2015-04-26 16:42:55 +02:00
TLINDEN
6ea52ffeb4 why, 4 2015-04-26 16:34:10 +02:00
TLINDEN
0bade3bf68 why, 3 2015-04-26 16:27:14 +02:00
TLINDEN
2aaf69d278 added appveyor badge 2015-04-26 15:58:20 +02:00
TLINDEN
faf9152861 why, 2 2015-04-26 15:55:53 +02:00
TLINDEN
85552369ce why 2015-04-26 15:33:43 +02:00
TLINDEN
2485144bbd trying tests, try 4 2015-04-26 15:26:04 +02:00
TLINDEN
65638bdbcf trying tests, try 3 2015-04-26 15:19:23 +02:00
TLINDEN
d45d48d955 trying tests, fix ports 2015-04-26 15:12:02 +02:00
TLINDEN
ef9304b667 trying tests 2015-04-26 15:06:05 +02:00
TLINDEN
2a1af5ca35 checking networking on win, 2 2015-04-26 14:53:30 +02:00
TLINDEN
29e7a9829c checking networking on win 2015-04-26 14:42:07 +02:00
TLINDEN
cbada39fd3 fix fprintf error 2015-04-26 14:34:27 +02:00
TLINDEN
ca1f4b8709 trying cygwin test 2015-04-26 14:27:41 +02:00
git@daemon.de
2e7e602f75 fixed dig cmdline, :.1 => ::1 2015-04-26 13:59:35 +02:00
git@daemon.de
a9255a87be debug v6 test, 3, forgot the & 2015-04-26 13:56:58 +02:00