2021-06-06 19:04:14 +02:00
|
|
|
# Configuration file example for lg.py
|
|
|
|
# Adapt and copy to lg.cfg
|
2012-01-20 00:12:19 +01:00
|
|
|
|
2020-06-15 13:13:05 +02:00
|
|
|
WEBSITE_TITLE="Bird-LG / Looking Glass"
|
2019-12-28 11:33:53 +01:00
|
|
|
DEBUG = False
|
2012-10-16 07:59:47 +02:00
|
|
|
LOG_FILE="/var/log/lg.log"
|
|
|
|
LOG_LEVEL="WARNING"
|
2020-11-17 22:50:06 +01:00
|
|
|
# Keep log history indefinitely by default.
|
|
|
|
LOG_NUM_DAYS=0
|
2012-10-16 07:59:47 +02:00
|
|
|
|
2012-01-22 23:06:52 +01:00
|
|
|
DOMAIN = "tetaneutral.net"
|
2012-01-20 00:12:19 +01:00
|
|
|
|
2020-06-15 22:54:01 +02:00
|
|
|
# Used to optionally restrict access to lgproxy based on a shared secret.
|
2021-06-06 19:04:14 +02:00
|
|
|
# Empty string or unset = no shared secret is used to run queries on lgproxies.
|
2020-06-15 13:27:26 +02:00
|
|
|
SHARED_SECRET="ThisTokenIsNotSecret"
|
|
|
|
|
2014-02-12 22:09:09 +01:00
|
|
|
BIND_IP = "0.0.0.0"
|
|
|
|
BIND_PORT = 5000
|
|
|
|
|
2012-01-26 17:12:18 +01:00
|
|
|
PROXY = {
|
|
|
|
"gw": 5000,
|
|
|
|
"h3": 5000,
|
|
|
|
}
|
2012-01-20 00:12:19 +01:00
|
|
|
|
2012-05-29 16:53:19 +02:00
|
|
|
# Used for bgpmap
|
|
|
|
ROUTER_IP = {
|
|
|
|
"gw" : [ "91.224.148.2", "2a01:6600:8000::175" ],
|
|
|
|
"h3" : [ "91.224.148.3", "2a01:6600:8000::131" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
AS_NUMBER = {
|
|
|
|
"gw" : "197422",
|
|
|
|
"h3" : "197422"
|
|
|
|
}
|
|
|
|
|
2014-01-27 22:13:23 +01:00
|
|
|
#WHOIS_SERVER = "whois.foo.bar"
|
|
|
|
|
2014-01-27 22:33:37 +01:00
|
|
|
# DNS zone to query for ASN -> name mapping
|
|
|
|
ASN_ZONE = "asn.cymru.com"
|
|
|
|
|
2021-06-06 19:04:14 +02:00
|
|
|
# Used for secure session storage, change this
|
2012-01-20 00:12:19 +01:00
|
|
|
SESSION_KEY = '\xd77\xf9\xfa\xc2\xb5\xcd\x85)`+H\x9d\xeeW\\%\xbe/\xbaT\x89\xe8\xa7'
|
2020-06-14 20:02:17 +02:00
|
|
|
|
|
|
|
# specifies an alternative start page template for the "/" route.
|
|
|
|
# If not specified default action is redirection to /summary/%s/ipv4.
|
|
|
|
# DEFAULT_TEMPLATE="/etc/bird-lg/index.html"
|