0
0
mirror of https://github.com/darkk/redsocks.git synced 2025-08-26 03:35:30 +00:00
Commit Graph

167 Commits

Author SHA1 Message Date
Bin Jin
1b07ca821c handle http-relay client request in an evented way 2010-11-23 01:43:00 +08:00
Bin Jin
383455512c add support for http POST connection 2010-11-23 00:31:14 +08:00
Bin Jin
abb26a1505 fix issue: segment fault on ARM platform 2010-11-21 22:33:27 +08:00
Bin Jin
ff134afb2f fix issue: can't handle hostname in request headers properly 2010-11-19 08:17:01 +08:00
Bin Jin
ed8d184147 add proxy auth support for http-relay, also working but buggy 2010-11-19 07:51:27 +08:00
Bin Jin
54c91ad6c2 remove time limit between consective attempts 2010-11-19 01:03:20 +08:00
Bin Jin
1a3d2f7df2 fix the fatal issue in lastest commit 2010-11-19 00:52:41 +08:00
Bin Jin
b8a5598b17 use strcasecmp() instead, fix issue on staled auth 2010-11-19 00:47:39 +08:00
Bin Jin
8a545ad1da fix issue: failed when no password provided after an auth challenge 2010-11-18 23:59:42 +08:00
Bin Jin
5581843c3b minor fix 2010-11-18 23:29:54 +08:00
Bin Jin
c12924022a add proxy auth for http-connect, working but buggy 2010-11-18 22:57:20 +08:00
Bin Jin
c83e3b5fb2 minor fixes 2010-11-14 22:35:22 +08:00
Bin Jin
35a8f066ec implement http-auth for basic and digest scheme 2010-11-14 22:28:48 +08:00
Bin Jin
3655d75040 add base64 and md5 library for http auth 2010-11-14 14:34:08 +08:00
Bin Jin
7273c3a261 added .depend to .gitignore 2010-11-11 16:39:44 +08:00
Bin Jin
6e76f8dd72 add http auth RFC doc 2010-11-11 16:35:46 +08:00
Leonid Evdokimov
a37aa7a0e6 Added logging to file.
Thanks to Przemyslaw Pawelczyk <przemoc@gmail.com>
2009-05-21 11:48:22 +07:00
Leonid Evdokimov
b7cd855347 Fixed compilation with glibc-2.8.
Thanks to Vsevolod Velichko <torkvemada@nigma.ru>
2009-05-21 11:37:09 +07:00
Leonid Evdokimov
d8dfde947f Fixed format string bug. 2009-05-21 11:28:54 +07:00
Leonid Evdokimov
77a490422b Added GPLv3 copyright notice to every source file. 2008-12-13 15:40:52 +06:00
Leonid Evdokimov
7cc7145802 Added link to transocks_ev. 2008-12-13 15:39:00 +06:00
Leonid Evdokimov
a1f4ccddd0 Added README and better configuration example. 2008-08-19 03:27:14 +07:00
Leonid Evdokimov
ed80ac7d70 Fix compiler warning: time() was undefined. 2008-08-19 02:21:14 +07:00
Leonid Evdokimov
60ccc646e0 Write daemon shutdown event to log. 2008-08-18 23:08:45 +07:00
Leonid Evdokimov
4d886f5109 Graceful exit on SIGINT and SIGTERM. 2008-08-18 18:54:17 +07:00
Leonid Evdokimov
7c714b750f Added ability to create many redsocks config sections to have many redirectors. 2008-08-18 17:46:27 +07:00
Leonid Evdokimov
40fda9b6b7 Fixed minor memory leaks during fatal failure. 2008-08-18 17:34:18 +07:00
Leonid Evdokimov
0a1bcb5bb9 Enable SO_KEEPALIVE for client and relay sockets. 2008-08-14 03:49:42 +07:00
Leonid Evdokimov
1814548b1d More debug logging: active event-mask is logged too. 2008-07-16 15:12:01 +07:00
Leonid Evdokimov
66d9d1cf83 Whitespace fixes. 2008-07-13 21:36:51 +07:00
Leonid Evdokimov
10f87b1d4e Added comments. 2008-07-13 04:24:20 +07:00
Leonid Evdokimov
23a62f69c8 debug util: dumping list of connections on SIGUSR1. 2008-07-13 04:22:52 +07:00
Leonid Evdokimov
c4c35981fd Added command-line opts: "-t" to test config, and "-c /config/path". 2008-02-10 01:02:15 +06:00
Leonid Evdokimov
36dc692ab3 s/return 0/return EXIT_SUCCESS/, s/return 1/return EXIT_FAILURE/. 2008-02-10 00:59:00 +06:00
Leonid Evdokimov
8456d20883 Added logging priorities.
LOG_DEBUG - connection progress
LOG_INFO - all connections
LOG_NOTICE - network problems & startup banner
LOG_WARNING - unexpected behaviour, lack of client-related resources
LOG_ERR - startup errors & lack of memory
2008-02-10 00:57:22 +06:00
Leonid Evdokimov
2a587639cb Added basic syslog support (everything is LOG_INFO) and console detaching. 2008-02-09 23:38:09 +06: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
Leonid Evdokimov
72a8d52466 Fixed typo: local_ip is in_addr, not tcp port. 2008-02-05 20:49:01 +06:00
Leonid Evdokimov
7d4e3714d0 Ignore SIGPIPE. 2008-02-05 12:34:39 +06:00
Leonid Evdokimov
08030a7fcf Better socket errors logging. 2008-02-05 12:22:39 +06:00
Leonid Evdokimov
48ff78adf9 Client is not dropped until both parts of duplex connection are shut down. 2008-02-02 15:12:52 +06:00
Leonid Evdokimov
4930205c3d Added timestamp to log messages. 2008-02-02 15:10:30 +06:00
Leonid Evdokimov
cf78b8c53b Unsigned variable is always >= 0. 2008-02-02 14:52:30 +06:00
Leonid Evdokimov
5dda936cf9 Better logging. 2008-02-02 04:18:04 +06:00
Leonid Evdokimov
42a5cede3a Fixed handling EOF from client while connection is ongoing. 2008-02-02 02:00:15 +06:00
darkk
ad1adcb997 Added http-relay example. 2008-02-02 00:35:20 +06:00
darkk
93b0787a05 Disable daemon() while we have no proper logging support. 2008-02-02 00:35:06 +06:00
darkk
477b8f5b7d Added http-relay subsystem to add transparent-proxy support to any http proxy. 2008-02-02 00:34:53 +06:00
darkk
bd455a6cba Added relay_subsys.fini() callback 2008-02-02 00:32:53 +06:00