mirror of
https://github.com/alice-lg/birdwatcher.git
synced 2025-03-09 00:00:05 +01:00
55 lines
990 B
Text
55 lines
990 B
Text
#
|
|
# Birdwatcher Configuration
|
|
#
|
|
|
|
[server]
|
|
# Restrict access to certain IPs. Leave empty to allow from all.
|
|
allow_from = []
|
|
|
|
# All modules:
|
|
# status
|
|
# protocols
|
|
# protocols_bgp
|
|
# symbols
|
|
# symbols_tables
|
|
# symbols_protocols
|
|
# routes_protocol
|
|
# routes_table
|
|
# routes_count_protocol
|
|
# routes_count_table
|
|
# route_net
|
|
# routes_filtered
|
|
# routes_prefixed
|
|
#
|
|
modules_enabled = ["status", "protocols_bgp", "routes_protocol", "routes_peer"]
|
|
|
|
[status]
|
|
#
|
|
# Where to get the reconfigure timestamp from:
|
|
# Available sources: bird, config_regex, config_modified
|
|
#
|
|
reconfig_timestamp_source = "bird"
|
|
reconfig_timestamp_match = "# Created: (.*)"
|
|
|
|
# Remove fields e.g. last_reboot
|
|
filter_fields = []
|
|
|
|
[ratelimit]
|
|
enabled = true
|
|
requests_per_minute = 10
|
|
|
|
|
|
[bird]
|
|
listen = "0.0.0.0:29188"
|
|
config = "/etc/bird.conf"
|
|
birdc = "/sbin/birdc"
|
|
|
|
|
|
[bird6]
|
|
listen = "0.0.0.0:29189"
|
|
config = "/etc/bird6.conf"
|
|
birdc = "/sbin/birdc6"
|
|
|
|
[parser]
|
|
# Remove fields e.g. interface
|
|
filter_fields = []
|