From: Fabian Keil <fk@fabiankeil.de> Date: Thu, 20 Apr 2017 11:11:43 +0000 (+0000) Subject: Add a client-header-tagger{client-ip-address} example X-Git-Tag: v_3_0_27~176 X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@edit-actions-section-add?a=commitdiff_plain;h=584674c60a8487df489d44e926eb9a3dc6130a23;p=privoxy.git Add a client-header-tagger{client-ip-address} example --- diff --git a/doc/source/user-manual.sgml b/doc/source/user-manual.sgml index fc78f12d..8a2b4a8e 100644 --- a/doc/source/user-manual.sgml +++ b/doc/source/user-manual.sgml @@ -36,7 +36,7 @@ This file belongs into ijbswa.sourceforge.net:/home/groups/i/ij/ijbswa/htdocs/ - $Id: user-manual.sgml,v 2.217 2017/01/23 12:59:45 fabiankeil Exp $ + $Id: user-manual.sgml,v 2.218 2017/02/20 13:45:36 fabiankeil Exp $ Copyright (C) 2001-2016 Privoxy Developers https://www.privoxy.org/ See LICENSE. @@ -62,7 +62,7 @@ </subscript> </pubdate> -<pubdate>$Id: user-manual.sgml,v 2.217 2017/01/23 12:59:45 fabiankeil Exp $</pubdate> +<pubdate>$Id: user-manual.sgml,v 2.218 2017/02/20 13:45:36 fabiankeil Exp $</pubdate> <!-- @@ -3022,6 +3022,21 @@ TAG:^User-Agent: MPlayer/ TAG:^RANGE-REQUEST$ </screen> </para> + <para> + <screen> +# Tag all requests with the client IP address +# +# (Technically the client IP address isn't included in the +# client headers but client-header taggers can set it anyway. +# For details see the tagger in default.filter) +{+client-header-tagger{client-ip-address}} +/ + +# Change forwarding settings for requests coming from address 10.0.0.1 +{+forward-override{forward-socks5 127.0.1.2:2222 .}} +TAG:^IP-ADDRESS: 10\.0\.0\.1$ + </screen> + </para> </listitem> </varlistentry>