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

17 Commits

Author SHA1 Message Date
Leonid Evdokimov
af46180272 Add naive zero-copy implementation using splice
It gives ~33% increase of throughput on CPU-bound box.  E.g. following
machine single-connection throughput goes from ~30 Mbit/s to ~40 Mbit/s

system type: xRX200 rev 1.2
machine: TDW8980 - TP-LINK TD-W8980
cpu model: MIPS 34Kc V5.6
BogoMIPS: 332.54
2016-04-03 23:18:45 +03:00
Leonid Evdokimov
d2165a4ff0 Replace libevent macroses with functions 2016-03-18 00:41:04 +03:00
Leonid Evdokimov
5c716327b2 Write message priority to the log file/stderr 2016-03-17 18:05:01 +03:00
Leonid Evdokimov
24a5384e29 Emit better errors from config file parser 2016-03-09 01:12:38 +03:00
Leonid Evdokimov
e8fd5422e5 logging: respect log_debug for non-syslog `log', SIGUSR1 writes LOG_NOTICE
log_debug and log_info should not waste CPU and disk space while logging
to file and stderr, but SIGUSR1 dump is explicit request, so it's always
logged.
2016-03-07 21:39:23 +03:00
Leonid Evdokimov
d517e650ef redsocks now compiles with libevent-2.0 2011-08-01 13:28:38 +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
Bin Jin
9136aa5e5f add clang compiler support; clean warnings; remove auth info from log file 2010-11-25 19:11:14 +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
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
66d9d1cf83 Whitespace fixes. 2008-07-13 21:36:51 +07: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
4930205c3d Added timestamp to log messages. 2008-02-02 15:10:30 +06:00
Leonid Evdokimov
5dda936cf9 Better logging. 2008-02-02 04:18:04 +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