Commit Graph

193 Commits

Author SHA1 Message Date
rofl0r
6f56956715 add test for getaddrinfo 2012-07-16 01:21:22 +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
fafeaf5936 remove unused file 2012-07-08 23:34:34 +02:00
rofl0r
fba5f5694c use config file lookup routine from a common place 2012-07-08 23:32:50 +02:00
rofl0r
1a02b9f82f update README 2012-07-08 21:44:02 +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
eb0db7221a configure: add --help text 2012-07-08 00:35:59 +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
Jahrome
229eb7cc5a bugfix: localnet never used if no port specified. Fix typo. 2012-05-22 23:11:03 +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
rofl0r
1000366f88 Makefile: create destination dirs in case they do not exist 2012-03-07 18:05:04 +01:00
rofl0r
598a41a671 Makefile: add support for DESTDIR 2012-03-07 18:02:37 +01:00
Jianing Yang
65471b750c bugfix: localnet conflicts with proxydns 2012-03-07 17:58:37 +01:00
rofl0r
03b49f529e fix bogus use of ! in configure 2012-01-30 18:35:03 +01:00
rofl0r
e99dd76941 complete sysconfdir support 2012-01-30 18:29:35 +01:00
rofl0r
0ee539f31c added support for --sysconfdir 2012-01-30 18:26:38 +01:00
rofl0r
f4e4c8c2b1 remove unnecessary sprintf call 2012-01-29 02:34:04 +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
rofl0r
070051bb73 use macros for mutex stuff 2012-01-27 21:30:42 +01:00
rofl0r
c36db11ebc complete mac support 2012-01-27 20:48:24 +01:00
rofl0r
6d25f5d89e allow dll suffix to be passed from ./configure 2012-01-27 20:30:44 +01:00
rofl0r
9c83402d37 detect MAC in configure 2012-01-27 20:21:06 +01:00
rofl0r
5b5cc604a6 remove dangerous uses of inet_ntoa 2012-01-27 20:00:22 +01:00
rofl0r
526fb8b410 pass dll_name to proxychains app, makes it easier to port to MAC 2012-01-27 19:31:01 +01:00
rofl0r
2acdcd9707 pass install prefix to proxychains app, to find /etc 2012-01-27 19:28:00 +01:00
rofl0r
3bb03892fa remove superfluous DEBUG checks 2012-01-27 19:14:17 +01:00
rofl0r
e32ef26fec ran indent tool on the source code
now everythings finally correctly indented and future patches
will not be overshadowed by whitespace noise.
used the following settings
--braces-on-func-def-line
--braces-on-struct-decl-line
--braces-on-if-line
--dont-break-procedure-type
--leave-preprocessor-space
--continue-at-parentheses
-linux
-i8
-brace-indent1
--case-indentation8
--space-after-cast
--line-length120
--no-space-after-for
--no-space-after-if
--no-space-after-while
--leave-optional-blank-lines
--ignore-profile
--space-special-semicolon
--indent-label8
2012-01-27 19:03:21 +01:00
rofl0r
80817dbf6f fix *all* trailing whitespace at once 2012-01-27 17:55:37 +01:00
rofl0r
73c4195ce3 remove magic number 2012-01-27 17:50:04 +01:00
rofl0r
cce902b301 eliminate dead code 2012-01-27 17:48:41 +01:00
rofl0r
b618a4ece3 updated TODO 2012-01-26 13:25:48 +01:00
rofl0r
4da71e1b44 make remote_dns_subnet a config option 2012-01-26 12:44:42 +01:00
rofl0r
75d41dea3d use the right tool for the job. getopt clearly isnt 2012-01-26 05:11:52 +01:00
Adam Hamsik
75bd465038 Fix localnet issue with fix suggested in #issue 4 on github. 2012-01-24 08:42:04 +01:00