face: Configurable IP subnets for "local" TCP faces
Change-Id: Idaddfe4b2c304b552d2e132235f4c3d3e6c2ebcb
Refs: #4546
diff --git a/nfd.conf.sample.in b/nfd.conf.sample.in
index 334bc5a..c5bf79f 100644
--- a/nfd.conf.sample.in
+++ b/nfd.conf.sample.in
@@ -106,6 +106,19 @@
port 6363 ; TCP listener port number
enable_v4 yes ; set to 'no' to disable IPv4 channels, default 'yes'
enable_v6 yes ; set to 'no' to disable IPv6 channels, default 'yes'
+
+ ; A TCP face has local scope if the local and remote IP addresses match the whitelist but not the blacklist
+ local
+ {
+ whitelist
+ {
+ subnet 127.0.0.0/8
+ subnet ::1/128
+ }
+ blacklist
+ {
+ }
+ }
}
; The udp section contains settings for UDP faces and channels.