X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=2aa9eb4aafcd76042a7f531555830d48ffa86bbc;hp=46408c08bb0cfd64221a13cc3b8039bb3ccea5cb;hb=1a723fce2e34538ed80b695803089d1c8b8f456f;hpb=02d86846f79824a54f496babf512efddbd67b6e9 diff --git a/default.filter b/default.filter index 46408c08..2aa9eb4a 100644 --- a/default.filter +++ b/default.filter @@ -2,7 +2,7 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.91 2014/06/20 09:46:13 fabiankeil Exp $ +# $Id: default.filter,v 1.93 2016/05/25 10:50:55 fabiankeil Exp $ # # Purpose : Rules to process the content of web pages # @@ -57,7 +57,8 @@ # quoting. # # 'D' (Dynamic) allows the use of variables. Supported variables are: -# $host, $origin (the IP address the request came from), $path and $url. +# $host, $listen-address, $origin (the IP address the request came +# from), $path and $url. # # Note that '$' is a bad choice as delimiter for dynamic filters as you # might end up with unintended variables if you use a variable name @@ -812,6 +813,16 @@ CLIENT-HEADER-TAGGER: client-ip-address Tags the request with the client's IP ad s@^\w*\s+.*\s+HTTP/\d\.\d\s*@IP-ADDRESS: $origin@D +################################################################################# +# +# listen-address: Tags the request with the listen-address on which the request +# came in. +# +################################################################################# +CLIENT-HEADER-TAGGER: listen-address Tags the request with the listen-address on which the request came in. + +s@^\w*\s+.*\s+HTTP/\d\.\d\s*@LISTEN-ADDRESS: $listen-address@D + ################################################################################# # # http-method: Tags the request with its HTTP method.