Commit Graph

100 Commits

Author SHA1 Message Date
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
Adam Hamsik
4d40a4790f Merge pull request #15 from jianingy/master
bugfix: localnet conflicts with proxydns
2012-03-04 23:21:43 -08:00
Jianing Yang
b6746997d2 bugfix: localnet conflicts with proxydns (fixed bytes-order) 2012-03-03 14:30:14 +08:00
Jianing Yang
6dda28a2c8 bugfix: localnet conflicts with proxydns 2012-03-03 14:24:05 +08:00
Adam Hamsik
fb3d8e04a1 Change example config version to 4. 2012-03-02 12:57:05 +01:00
rofl0r
e99dd76941 complete sysconfdir support 2012-01-30 18:29:35 +01:00
rofl0r
f4e4c8c2b1 remove unnecessary sprintf call 2012-01-29 02:34:04 +01:00
Adam Hamsik
788ffd9d26 Use standard PROXYCHAINS_CONF_FILE instead of hardcoded config name. 2012-01-28 19:51:23 +01:00
Adam Hamsik
99dcfe085e Change proxychains script to add different ways of usage.
To run a command from shell use
proxychains -f {config_file} {command}

To turn proxychains on for all processes inside your shell use
. proxychains on
. proxychains off
2012-01-28 19:47:56 +01:00
rofl0r
dbb172b510 use PROXYCHAINS_CONF_FILE consistently 2012-01-28 18:34:40 +01:00
rofl0r
48373ab7a5 fix forgotten etc 2012-01-28 18:33:40 +01:00