Commits on Dec 27, 2016
  1. Version bump - v0.5

    committed Dec 27, 2016
Commits on Sep 7, 2016
Commits on Aug 19, 2016
  1. Fix typo

    committed Aug 19, 2016
Commits on Jul 14, 2016
Commits on Apr 29, 2016
Commits on Apr 19, 2016
  1. Specify required libevent version in README. Closes #85

    libevent-2.0.x is required since 14ff78d.
    committed Apr 19, 2016
Commits on Apr 14, 2016
  1. 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
    committed Apr 14, 2016
Commits on Apr 13, 2016
Commits on Apr 12, 2016
  1. 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.
    committed Apr 12, 2016
  2. Add protocol latency tests

    committed Apr 12, 2016
  3. Update link to Archlinux AUR. Fixes #82

    committed Apr 12, 2016
  4. Fix memory leak in Basic http-auth

    committed Apr 11, 2016
  5. Add smoke tests

    committed Apr 11, 2016
Commits on Apr 8, 2016
Commits on Apr 4, 2016
Commits on Apr 3, 2016
  1. Warn about `http-relay` usage

    http-relay should be avoided due to CVE-2009-0801. It was implemented to
    support ancient HTTP/1.0 clients that did not set `Host` header, so
    upstream proxy had at least some way to determine request destination.
    In modern post-SPDY world this method should not be used, you should
    rather configure upstream proxy to accept CONNECT requests to any port
    and use `http-connect` instead.
    Great CVE-2009-0801 description can be found in squid-users on 2015-12-18
    committed Apr 3, 2016
  2. Mark client socket non-blocking

    Avoiding to do so caused splice() to block during write.
    AFAIK, it does not affect bufferevent pump, but I may be wrong.
    committed Apr 3, 2016
  3. 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
    committed Apr 3, 2016
Commits on Mar 28, 2016
Commits on Mar 21, 2016
  1. Mention `nogroup' name difference between RedHat-like and Debian-like…

    … distributions.
    See also #60
    committed Mar 21, 2016
Commits on Mar 18, 2016
  1. Replace wm_read/wm_write manipulations with call to bufferevent_setwa…

    bufferevent_setwatermark() has some meaningful code to run on
    high-watermark changes, avoiding this code may lead to stuck
    committed Mar 18, 2016
Commits on Mar 17, 2016
  1. Add quick-n-dirty debugging code to estimate memory usage.

    Debugging code is not compiled by default, don't use it unless you're
    just trying to measure something :)
    committed Mar 17, 2016
  2. Log network errors better, use `errno` if SO_ERROR is clear

    Some errors are not stored in SO_ERROR. Moreover, libevent uses SO_ERROR
    itself and SO_ERROR is cleared after reading. Probably, using SO_ERROR
    is not a good idea at all, but I have no proper test-case checking if
    it's safe to remove SO_ERROR code.
    committed Mar 17, 2016