Alex Flores
fbfdd995db
Merge pull request #73 from audibleblink/master
...
patch for random proxy selection
2018-04-12 21:55:02 -04:00
Alex Flores
bd207014a2
patch for better random proxy selection
2018-04-12 21:35:23 -04:00
Julian Andres Klode
e8e0b93b37
Fix compilation error in get_config_path()
...
When inlining check_path(), gcc sees after the first snprintf()
call that pbuf might be null, and subsequently generates a warning
for the next snprintf() call. Since the code (erroneously) builds
with -Werror, this causes it to fail.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83139
2017-11-24 11:10:28 +01:00
ZhiFeng Hu
fdbce6cf24
Using OpenDNS and Drill (ldns-utils)
2014-11-28 13:45:02 +08:00
mingang.he
a1ff3e0426
fix #43
...
"-t" should be "-f"
2014-06-30 20:18:14 +08:00
Adam Hamsik
f52a3001e1
Merge tomsawyer changes while, Makefile changes were fixed in my previous commit.
...
Merge branch 'main_fixes' of git://github.com/tomsawyer/proxychains into tomsawyer-main_fixes
Conflicts:
Makefile
2012-10-15 11:27:51 +02:00
Benjamin R. Haskell
d3516a1c28
Add simple SOCKS5 proxy mode
...
If the environment variable PROXYCHAINS_SOCKS5 is set to a port number,
the configuration will be a single chain with a SOCKS5 proxy on
localhost:{that port}.
Additionally, setting the PROXYCHAINS_DNS environment variable (to any
value at all) will cause DNS queries to be proxied.
2012-10-12 15:39:03 -04:00
Semion Laptev
7aa95f9304
gethostbyname() and Makefile fixes
2012-10-10 19:19:12 +04:00
Adam Hamsik
4678bae604
Fix wrong glibc prototype.
2012-10-10 03:27:25 -07:00
Xie Zhenye
d69f46afc5
Update src/proxyresolv
...
resolve hostname by local /etc/hosts file first
2012-09-22 22:17:53 +08:00
Adam Hamsik
1c020ced1e
Port Proxychains to NetBSD.
2012-08-09 22:36:29 +00:00
Adam Hamsik
361889a2d2
Add option to do a development build with --devel configure flag. Rename proxy_getserverbyname to proxy_getservbyname.
2012-08-05 15:07:37 +02:00
Adam Hamsik
cca0cea44a
Fix couple of problems introduced/detected by clang checker and new -fno-common compiler flag.
2012-07-29 12:09:11 +02:00
Adam Hamsik
462e34f447
Add more strict warnings, make proxychains build with -Wconversion
2012-07-25 02:39:30 +02:00
Adam Hamsik
5b7270d75b
Add new thread-safe getsrvbyname for MacOS X
2012-07-24 14:37:20 +02:00
Adam Hamsik
e6b5f245f7
Merge branch 'rofl0r-master'
...
Conflicts:
Makefile
proxychains.lsm
src/core.h
src/libproxychains.c
src/main.c
2012-07-24 14:02:18 +02:00
Adam Hamsik
8547764a82
Merge branch 'master' of https://github.com/rofl0r/proxychains into rofl0r-master
...
Conflicts:
Makefile
src/core.c
src/core.h
src/libproxychains.c
src/main.c
2012-07-24 11:49:22 +02:00
rofl0r
40bb78b53f
fix omission in common.c
2012-07-16 02:42:09 +02:00
rofl0r
80e58726e2
correct copyright of main.c
2012-07-16 02:36:35 +02:00
rofl0r
ab3ca31871
getaddrinfo: cosmetics
2012-07-16 01:34:00 +02:00
rofl0r
037edbcb8e
proxy_getaddrinfo: fix segfault when hints is NULL
2012-07-16 01:19:30 +02:00
rofl0r
40edf758ee
make getaddrinfo threadsafe
2012-07-16 01:05:28 +02:00
rofl0r
4b999cdae7
use threadsafe getservbyname_r
2012-07-14 17:59:56 +02:00
rofl0r
71e15e2edd
simplify log func
2012-07-14 17:59:06 +02:00
rofl0r
e5e87c8f22
put abort functionality into get_config_path to further reduce code duplication
2012-07-08 23:47:56 +02:00
rofl0r
fba5f5694c
use config file lookup routine from a common place
2012-07-08 23:32:50 +02:00
rofl0r
3004240462
slightly better error message
2012-07-08 21:23:39 +02:00
rofl0r
364c785970
print everything to stderr, and fflush on PDEBUG
2012-07-08 04:18:42 +02:00
rofl0r
1fc7e38ee0
fixup for d95ef42d48
2012-07-08 04:09:50 +02:00
rofl0r
2c9c4d9da7
simplify load_sym code and remove potential aliasing violation.
2012-07-08 00:27:46 +02:00
rofl0r
d95ef42d48
externalize some variables, which are used from both C files
2012-07-08 00:16:00 +02:00
Adam Hamsik
c1f0c68abd
Extract configuration file opening to separate routine.
2012-06-22 21:58:57 +02:00
Adam Hamsik
877e1844ea
Remove trailing white space.
2012-06-22 21:57:50 +02:00
Adam Hamsik
5294214150
Fix merge error.
2012-06-18 15:46:22 +02:00
Adam Hamsik
2320f6608a
Merge rofl0r changes to main stream.
2012-06-16 12:10:41 +02:00
Michel Oosterhof
251fd7cd4a
Only enable loopback localnet by default, not private address range.
2012-06-16 12:04:28 +02:00
Michel Oosterhof
b0d9d1da41
Enable localnet by default for loopback and private address ranges.
2012-06-16 12:04:23 +02:00
Michel Oosterhof
a7831a8f53
Typo fix.
2012-06-16 12:02:51 +02:00
Jahrome
229eb7cc5a
bugfix: localnet never used if no port specified. Fix typo.
2012-05-22 23:11:03 +02:00
Jahrome
63c3a4b0d2
bugfix: localnet never used if no port specified. Fix typo.
2012-05-22 14:25:53 +02:00
rofl0r
45f50ac754
cosmetic fix
2012-04-24 02:04:02 +02:00
rofl0r
d72e668767
use sane defaults
2012-04-24 01:48:17 +02:00
rofl0r
561679fbcd
remove dead code
2012-04-24 01:46:57 +02:00
rofl0r
bc23ef8f46
fix debug message
2012-04-23 22:56:44 +02:00
rofl0r
88a54e872a
use dynloader to call init() func when gcc is available, and lock it properly
2012-04-23 22:21:40 +02:00
rofl0r
caed782652
macros
2012-04-23 22:21:40 +02:00
rofl0r
f55c6bc4d5
fix PDEBUG macro
2012-04-23 22:21:40 +02:00
rofl0r
49293b180d
some cleanup in core.h
2012-04-23 20:26:13 +02:00
rofl0r
3260ee812a
debloat init_lib()
2012-04-23 19:51:14 +02:00
Jianing Yang
65471b750c
bugfix: localnet conflicts with proxydns
2012-03-07 17:58:37 +01:00