Add client-header-tagger 'listen-address'
authorFabian Keil <fk@fabiankeil.de>
Wed, 25 May 2016 10:51:41 +0000 (10:51 +0000)
committerFabian Keil <fk@fabiankeil.de>
Wed, 25 May 2016 10:51:41 +0000 (10:51 +0000)
default.filter

index 9815fea..2aa9eb4 100644 (file)
@@ -2,7 +2,7 @@
 # 
 #  File        :  $Source: /cvsroot/ijbswa/current/default.filter,v $
 # 
 # 
 #  File        :  $Source: /cvsroot/ijbswa/current/default.filter,v $
 # 
-#  $Id: default.filter,v 1.92 2014/10/17 14:45:10 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
 # 
 #
 #  Purpose     :  Rules to process the content of web pages
 # 
@@ -813,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
 
 
 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.
 #################################################################################
 #
 # http-method: Tags the request with its HTTP method.