site.in 5.81 KB
Newer Older
Matthias Schiffer's avatar
Matthias Schiffer committed
1
{
2
	hostname_prefix = 'freifunk',
3 4
	site_name = 'Freifunk Braunschweig',
	site_code = 'ffbs',
Matthias Schiffer's avatar
Matthias Schiffer committed
5

permanentmedia's avatar
permanentmedia committed
6
	prefix4 = '10.38.0.0/16',
7
	prefix6 = '2001:bf7:380::/64',
8

9
	timezone = 'CET-1CEST,M3.5.0,M10.5.0/3', -- Europe/Berlin
chrissi^'s avatar
chrissi^ committed
10
	ntp_servers = {
chrissi^'s avatar
chrissi^ committed
11 12
		'ntp.services.ffbs'
	},
13
	regdom = 'DE',
14

chrissi^'s avatar
chrissi^ committed
15
	domain_seed = "efc1987284a08584db63cef75d6e2e483f80bc7110d267a4c9a22bf04b6dd752",
chrissi^'s avatar
chrissi^ committed
16

17 18
	wifi24 = {
		channel = 1,
Nils Schneider's avatar
Nils Schneider committed
19
		ap = {
20
			ssid = 'Freifunk',
Nils Schneider's avatar
Nils Schneider committed
21
		},
chrissi^'s avatar
chrissi^ committed
22 23 24 25
		mesh = {
			id = 'ffbs-mesh',
			mcast_rate = 12000,
		},
chrissi^'s avatar
chrissi^ committed
26
		aliases = { },
Nils Schneider's avatar
Nils Schneider committed
27
	},
28 29
	wifi5 = {
		channel = 44,
30 31
		outdoor_chanlist = '100-140',
		outdoors = 'preset',
32
		htmode = 'HT40+',
33
		ap = {
34
			ssid = 'Freifunk',
Nils Schneider's avatar
Nils Schneider committed
35
		},
chrissi^'s avatar
chrissi^ committed
36 37
		mesh = {
			id = 'ffbs-mesh',
Nils Schneider's avatar
Nils Schneider committed
38
			mcast_rate = 12000,
chrissi^'s avatar
chrissi^ committed
39
		},
chrissi^'s avatar
chrissi^ committed
40
		aliases = { },
Nils Schneider's avatar
Nils Schneider committed
41
	},
42

43
	next_node = {
44 45
		ip4 = '10.38.0.127',
		ip6 = '2001:bf7:380::7f',
chrissi^'s avatar
chrissi^ committed
46
		name = { "node.ffbs" },
oni's avatar
oni committed
47
		mac = '72:02:46:6a:1c:27',
Nils Schneider's avatar
Nils Schneider committed
48
	},
49

chrissi^'s avatar
chrissi^ committed
50 51
	mesh = {
		vxlan = false,
52
		batman_adv = {
53 54 55 56 57
			-- select which routing algo to use
			-- when both mesh-batman-adv-14 and mesh-batman-adv-15 are
			-- included in site.mk
			routing_algo = 'BATMAN_IV_LEGACY',
		},
chrissi^'s avatar
chrissi^ committed
58
	},
chrissi^'s avatar
chrissi^ committed
59

60
	mesh_vpn = {
61
		mtu = 1312,
62
		fastd = {
chrissi^'s avatar
chrissi^ committed
63 64
			methods = {'salsa2012+umac'},
			enabled = True,
65

chrissi^'s avatar
chrissi^ committed
66 67 68
			--- setting configurable = false allows the updater to overwrite the fastd-configuration on updates.
			--- with configurable = true and package gluon-web-mesh-vpn-fastd a user could tamper with the configuration.
			configurable = false,
69

chrissi^'s avatar
chrissi^ committed
70 71 72 73 74 75
			groups = {
				backbone = {
					limit = 1,
					peers = {
						gw06 = {
							key = '18c072c40578647d8d743a88d785e845e2a575984d3c4610007805a8abfbf7eb',
76
							remotes = {'ipv4 "gw06.freifunk-bs.de" port 10000'},
chrissi^'s avatar
chrissi^ committed
77 78 79
						},
						gw05 = {
							key = '0ac2d975b71d0171a1b3fe19ce6f039769310ddc8898b19243fbbbedfd1f98c9',
80
							remotes = {'ipv4 "gw05.freifunk-bs.de" port 10000'},
chrissi^'s avatar
chrissi^ committed
81 82 83
						},
						gw04 = {
							key = '8e6a913db1b5361f86af26c14c060e70b283eddccd006e768c14413b445bd650',
84
							remotes = {'ipv4 "gw04.freifunk-bs.de" port 10000'},
chrissi^'s avatar
chrissi^ committed
85 86 87
						},
						gw03 = {
							key = '872cac3b00096a8ee763e80df2be331ba1ffa5dbe00d1e025a85d25c3cee82fb',
88
							remotes = {'ipv4 "gw03.freifunk-bs.de" port 10000'},
chrissi^'s avatar
chrissi^ committed
89 90 91 92 93 94 95
						},
						gw02 = {
							key = '1b3d401d841a1496970f1f7abc6fe21c01bfdc6cf391835d91a6798250ea8faf',
							remotes = {'ipv4 "gw02.freifunk-bs.de" port 10000'},
						},
						gw01 = {
							key = 'c7b3985fa8efbcf0f79f29ad62a30bfcf35e6b115e4caeb258f4f5b6b7264c9f',
96
							remotes = {'ipv4 "gw01.freifunk-bs.de" port 10000'},
chrissi^'s avatar
chrissi^ committed
97
						},
oni's avatar
oni committed
98
					},
oni's avatar
oni committed
99
				},
Matthias Schiffer's avatar
Matthias Schiffer committed
100 101
			},
		},
102 103
		bandwidth_limit = {
			enabled = false,
104
			ingress = 3000,
105 106
			egress = 200,
		},
Matthias Schiffer's avatar
Matthias Schiffer committed
107 108
	},

109
	autoupdater = {
110
		branch = 'AUTOUPDATERBRANCH',
chrissi^'s avatar
chrissi^ committed
111
		enabled = 1,
112 113 114
		branches = {
			stable = {
				name = 'stable',
chrissi^'s avatar
chrissi^ committed
115
				mirrors = {'http://firmware.services.ffbs/stable/sysupgrade'},
oni's avatar
oni committed
116
				good_signatures = 1,
117
				pubkeys = {
oni's avatar
oni committed
118
					'24e810335660d4b4e6da8d115dfa8e4283c931a5da5b337391311f14ef7fe445', -- oni 
119
					'4efefc817e93fed2df1176f07621f432d088ef1f534bf455195b363870278bb1', -- jenkins
120 121 122 123
					'9626ac01ba74cb834d587aebb01838b3ff45596a2413e86a70ac0e4852574ffd', -- chrissi
					'5c5e8b827e16f2cba06a18ab10795cec71cc6cb1ca9d41c0bce45a32f63510bc', -- kasa
					'fe87524673c463352991751c95173f0c87f176f786e7283f557dd6504f52720d', -- emantor
					'5b6cbc7829938949e1afbda3d0eb7827b9f0ccb733ef0ee67c8861733ac8e96a', -- larsan
124
				},
Matthias Schiffer's avatar
Matthias Schiffer committed
125
			},
oni's avatar
oni committed
126 127
			unbranded_stable = {
				name = 'unbranded_stable',
chrissi^'s avatar
chrissi^ committed
128
				mirrors = {'http://firmware.services.ffbs/unbranded_stable/sysupgrade'},
oni's avatar
oni committed
129 130 131 132
				good_signatures = 1,
				pubkeys = {
					'24e810335660d4b4e6da8d115dfa8e4283c931a5da5b337391311f14ef7fe445', -- oni 
					'4efefc817e93fed2df1176f07621f432d088ef1f534bf455195b363870278bb1', -- jenkins
133 134 135 136
					'9626ac01ba74cb834d587aebb01838b3ff45596a2413e86a70ac0e4852574ffd', -- chrissi
					'5c5e8b827e16f2cba06a18ab10795cec71cc6cb1ca9d41c0bce45a32f63510bc', -- kasa
					'fe87524673c463352991751c95173f0c87f176f786e7283f557dd6504f52720d', -- emantor
					'5b6cbc7829938949e1afbda3d0eb7827b9f0ccb733ef0ee67c8861733ac8e96a', -- larsan
oni's avatar
oni committed
137 138
				},
			},
oni's avatar
oni committed
139
			beta = {
oni's avatar
oni committed
140
				name = 'beta',
chrissi^'s avatar
chrissi^ committed
141
				mirrors = {'http://firmware.services.ffbs/beta/sysupgrade'},
oni's avatar
oni committed
142
				good_signatures = 1,
143
				pubkeys = {
oni's avatar
oni committed
144
					'24e810335660d4b4e6da8d115dfa8e4283c931a5da5b337391311f14ef7fe445', -- oni 
145
					'4efefc817e93fed2df1176f07621f432d088ef1f534bf455195b363870278bb1', -- jenkins
146 147 148 149
					'9626ac01ba74cb834d587aebb01838b3ff45596a2413e86a70ac0e4852574ffd', -- chrissi
					'5c5e8b827e16f2cba06a18ab10795cec71cc6cb1ca9d41c0bce45a32f63510bc', -- kasa
					'fe87524673c463352991751c95173f0c87f176f786e7283f557dd6504f52720d', -- emantor
					'5b6cbc7829938949e1afbda3d0eb7827b9f0ccb733ef0ee67c8861733ac8e96a', -- larsan
150
				},
151
			},
152 153
			experimental = {
				name = 'experimental',
chrissi^'s avatar
chrissi^ committed
154
				mirrors = {'http://firmware.services.ffbs/experimental/sysupgrade'},
155 156
				good_signatures = 1,
				pubkeys = {
oni's avatar
oni committed
157
					'24e810335660d4b4e6da8d115dfa8e4283c931a5da5b337391311f14ef7fe445', -- oni 
158
					'4efefc817e93fed2df1176f07621f432d088ef1f534bf455195b363870278bb1', -- jenkins
159 160 161 162
					'9626ac01ba74cb834d587aebb01838b3ff45596a2413e86a70ac0e4852574ffd', -- chrissi
					'5c5e8b827e16f2cba06a18ab10795cec71cc6cb1ca9d41c0bce45a32f63510bc', -- kasa
					'fe87524673c463352991751c95173f0c87f176f786e7283f557dd6504f52720d', -- emantor
					'5b6cbc7829938949e1afbda3d0eb7827b9f0ccb733ef0ee67c8861733ac8e96a', -- larsan
163
				},
164
			},
165
		},
166 167
	},

chrissi^'s avatar
chrissi^ committed
168 169 170 171 172 173 174 175 176 177
	config_mode = {
		remote_login = {
			show_password_form = true,
		},
		geo_location = {
			osm = {
				center = {
					lat = 52.26469,
					lon = 10.52378,
				},
chrissi^'s avatar
chrissi^ committed
178
			},
chrissi^'s avatar
chrissi^ committed
179
			show_altitude = true,
chrissi^'s avatar
chrissi^ committed
180 181
		},
	},
chrissi^'s avatar
chrissi^ committed
182

183
	legacy = {
chrissi^'s avatar
chrissi^ committed
184 185
		version_files = {'/etc/.freifunk_version_keep', '/etc/.lff_version_keep'},
		old_files = {'/etc/config/config_mode', '/etc/config/ffbs', '/etc/config/freifunk'},
186

chrissi^'s avatar
chrissi^ committed
187 188 189 190 191
		config_mode_configs = {'config_mode', 'ffbs', 'freifunk'},
		fastd_configs = {'ffbs_mesh_vpn', 'mesh_vpn'},
		mesh_ifname = 'freifunk',
		tc_configs = {'ffbs', 'freifunk'},
		wifi_names = {'wifi_freifunk', 'wifi_freifunk5', 'wifi_mesh', 'wifi_mesh5'},
192
	},
oni's avatar
oni committed
193
}