forked from ntop/n2n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
community.list
63 lines (63 loc) · 2.94 KB
/
community.list
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#
# List of allowed communities
# ---------------------------
#
# these could either be fixed-name communities such as the following lines ...
#
mynetwork
netleo
#
# ... or regular expressions that a community name must fully match
# such as ntop[0-1][0-9] for communities from "ntop00" through "ntop19"
#
ntop[0-1][0-9]
#
# * Note that fixed-name communities may not contain one of the following characters
# . * + ? [ ] \
# as otherwise, they are interpreted as regular expression
#
# * Only fixed-name communities are supported for header encryption (-H)
#
# * Regular expression support the following placeholders
# '.' Dot, matches any character
# '*' Asterisk, match zero or more (greedy)
# '+' Plus, match one or more (greedy)
# '?' Question, match zero or one (non-greedy)
# '[abc]' Character class, match if one of {'a', 'b', 'c'}
# '[^abc]' Inverted class, match if NOT one of {'a', 'b', 'c'} (feature is currently broken)
# '[a-zA-Z]' Character ranges, the character set of the ranges { a-z | A-Z }
# '\s' Whitespace, \t \f \r \n \v and spaces
# '\S' Non-whitespace
# '\w' Alphanumeric, [a-zA-Z0-9_]
# '\W' Non-alphanumeric
# '\d' Digits, [0-9]
# '\D' Non-digits
#
# fixed-name communities can optionally be followed by a network using the
# network/bitlen syntax such as the following line
#
home 192.168.168.0/24
#
# the supernode draws ip addresses to assign to the edges (if they omit the `-a`
# parameter) from this network. note that the network is delimited by [SPACE] so
# community names cannot contain [SPACE] either.
#
# if no network is provided here, the supernode assigns some other network to each
# community. networks are taken from the default range 10.128.0.0 - 10.255.255.0/24
# as long as no other network range is provided through the supernode's command line
# option `-d`. those sub-networks are distinct so several edges with different
# communities can be used at the same computer (being served ip addresses from the
# same supernode). also, the sub-networks described in this file are avoided.
#
# however, all networks assigned in this file are not mutually checked for colliding
# ranges so different communities can use same or overlapping sub-networks. that does
# not impose a problem if the communities do not share edge nodes.
#
# there seems to be no sense in pre-assigning sub-networks to communities whose
# names are defined by regular expressions. those will be assigned distinct
# sub-networks from the default range or the `-d` range.
#
# if `-a` is used with the edge, the edge uses the ip address specified with the
# `-a xxx.xxx.xxx.xxx` option. also, the enhanced syntax `-r -a dhcp:0.0.0.0` is
# still available to have more professional needs served by a full dhcp server.
#