From 795657840b0f0691c9a992a126bec84e1ff3d05b Mon Sep 17 00:00:00 2001 From: oes Date: Fri, 2 Aug 2002 14:14:59 +0000 Subject: [PATCH] Made forward chapter a little more easily understandable --- doc/source/p-config.sgml | 50 +++++++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 19 deletions(-) diff --git a/doc/source/p-config.sgml b/doc/source/p-config.sgml index 48bc8dbc..908d2938 100644 --- a/doc/source/p-config.sgml +++ b/doc/source/p-config.sgml @@ -3,7 +3,7 @@ Purpose : Used with other docs and files only. - $Id: p-config.sgml,v 1.1.2.3 2002/05/31 02:56:25 hal9 Exp $ + $Id: p-config.sgml,v 1.1.2.4 2002/08/01 11:22:57 oes Exp $ Copyright (C) 2001, 2002 Privoxy Developers See LICENSE. @@ -98,7 +98,7 @@ Copyright (C) 2001, 2002 Privoxy Developers http://privoxy.org -$Id: p-config.sgml,v 1.1.2.3 2002/05/31 02:56:25 hal9 Exp $ +$Id: p-config.sgml,v 1.1.2.4 2002/08/01 11:22:57 oes Exp $ @@ -1507,17 +1507,17 @@ ACLs: permit-access and deny-access Type of value: - target_domain[:port] + target_pattern http_parent[:port] - Where target_domain is a domain name pattern (see the - chapter on domain matching in the default.action file), - http_parent is the address of the parent HTTP proxy - as an IP addresses in dotted decimal notation or as a valid DNS name (or . to denote - no forwarding, and the optional - port parameters are TCP ports, i.e. integer - values from 1 to 64535 + where target_pattern is a URL pattern + that specifies to which requests (i.e. URLs) this forward rule shall apply. Use / to + denote all URLs. + http_parent[:port] + is the DNS name or IP address of the parent HTTP proxy through which the requests should be forwarded, + optionally followed by its listening port (default: 8080). + Use a single dot (.) to denote no forwarding. @@ -1555,7 +1555,7 @@ ACLs: permit-access and deny-access - forward .*. anon-proxy.example.org:8080 + forward / anon-proxy.example.org:8080 forward :443 . @@ -1565,7 +1565,7 @@ ACLs: permit-access and deny-access - forward .*. caching-proxy.example-isp.net:8000 + forward / caching-proxy.example-isp.net:8000 forward .example-isp.net . @@ -1594,13 +1594,14 @@ forward-socks4 and forward-socks4a Type of value: - target_domain[:port] + target_pattern socks_proxy[:port] http_parent[:port] - Where target_domain is a domain name pattern (see the - chapter on domain matching in the default.action file), + where target_pattern is a URL pattern + that specifies to which requests (i.e. URLs) this forward rule shall apply. Use / to + denote all URLs. http_parent and socks_proxy are IP addresses in dotted decimal notation or valid DNS names (http_parent may be . to denote no HTTP forwarding), and the optional @@ -1651,7 +1652,7 @@ forward-socks4 and forward-socks4a - forward-socks4a .*. socks-gw.example.com:1080 www-cache.example-isp.net:8080 + forward-socks4a / socks-gw.example.com:1080 www-cache.example-isp.net:8080 forward .example.com . @@ -1660,7 +1661,7 @@ forward-socks4 and forward-socks4a - forward-socks4 .*. socks-gw.example.com:1080 . + forward-socks4 / socks-gw.example.com:1080 . @@ -1691,7 +1692,7 @@ forward-socks4 and forward-socks4a - forward .*. . + forward / . forward .isp-b.net host-b:8118 @@ -1702,7 +1703,7 @@ forward-socks4 and forward-socks4a - forward .*. . + forward / . forward .isp-a.net host-a:8118 @@ -1744,6 +1745,17 @@ forward-socks4 and forward-socks4a Squid normally uses port 3128. If unsure consult http_port in squid.conf. + + You could just as well decide to only forward requests for Windows executables through + a virus-scanning parent proxy, say, on antivir.example.com, port 8010: + + + + + forward / . + forward /.*\.(exe|com|dll|zip)$ antivir.example.com:8010 + + ]]> -- 2.49.0