Package: redsocks / 0.5-2

Metadata

Package Version Patches format
redsocks 0.5-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix_default_config_location.patch | (download)

main.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 change the default config file location
 redsocks by default looks for ./redsocks.conf. Change this to
 /etc/redsocks.conf for a more deterministic behaviour.
libevent 2.1 compat.patch | (download)

utils.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] fix redsocks_evbuffer_readline with libevent 2.1

_EVENT_NUMERIC_VERSION was renamed to EVENT__NUMERIC_VERSION in libevent
2.1. As a result, redsocks_evbuffer_readline would end up using
evbuffer_readline(buf), which causes client connections to hang
indefinitely.

Switch the check to using LIBEVENT_VERSION_NUMBER instead.
LIBEVENT_VERSION_NUMBER has been around since libevent 2.0.3 and
redsocks is already using it in other parts of the code.

Fixes #107, #122.