You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ml...@apache.org on 2019/04/04 23:40:52 UTC
[trafficserver] branch master updated: Doc: Add IPv6 CIDR Mask
example
This is an automated email from the ASF dual-hosted git repository.
mlibbey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 089316d Doc: Add IPv6 CIDR Mask example
089316d is described below
commit 089316d6e2926a2bd9c9c4dfd828fe0292bfd7c0
Author: Miles Libbey <ml...@apache.org>
AuthorDate: Mon Apr 1 13:13:10 2019 -0700
Doc: Add IPv6 CIDR Mask example
---
doc/admin-guide/plugins/header_rewrite.en.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/admin-guide/plugins/header_rewrite.en.rst b/doc/admin-guide/plugins/header_rewrite.en.rst
index 17f3d7f..63df29f 100644
--- a/doc/admin-guide/plugins/header_rewrite.en.rst
+++ b/doc/admin-guide/plugins/header_rewrite.en.rst
@@ -307,6 +307,8 @@ e.g.::
cond %{CIDR:8} ="8.0.0.0"
set-header X-Is-Eight "Yes"
+ cond %{CIDR:,8} ="fd00::" #note the IPv6 Mask is in the second position
+ set-header IPv6Internal "true"
This condition has no requirements other than access to the Client IP, hence,
it should work in any and all hooks.