Attached patch allows to use the 'bind' option even if transparent proxy support is compiled into tinyproxy (which is in openwrt). There are several references related to the bug, but nobody seams to know why this - apparently not needed - check was build in.
Regards Mathias https://banu.com/pipermail/tinyproxy-list/2004-September/000546.html https://banu.com/pipermail/tinyproxy-list/2011-April/000821.html http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609095#10
--- a/src/conf.c.orig 2011-05-19 20:24:54.000000000 +0200 +++ a/src/conf.c 2011-05-19 20:25:56.000000000 +0200 @@ -857,7 +857,6 @@ static HANDLE_FUNC (handle_bind) { -#ifndef TRANSPARENT_PROXY int r = set_string_arg (&conf->bind_address, line, &match[2]); if (r) @@ -865,11 +864,6 @@ log_message (LOG_INFO, "Outgoing connections bound to IP %s", conf->bind_address); return 0; -#else - fprintf (stderr, - "\"Bind\" cannot be used with transparent support enabled.\n"); - return 1; -#endif } static HANDLE_FUNC (handle_listen)
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel