-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.ini.example
73 lines (61 loc) · 1.65 KB
/
config.ini.example
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
64
65
66
67
68
69
70
71
72
73
[global]
vlans_file = example_config/VLANs
transit_file = example_config/TNETs
aliases_file = example_config/hosts.ini
routers_file = example_config/routers.ini
policies_dir = example_config/policies
policies_ext = .pol
compiled_dir = example_config/policies/.compiled
# if umask is empty, will not change umask
# see http://docs.python.org/library/stat.html#stat.S_ISUID for notation
umask = 432
# if groupid is empty, will not change group ownership
groupid =
services_file = example_config/services
use_rcs = false
default_pol = example_config/default.pol
#macro commands to be ignored by sanity_check
ignore_macros = broadcast lan dns antiSpoof
# The following vlan will be used by the block command by default, if no other
# vlan could be found. This would typically be the internet gateway.
# default_block_vlan = POLES 105
# Logging configuration
[loggers]
keys = root, faust, routers, routersinfo
[handlers]
keys = console, file
[formatters]
keys = generic, console
[logger_root]
level = NOTSET
handlers =
# Used to log actions done by faust.py
[logger_faust]
level = DEBUG
handlers = console
qualname = faust
# Loggs communication with routers
[logger_routers]
level = DEBUG
handlers = file
qualname = lib.dialects
# Infos concerning router communication
[logger_routersinfo]
level = INFO
handlers = console
qualname = lib.dialects
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = INFO
formatter = console
[handler_file]
class=FileHandler
args=('debug.log', 'a')
level = DEBUG
formatter = generic
[formatter_generic]
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
datefmt = %H:%M:%S
[formatter_console]
format = %(message)s