From 584674c60a8487df489d44e926eb9a3dc6130a23 Mon Sep 17 00:00:00 2001 From: Fabian Keil <fk@fabiankeil.de> Date: Thu, 20 Apr 2017 11:11:43 +0000 Subject: [PATCH] Add a client-header-tagger{client-ip-address} example --- doc/source/user-manual.sgml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) 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> -- 2.49.0