site/site.conf
2015-09-22 20:21:04 +02:00

214 lines
9.1 KiB
Plaintext

{
hostname_prefix = 'tdf',
site_name = 'Freifunk Troisdorf',
site_code = 'tdf',
opkg_repo = 'http://openwrt.draic.info/barrier_breaker/14.07/%S/packages',
prefix4 = '10.188.0.0/16',
prefix6 = 'fda0:747e:ab29:7405::/64',
timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
ntp_servers = {
'0.de.pool.ntp.org',
'1.de.pool.ntp.org',
'ntp1.infra.fftdf',
'ntp2.infra.fftdf',
},
regdom = 'DE',
wifi24 = {
ssid = 'Freifunk',
channel = 11,
htmode = 'HT20',
mesh_ssid = 'troisdorf-freifunk-mesh',
mesh_bssid = '02:74:05:d0:4f:00',
mesh_mcast_rate = 12000,
},
wifi5 = {
ssid = 'Freifunk',
channel = 44,
htmode = 'HT40+',
mesh_ssid = 'troisdorf-freifunk-mesh',
mesh_bssid = '02:74:05:d0:4f:00',
mesh_mcast_rate = 12000,
},
next_node = {
ip4 = '10.188.0.1',
ip6 = 'fda0:747e:ab29:7405::1',
mac = '04:74:05:d0:4f:aa',
},
fastd_mesh_vpn = {
enabled = true,
methods = {
'salsa2012+umac',
'salsa2012+gmac'
},
mtu = 1312,
groups = {
backbone = {
limit = 1,
peers = {
wupper0 = {
key = '7142f897f4e55d2c19207aa59db92ec54d7517cf558d5ecaef33689234952a4b',
remotes = {'"wupper0.freifunk-troisdorf.de" port 53842'},
},
wupper1 = {
key = '6eae041199ee627689bfa026afbd8a9ab299eca8aed4144321d098cffd62668e',
remotes = {'"wupper1.freifunk-troisdorf.de" port 53842'},
},
wupper2 = {
key = 'b7f319d59d8383ba813c3503416bca45f70852e4d207b1743bb6cdca1e30d9f5',
remotes = {'"wupper2.freifunk-troisdorf.de" port 53842'},
},
wupper3 = {
key = 'c8f3d1d10b0d6389e39c3c3cb08adfa3123e821fd5bfd6262d2161d80ee4b06c',
remotes = {'"wupper3.freifunk-troisdorf.de" port 53842'},
},
wupper4 = {
key = '5e7fa122990dbc34b8cae7ece2cd4ef919d3f8c23a674b7bbcf05bfebe6a6e8a',
remotes = {'"wupper4.freifunk-troisdorf.de" port 53842'},
},
},
},
troisdorf = {
limit = 1,
peers = {
troisdorf1 = {
key = '9154293d90bb907a647338585da4ddf283e534a948a0bb73ca604391fdd4aa0b',
remotes = {'"troisdorf1.freifunk-troisdorf.de" port 53842'},
},
troisdorf2 = {
key = 'fab9b346a16eead4077a792076fb9ccd7738f959d7654567440c9192ad0d2bec',
remotes = {'"troisdorf2.freifunk-troisdorf.de" port 53842'},
},
troisdorf3 = {
key = 'd45d3b0f660dbdb610514d7236c0b1a7f7c6c03eb2e3a517f45dd8a01a39a9fa',
remotes = {'"troisdorf3.freifunk-troisdorf.de" port 53842'},
},
troisdorf4 = {
key = '25abce5516c6cdb1782773f77158eb7b1234e7ca12d2c6603d5696b441415b8c',
remotes = {'"troisdorf4.freifunk-troisdorf.de" port 53842'},
},
},
}
},
},
autoupdater = {
enabled = true,
branch = 'futro',
branches = {
stable = {
name = 'stable',
mirrors = {
'http://update1.infra.fftdf/stable/sysupgrade',
'http://update2.infra.fftdf/stable/sysupgrade',
'http://update3.infra.fftdf/stable/sysupgrade'
},
probability = 0.08,
good_signatures = 2,
pubkeys = {
'2647b9fec75e130e153728ee8fad14b24764f23637eb9f3b0a68f2a279a74914', -- Stefan
'98be9ceda320d469db01262ede69820b6ac245bf96433cf99b66726cc04fecf7', -- Kemal
'40f4e0d70ad87dda6ec60e454f9fdf6bd203c89615ff89bd33c365391ffabbe0', -- Reka
'043b3112de38c7495264f8f871fa9c56f88c23794a9e3dd5d654ad93f535dd14', -- Thorsten
'fdf72a54d63f153f590c4bf96a82ef194ca1b6ed0757547f61f85e87a4e42cd0' -- Marconi
},
},
beta = {
name = 'beta',
mirrors = {
'http://update1.infra.fftdf/beta/sysupgrade',
'http://update2.infra.fftdf/beta/sysupgrade',
'http://update3.infra.fftdf/beta/sysupgrade'
},
probability = 0.08,
good_signatures = 1,
pubkeys = {
'2647b9fec75e130e153728ee8fad14b24764f23637eb9f3b0a68f2a279a74914', -- Stefan
'98be9ceda320d469db01262ede69820b6ac245bf96433cf99b66726cc04fecf7', -- Kemal
'40f4e0d70ad87dda6ec60e454f9fdf6bd203c89615ff89bd33c365391ffabbe0', -- Reka
'043b3112de38c7495264f8f871fa9c56f88c23794a9e3dd5d654ad93f535dd14', -- Thorsten
'fdf72a54d63f153f590c4bf96a82ef194ca1b6ed0757547f61f85e87a4e42cd0' -- Marconi
},
},
experimental = {
name = 'experimental',
mirrors = {
'http://update1.infra.fftdf/experimental/sysupgrade',
'http://update2.infra.fftdf/experimental/sysupgrade',
'http://update3.infra.fftdf/experimental/sysupgrade'
},
probability = 1.00,
good_signatures = 1,
pubkeys = {
'2647b9fec75e130e153728ee8fad14b24764f23637eb9f3b0a68f2a279a74914', -- Stefan
'98be9ceda320d469db01262ede69820b6ac245bf96433cf99b66726cc04fecf7', -- Kemal
'40f4e0d70ad87dda6ec60e454f9fdf6bd203c89615ff89bd33c365391ffabbe0', -- Reka
'043b3112de38c7495264f8f871fa9c56f88c23794a9e3dd5d654ad93f535dd14', -- Thorsten
'fdf72a54d63f153f590c4bf96a82ef194ca1b6ed0757547f61f85e87a4e42cd0' -- Marconi
},
},
event = {
name = 'event',
mirrors = {
'http://update1.infra.fftdf/event/sysupgrade',
'http://update2.infra.fftdf/event/sysupgrade',
'http://update3.infra.fftdf/event/sysupgrade'
},
probability = 1.00,
good_signatures = 1,
pubkeys = {
'2647b9fec75e130e153728ee8fad14b24764f23637eb9f3b0a68f2a279a74914', -- Stefan
'98be9ceda320d469db01262ede69820b6ac245bf96433cf99b66726cc04fecf7', -- Kemal
'40f4e0d70ad87dda6ec60e454f9fdf6bd203c89615ff89bd33c365391ffabbe0', -- Reka
'043b3112de38c7495264f8f871fa9c56f88c23794a9e3dd5d654ad93f535dd14', -- Thorsten
'fdf72a54d63f153f590c4bf96a82ef194ca1b6ed0757547f61f85e87a4e42cd0' -- Marconi
},
},
futro = {
name = 'futro',
mirrors = {
'http://update1.infra.fftdf/futro/sysupgrade',
'http://update2.infra.fftdf/futro/sysupgrade',
'http://update3.infra.fftdf/futro/sysupgrade'
},
probability = 1.00,
good_signatures = 1,
pubkeys = {
'2647b9fec75e130e153728ee8fad14b24764f23637eb9f3b0a68f2a279a74914', -- Stefan
'98be9ceda320d469db01262ede69820b6ac245bf96433cf99b66726cc04fecf7', -- Kemal
'40f4e0d70ad87dda6ec60e454f9fdf6bd203c89615ff89bd33c365391ffabbe0', -- Reka
'043b3112de38c7495264f8f871fa9c56f88c23794a9e3dd5d654ad93f535dd14', -- Thorsten
'fdf72a54d63f153f590c4bf96a82ef194ca1b6ed0757547f61f85e87a4e42cd0' -- Marconi
},
},
},
},
roles = {
default = 'offloader',
list = {
'node',
'offloader',
'event',
},
},
setup_mode = {
skip = true,
},
simple_tc = {
mesh_vpn = {
ifname = 'mesh-vpn',
enabled = false,
limit_egress = 300,
limit_ingress = 5000,
},
},
legacy = {
version_files = {'/etc/.freifunk_version_keep', '/etc/.fftro_version_keep'},
old_files = {'/etc/config/config_mode', '/etc/config/fftro', '/etc/config/freifunk'},
config_mode_configs = {'config_mode', 'fftro', 'freifunk'},
fastd_configs = {'fftro_mesh_vpn', 'mesh_vpn'},
mesh_ifname = 'freifunk',
tc_configs = {'fftro', 'freifunk'},
wifi_names = {'wifi_freifunk', 'wifi_freifunk5', 'wifi_mesh', 'wifi_mesh5'},
},
}