config

package

Versions in this module

v1
Mar 12, 2024
Apr 25, 2023
Apr 27, 2022
Apr 26, 2022
Apr 6, 2022
Mar 20, 2022
Mar 19, 2022
Jan 31, 2022
v0
Sep 3, 2021
Jul 20, 2021
Changes in this version
Jun 25, 2021
May 28, 2021
Jan 3, 2021
Aug 8, 2020
Jun 25, 2020
Changes in this version
type Interface
Jun 6, 2020
Changes in this version
type Interface
May 22, 2020
May 10, 2020
Apr 14, 2020
Mar 4, 2020
Feb 9, 2020
Changes in this version
type Config
Feb 7, 2020
Changes in this version
Jan 19, 2020
Jan 16, 2020
Jan 14, 2020
Changes in this version
type Interface
Jan 12, 2020
Jan 12, 2020
Jan 6, 2020
Changes in this version
type Interface
Jan 3, 2020
Jan 2, 2020
Jan 2, 2020
Jan 2, 2020
Changes in this version
+ var Default = "# CoreRAD vALPHA configuration file\n\n# All duration values are specified in Go time.ParseDuration format:\n# https://golang.org/pkg/time/#ParseDuration.\n\n# Interfaces which will be used to serve IPv6 NDP router advertisements.\n[[interfaces]]\nname = \"eth0\"\n\n# AdvSendAdvertisements: indicates whether or not this interface will send\n# periodic router advertisements and respond to router solicitations.\nsend_advertisements = true\n\n# MaxRtrAdvInterval: the maximum time between sending unsolicited multicast\n# router advertisements. Must be between 4 and 1800 seconds.\nmax_interval = \"600s\"\n\n# MinRtrAdvInterval: the minimum time between sending unsolicited multicast\n# router advertisements. Must be between 3 and (.75 * max_interval) seconds.\n# An empty string or the value \"auto\" will compute a sane default.\nmin_interval = \"auto\"\n\n# AdvManagedFlag: indicates if hosts should request address configuration from a\n# DHCPv6 server.\nmanaged = false\n\n# AdvOtherConfigFlag: indicates if additional configuration options are\n# available from a DHCPv6 server.\nother_config = false\n\n# AdvReachableTime: indicates how long a node should treat a neighbor as\n# reachable. 0 or empty string mean this value is unspecified by this router.\nreachable_time = \"0s\"\n\n# AdvRetransTimer: indicates how long a node should wait before retransmitting\n# neighbor solicitations. 0 or empty string mean this value is unspecified by\n# this router.\nretransmit_timer = \"0s\"\n\n# AdvCurHopLimit: indicates the value that should be placed in the Hop Limit\n# field in the IPv6 header. Must be between 0 and 255. 0 means this value\n# is unspecified by this router.\nhop_limit = 64\n\n# AdvDefaultLifetime: the value sent in the router lifetime field. Must be\n# 0 or between max_interval and 9000 seconds. An empty string is treated as 0,\n# or the value \"auto\" will compute a sane default.\ndefault_lifetime = \"auto\"\n\n # Zero or more plugins may be specified to modify the behavior of the router\n # advertisements produced by CoreRAD.\n\n # \"prefix\" plugin: attaches a NDP Prefix Information option to the router\n # advertisement.\n [[interfaces.plugins]]\n name = \"prefix\"\n # Serve Prefix Information options for each IPv6 prefix on this interface\n # configured with a /64 CIDR mask.\n prefix = \"::/64\"\n # Specifies on-link and autonomous address autoconfiguration (SLAAC) flags\n # for this prefix. Both default to true.\n on_link = true\n autonomous = true\n # Specifies the preferred and valid lifetimes for this prefix. The preferred\n # lifetime must not exceed the valid lifetime. By default, the preferred\n # lifetime is 7 days and the valid lifetime is 30 days. \"auto\" uses the\n # defaults. \"infinite\" means this prefix should be used forever.\n preferred_lifetime = \"5m\"\n valid_lifetime = \"10m\"\n\n # Alternatively, serve an explicit IPv6 prefix.\n [[interfaces.plugins]]\n name = \"prefix\"\n prefix = \"2001:db8::/64\"\n\n # \"rdnss\" plugin: attaches a NDP Recursive DNS Servers option to the router\n # advertisement.\n [[interfaces.plugins]]\n name = \"rdnss\"\n # The maximum time these RDNSS addresses may be used for name resolution.\n # An empty string or 0 means these servers should no longer be used.\n # \"auto\" will compute a sane default. \"infinite\" means these servers should\n # be used forever.\n lifetime = \"auto\"\n servers = [\"2001:db8::1\", \"2001:db8::2\"]\n\n # \"dnssl\" plugin: attaches a NDP DNS Search List option to the router\n # advertisement.\n [[interfaces.plugins]]\n name = \"dnssl\"\n # The maximum time these DNSSL domain names may be used for name resolution.\n # An empty string or 0 means these search domains should no longer be used.\n # \"auto\" will compute a sane default. \"infinite\" means these search domains\n # should be used forever.\n lifetime = \"auto\"\n domain_names = [\"foo.example.com\"]\n\n # \"mtu\" plugin: attaches a NDP MTU option to the router advertisement.\n [[interfaces.plugins]]\n name = \"mtu\"\n mtu = 1500\n\n# Enable or disable the debug HTTP server for facilities such as Prometheus\n# metrics and pprof support.\n#\n# Warning: do not expose pprof on an untrusted network!\n[debug]\naddress = \"localhost:9430\"\nprometheus = true\npprof = false\n"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL