mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
redsocks: add new package
Redsocks is a daemon running on the local system, that will transparently tunnel any TCP connection via a remote SOCKS4, SOCKS5 or HTTP proxy server. It uses the system firewall's redirection facility to intercept TCP connections, thus the redirection is system-wide, with fine-grained control, and does not depend on LD_PRELOAD libraries. Signed-off-by: Johannes Morgenroth <jm@m-network.de>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
Description: change the default config file location
|
||||
redsocks by default looks for ./redsocks.conf. Change this to
|
||||
/etc/redsocks.conf for a more deterministic behaviour.
|
||||
Author: Apollon Oikonomopoulos <apoikos@gmail.com>
|
||||
Forwared: no
|
||||
Last-Update: 2013-04-23
|
||||
--- a/main.c
|
||||
+++ b/main.c
|
||||
@@ -39,7 +39,7 @@
|
||||
&dnstc_subsys,
|
||||
};
|
||||
|
||||
-static const char *confname = "redsocks.conf";
|
||||
+static const char *confname = "/etc/redsocks.conf";
|
||||
static const char *pidfile = NULL;
|
||||
|
||||
static void terminate(int sig, short what, void *_arg)
|
||||
Reference in New Issue
Block a user