blob: c7710a10edd58dac5a632de2c15f6ad13441ed24 [file] [log] [blame]
Steve DiBenedetto84da5bf2014-03-11 14:51:29 -06001; the general section contains settings of nfd process
2; general
3; {
4; }
5
6; the face_system section defines what faces and channels are created
7face_system
8{
9 ; the unix section contains settings of UNIX stream faces and channels
10 unix
11 {
12 listen yes ; set to 'no' to disable UNIX stream listener, default 'yes'
13 path /var/run/nfd.sock ; UNIX stream listener path
14 }
15
16 ; the tcp section contains settings of TCP faces and channels
17 tcp
18 {
19 listen yes ; set to 'no' to disable TCP listener, default 'yes'
20 port 6363 ; TCP listener port number
21 }
22
23 ; the udp section contains settings of UDP faces and channels
24 udp
25 {
26 port 6363 ; UDP unicast port number
27 idle_timeout 600 ; idle time (seconds) before closing a UDP unicast face
28 keep_alive_interval 25; interval (seconds) between keep-alive refreshes
29
30 mcast no
31
32 ; Example multicast settings
33 ; NFD creates one UDP multicast face per NIC
34 ; mcast yes ; set to 'no' to disable UDP multicast, default 'yes'
35 ; mcast_port 56363 ; UDP multicast port number
36 ; mcast_group 224.0.23.170 ; UDP multicast group (IPv4 only)
37 }
38
39 ; the ether section contains settings of Ethernet faces and channels
40 ether
41 {
42 mcast no
43 ; Example multicast settings
44 ; NFD creates one Ethernet multicast face per NIC
45 ; mcast yes ; set to 'no' to disable Ethernet multicast, default 'yes'
46 ; mcast_group 01:00:5E:00:17:AA ; Ethernet multicast group
47 }
48}
49
50; the authorizations section grants privileges to authorized keys
51authorizations
52{
53 ; an authorize section grants privileges to a key
54 authorize
55 {
56 keyfile @SYSCONFDIR@/ndn/keys/default.pub ; public key file
57 privileges ; set of privileges granted to this public key
58 {
59 control-header
60 faces
61 fib
62 ; stats
63 strategy-choice
64 }
65 }
66}