Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rofl0r/proxychains-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-04properly handle non-blocking mode of socketnonblockrofl0r
addressing #171
2017-02-23allocator_thread.c: handle EINTR case when reading/writing pipe dataEINTRrofl0r
addressing #163
2016-12-24release 4.12v4.12rofl0r
the xmas release.
2016-12-24Revert "Makefile: suppress pedantic warnings in user CFLAGS"rofl0r
This reverts commit 6ae959e051e02e84b01e4dcecac5fbc9d9663762. It appears as if -pedantic is special in that there is no option to disable it.
2016-12-24configure: use quotes for echo callsrofl0r
2016-12-24Fix configure so the right CC gets picked upJatin Rungta
unlike one would expect, setting `CC?=gcc -m32` in config.mak did not actually lead to `gcc -m32` being used as compiler when running make, even though CC was not declared anywhere else. it appears as if the CC variable is implicitly defined by GNU make, so using the ?= assignment (meaning "assign only if not already assigned") did not have an effect. when this configure script and Makefile here were written, they were modeled after the interface provided by GNU autoconf (so there are no surprises for the user). the assumption was that environment variables passed during configure are usually stored and used for the compile, but can be overridden when running make by exporting the variables again. in reality though they can not be overridden by environment when running make, as tests showed. because of that, the other user-supplied variables will now be hard-assigned as well. closes #152 commit message by @rofl0r.
2016-12-21check snprintf return value for errorrofl0r
2016-12-13Makefile: suppress pedantic warnings in user CFLAGSrofl0r
2016-12-13Avoid using %n$ operand number formats to compile cleanly with ISO C.Carlos Maddela
2016-12-13Prevent empty translation units to satisfy ISO C compilers.Carlos Maddela
2016-12-13Fix format ‘%p’ expects argument of type ‘void *’ warning.Carlos Maddela
2016-12-13Fix format specifier for unsigned int.Carlos Maddela
2016-12-05Fix grammar in usage message to keep Lintian happy.Carlos Maddela
2016-12-05Fix spelling in log message: doesnt -> doesn'tCarlos Maddela
2016-10-16core.c: add HOST header to each CONNECT requestforkbomber
fixes #92 closes #93
2016-10-16configure: make buildsystem-set CPPFLAGS non-overridableOUR_CPPFLAGSrofl0r
we temporarily store all buildsystem-set conditionals into OUR_CPPFLAGS and write it into config.mak as an addition to eventually user-supplied CPPFLAGS. this should prevent crucial things we set from being overwritten by a user that has CPPFLAGS exported. fixes #142
2016-10-15Fix random_chain on Mac OS XJay Taylor
On Mac OS X, random chain was broken and returned always the last proxy from the config file. Use fix as suggested by @ravomavain. Closes #75.
2016-10-08configure: do not use mktemprofl0r
apparently mktemp on OSX 10.9.5 requires a parameter. instead of playing whack-a-mole with apple we now use the portable code from musl's configure script which should work everywhere. adresses #142
2016-06-23print error message instead of segfaulting for invalid chain_lenrofl0r
closes #126
2016-06-09Fix build failure with -pie in user LDFLAGSCarlos Maddela
When hardening flags are set by Debian's auto build system, the project fails to build due to usage of -pie, which tells the linker to build a PIE binary, and since the user LDFLAGS are deliberately put later in the command line to override things, this overrides -shared. work around by putting it directly in the last position of the linker command line. closes #124 Commit message authored by commiter.
2016-06-09Fix trivial compilation warningCarlos Maddela
Fix "missing braces around initializer" warning.
2016-05-26don't call dlsym() from close() hookrofl0r
it turned out that calling dlsym() may call malloc() in turn, so we end up with the same deadlock described in the latest commit. we thus now put all the fds passed to close pre-init into a list and close them at init time. this may finally fix #119.
2016-05-26don't call INIT() from close hookrofl0r
it was observed that it is a bad idea to initialize the entire infrastructure used by proxychains from the close hook, because the following scenario will lead to a deadlock: - it is possible that the dynlinker executes the initializer code of other shared libs first - if that code directly or indirectly calls malloc() - which calls close() if it decided to use an mmap based allocation - will now call our close(), which does - call pthread_once which requires a lock - creates a thread which calls malloc() - which in turn calls our close() another time - and our close is still in locked state. so it seems the only save thing to do is to just get the address of the original close function, and call that when we're in a pre-init state. this may hold for other functions that do lazy initialization as well, however for those just calling the original function is probably undesired since that could result in unproxified connections. it will be needed to analyze on a per-function basis what the best thing to do is, and finally rely only on the execution of the init function from the gcc initializer. should fix #119
2016-02-09release 4.11v4.11rofl0r
2016-02-09README: add 'Known Problems' sectionrofl0r
2016-02-04configure: whitespace cleanup in help textrofl0r
2016-02-04add check for broken OpenBSD fclose()rofl0r
http://marc.info/?l=openbsd-bugs&m=145280872431093&w=2 closes #95
2016-02-04improve hostsreader test coderofl0r
2016-02-04Fix bug in hostsreaderAlexander Batischev
hostsreader_get() used to assign the IP address to both `name` and `ip` fields in `struct hostsreader`, which led to proxychains effectively ignoring the contents of /etc/hosts.
2015-12-06getnameinfo: support ipv6 as wellrofl0r
2015-12-06test_getnameinfo: improve, check ipv6rofl0r
2015-12-06mute warning in debug moderofl0r
2015-12-02factor out setup_hooks()rofl0r
2015-12-01debug.c: fix for ipv6 changesrofl0r
closes #94
2015-10-01configure: check for availability of s6_addr16rofl0r
this should fix the build of the recently added ipv6 code on MacOS X, OpenBSD and eventually FreeBSD. closes #83 closes #85 thanks to @cam13 and @vonnyfly for reporting/testing.
2015-09-19README: fix omission and whitespacerofl0r
2015-09-16remove obsolete config.mak examplerofl0r
config.mak is autogenerated by the configure script since a long time. there's no need to supply the example anymore, and it appears a lot of people are looking into the directory expecting to find a binary distribution.
2015-09-15connect(): handle ipv4-mapped ipv6 addressesrofl0r
if an ipv4-mapped ipv6 address is detected, the ip is converted into v4 format because it may actually be one of our remote dns ips. it was reported that a program called "maven", when getting handed our fake ips in the remote dns subnet, converts the ip to v6 prior to calling connect(): [proxychains] Strict chain ... 127.0.0.1:1080 ... ::ffff:224.0.0.1:443 <--socket error or timeout! fixes #77
2015-09-15add testcase for ipv4-mapped ipv6 addressrofl0r
2015-08-10preliminary ipv6 supportrofl0r
only basic testing was done (with 2 socks5 proxies listening on ::1) but seems to work as intended. ipv6 support for the hostsreader (/etc/hosts) is not implemented so far.
2015-06-14fix socks5 bug: always requested user auth caprofl0r
since "user" always points to a statically allocated string buffer, the test for if(user)... was bogus. use ulen instead. this bug should only be visible on socks servers that require auth if username was not passed, so it was probably not really an issue.
2015-06-14put INIT() call consistently at beginning of hooked funcsrofl0r
2015-06-14clean up some debug ifdefsrofl0r
2015-06-14remove commented-out code [2]rofl0r
2015-06-14remove commented-out coderofl0r
2015-06-13whitespace fixes for proxytype switch blockrofl0r
2015-06-13replace string manip. in HTTP setup code with single snprintfrofl0r
2015-06-13simplify socks5 buffer setup coderofl0r
2015-06-13simplify start_chain struct setuprofl0r
2015-06-09release 4.10v4.10rofl0r