security: Add 'type any' for trust-anchor in ValidatorConfig
Refs: #1482
Change-Id: Ida78f392799f0f2e578e1bdc6735bbfc68e1617e
diff --git a/docs/tutorials/security-validator-config.rst b/docs/tutorials/security-validator-config.rst
index fe136e1..ee164f5 100644
--- a/docs/tutorials/security-validator-config.rst
+++ b/docs/tutorials/security-validator-config.rst
@@ -411,6 +411,21 @@
base64-string "Bv0DGwdG...amHFvHIMDw=="
}
+There is another special trust anchor "any".
+As long as such a trust-anchor is defined in config file,
+packet validation will be turned off.
+
+- **ATTENTION: This type of trust anchor is dangerous.
+ You should used it only when you want to disable packet validation temporarily
+ (e.g, debugging code, building a demo).**
+
+::
+
+ trust-anchor
+ {
+ type any
+ }
+
Example Configuration For NLSR
------------------------------