X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=fd5c12ec3e713057222916653b22f7fbf644f2f7;hp=46408c08bb0cfd64221a13cc3b8039bb3ccea5cb;hb=83acee61d2f7e4a3c2e6e9e6b582849867d2324e;hpb=02d86846f79824a54f496babf512efddbd67b6e9 diff --git a/default.filter b/default.filter index 46408c08..fd5c12ec 100644 --- a/default.filter +++ b/default.filter @@ -2,12 +2,12 @@ # # 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.94 2016/05/25 10:51:41 fabiankeil Exp $ # # Purpose : Rules to process the content of web pages # # Copyright : Written by and Copyright (C) 2001-2014 the -# Privoxy team. http://www.privoxy.org/ +# Privoxy team. https://www.privoxy.org/ # # This program is free software; you can redistribute it # and/or modify it under the terms of the GNU General @@ -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.