proxychains-ng/src
rofl0r 596f0028cb proxychains.conf: fix localnet documentation
localnet with hostnames/DNS is not compatible with remote dns - if remote dns
is activated we get an ip from the remote dns resolver in the connect() call,
so we don't know whether the destination would match any localnet - except
from the ANY localnet 0.0.0.0 - in which case we would need to do a real DNS
lookup with the remote DNS ip involving both the rdns resolver to get the
original hostname back and then call the native DNS resolver function - for
which there is only getaddrinfo() when we don't want to support the 5
different gethostbyname_r() variants in existence, or using getaddrinfo(),
which in turn requires memory allocation/free() - in other words a huge mess.
we also can't easily check in the resolver whether an ANY-destination localnet
is enabled and the port matches, because the resolver might only resolve the
hostname at this stage, but not the destination port.

addressing #358
2021-01-08 17:36:05 +00: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 move isnumericipv4() to common.c 2020-10-28 10:39:27 +00:00
common.h move isnumericipv4() to common.c 2020-10-28 10:39:27 +00:00
core.c support 'raw' proxy type (#348) 2020-12-12 08:25:36 +00:00
core.h support 'raw' proxy type (#348) 2020-12-12 08:25:36 +00: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 move isnumericipv4() to common.c 2020-10-28 10:39:27 +00:00
ip_type.h get rid of ip_type.c 2020-09-23 17:00:16 +01:00
libproxychains.c support 'raw' proxy type (#348) 2020-12-12 08:25:36 +00: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 proxychains.conf: fix localnet documentation 2021-01-08 17:36:05 +00: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