proxychains-ng/src
rofl0r 7fe8139496 experimental new feature: proxy_dns_daemon
since many users complain about issues with modern, ultracomplex
clusterfuck software such as chromium, nodejs, etc, i've reconsidered
one of my original ideas how to implement remote dns lookup support.
instead of having a background thread serving requests via a pipe,
the user manually starts a background daemon process before running
proxychains, and the two processes then communicate via UDP.
this requires much less hacks (like hooking of close() to prevent
pipes from getting closed) and doesn't need to call any async-signal
unsafe code like malloc(). this means it should be much more compatible
than the previous method, however it's not as practical and slightly
slower.

it's recommended that the proxychains4-daemon runs on localhost, and
if you use proxychains-ng a lot you might want to set ip up as a service
that starts on boot. a single proxychains4-daemon should theoretically
be able to serve many parallel proxychains4 instances, but this has not
yet been tested so far. it's also possible to run the daemon on other
computers, even over internet, but currently there is no error-checking/
timeout code at all; that means the UDP connection needs to be very
stable.

the library code used for the daemon sources are from my projects
libulz[0] and htab[1], and the server code is loosely based on
microsocks[2]. their licenses are all compatible with the GPL.
if not otherwise mentioned, they're released for this purpose under
the standard proxychains-ng license (see COPYING).

[0]: https://github.com/rofl0r/libulz
[1]: https://github.com/rofl0r/htab
[2]: https://github.com/rofl0r/microsocks
2020-09-23 22:14:39 +01:00
..
daemon experimental new feature: proxy_dns_daemon 2020-09-23 22:14:39 +01:00
allocator_thread.c get rid of ip_type.c 2020-09-23 17:00:16 +01:00
allocator_thread.h experimental new feature: proxy_dns_daemon 2020-09-23 22:14:39 +01:00
common.c Add Haiku support (#340) 2020-08-17 09:31:04 +01:00
common.h Add DUMP_PROXY_CHAIN for debug builds and debug.c. 2013-06-25 12:56:41 +02:00
core.c experimental new feature: proxy_dns_daemon 2020-09-23 22:14:39 +01:00
core.h add support for "proxy_dns_old" to use old 3.1 DNS lookup method 2020-09-20 22:11:17 +01:00
debug.c debug: fix DUMP_PROXY_CHAIN() hack 2020-09-20 17:00:10 +01:00
debug.h debug: fix DUMP_PROXY_CHAIN() hack 2020-09-20 17:00:10 +01:00
hash.c replace hostent lookup with better performing in-memory copy. 2012-11-08 01:18:19 +01:00
hash.h replace hostent lookup with better performing in-memory copy. 2012-11-08 01:18:19 +01:00
hostsreader.c get rid of ip_type.c 2020-09-23 17:00:16 +01:00
ip_type.h get rid of ip_type.c 2020-09-23 17:00:16 +01:00
libproxychains.c experimental new feature: proxy_dns_daemon 2020-09-23 22:14:39 +01:00
main.c fix build on FreeBSD due to usage of Dl_info 2020-09-05 14:36:05 +01:00
mutex.h preliminary first fork-safe version 2012-11-07 21:31:11 +01:00
nameinfo.c fix the never-ending issues with the wrong glibc prototype of getnameinfo 2012-12-17 22:17:04 +01:00
proxychains.conf experimental new feature: proxy_dns_daemon 2020-09-23 22:14:39 +01:00
proxyresolv add support for "proxy_dns_old" to use old 3.1 DNS lookup method 2020-09-20 22:11:17 +01:00
rdns.c experimental new feature: proxy_dns_daemon 2020-09-23 22:14:39 +01:00
rdns.h experimental new feature: proxy_dns_daemon 2020-09-23 22:14:39 +01:00
remotedns.h experimental new feature: proxy_dns_daemon 2020-09-23 22:14:39 +01:00
version.c print proxychains version on DLL init 2014-07-22 14:10:11 +02:00