0
0
mirror of https://github.com/darkk/redsocks.git synced 2025-08-28 20:55:30 +00:00
Commit Graph

58 Commits

Author SHA1 Message Date
Leonid Evdokimov
94c96a60ef Cleanup client session logging. 2010-12-02 23:16:23 +02:00
Leonid Evdokimov
197d37c382 Another minor cleanup. 2010-11-29 00:50:19 +02:00
Leonid Evdokimov
45cab3de31 This cleanup commit introduces ex-plain function! 2010-11-29 00:09:48 +02:00
Leonid Evdokimov
9c8f21a986 Further cleanup. 2010-11-28 23:15:56 +02:00
Leonid Evdokimov
6e574a2021 Another source code cleanup. 2010-11-27 23:30:58 +02:00
Leonid Evdokimov
8ad8d7eb41 More source code cleanup. 2010-11-27 23:20:46 +02:00
Leonid Evdokimov
c50dd8b2b4 Some source code cleanup. 2010-11-27 21:57:43 +02: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
Leonid Evdokimov
be63952abf Fixed socket leak in redsocks_connect_relay() 2008-02-02 00:29:19 +06:00
Leonid Evdokimov
8e3e630622 Added "make .depend" and some other makefile improvements. 2008-02-01 23:29:32 +06:00
Leonid Evdokimov
e3ad17a6cf .svnignore -> .gitignore 2008-02-01 22:18:43 +06:00
darkk
8e0f02cadc Fixed segfault in redsocks_drop_client 2008-02-01 17:04:22 +06:00
darkk
f73ed3442e Fixed bug in redsocks_connect_relay (client was always dropped) 2008-02-01 17:04:10 +06:00
darkk
d6c27de5f1 Added base instance.configured && check that we have single base config entry. 2008-02-01 17:04:06 +06:00
darkk
c610a14081 Added config.h support & autogeneration. 2008-02-01 17:04:02 +06:00
darkk
0d815b013b Renamed http_* to httpc_* 2008-02-01 17:03:52 +06:00
darkk
4be1269db6 Updated error message, written to log. 2008-02-01 17:03:48 +06:00