Leonid Evdokimov
9a0809c439
Bump year in Copyright
mark, ouch that is ancient soft!
2018-01-26 23:57:43 +03:00
Leonid Evdokimov
78a73fca15
Emit better errors from config file parser
2016-09-07 13:59:58 +03:00
Leonid Evdokimov
a1be0807ef
Implement redsocks_conn_max
option, simplify accept-backoff
...
Sophisticated accept-backoff is not required, it's ONLY purpose is to
protect against busy-loop when `redsocks_conn_max` does not match
RLIMIT_NOFILE.
2016-04-14 22:53:50 +03:00
Leonid Evdokimov
7963de73d4
Add on_proxy_fail
to inform user's browser about sort of failure
...
Use the feature with care, enable it only for HTTP port to avoid
confusion, no client protocol detection is done at the moment.
2016-04-13 02:30:08 +03:00
Leonid Evdokimov
4521797847
Add disclose_src
option to tell client src IP to http-connect proxy
2016-04-05 02:42:34 +03:00
Leonid Evdokimov
d2165a4ff0
Replace libevent macroses with functions
2016-03-18 00:41:04 +03:00
Leonid Evdokimov
62cb189c1b
Emit better errors from config file parser
2016-03-17 18:48:37 +03:00
Leonid Evdokimov
14ff78dfe7
Replace inconsistent rand()/random() with call to libevent2 rng
2016-03-09 01:12:38 +03:00
Leonid Evdokimov
24a5384e29
Emit better errors from config file parser
2016-03-09 01:12:38 +03:00
Leonid Evdokimov
b322e4a8dd
Fix crash in config file parser caused by unknown option key
2016-03-09 01:12:36 +03:00
Leonid Evdokimov
290f19972e
Fix bug in DNS resolution - results were ignored (since 8179a1ff
).
2012-04-10 00:57:26 +04:00
Leonid Evdokimov
8179a1ff7d
Query DNS during configuration parsing.
2012-01-03 21:50:06 +04:00
Leonid Evdokimov
79e22a67fa
Change license to Apache 2.0 to ensure compatibility with android stack.
2011-04-20 20:17:09 +03:00
Przemyslaw Pawelczyk
39b2639bdb
Fix logic error bugs.
...
scan-build result for socks5.c:256:
Function call argument is an uninitialized value
nextstate can be undefined reply's addrtype field has unexpected value.
Fix by adding else case before to report error, drop client and return
from socks5_read_reply() function.
scan-build result for main.c:144, parser.c:193:
Result of operation is garbage or undefined
If there is early error in main() in second FOREACH block, then
terminators array is not itialized before access in shutdown path.
Fix by moving memset() to precede this block.
gettoken() does not initialize copytype enum value, so can have a
garbage value at some point. Add else case to the chain of **iter tests
to report error and return from the function.
2011-01-27 23:05:45 +01:00
Leonid Evdokimov
77a490422b
Added GPLv3 copyright notice to every source file.
2008-12-13 15:40:52 +06:00
Leonid Evdokimov
66d9d1cf83
Whitespace fixes.
2008-07-13 21:36:51 +07:00
Leonid Evdokimov
fab9a383d7
Added parsing "bool" values to config parser.
2008-02-09 23:27:23 +06:00
Leonid Evdokimov
ceba0e643c
Fixed quoted string parsing.
2008-02-09 23:23:54 +06:00
darkk
20d7930ecf
Initial revision.
...
git-svn-id: file:///home/darkk/svnroot/redsocks@1 f324f89c-ff31-0410-8eac-c7e7ec545cec
2007-06-03 12:30:38 +00:00