Hood file: Unterschied zwischen den Versionen
(Die Seite wurde neu angelegt: „Das Hood File enthält die Konfiguration der Router in einer [https://wiki.freifunk-franken.de/w/KeyXchangeV2 V2-Hood] bzw. für [https://wiki.freifunk-franken…“) |
KKeine Bearbeitungszusammenfassung |
||
Zeile 7: | Zeile 7: | ||
http://keyserver.freifunk-franken.de/v2/?lat=50&long=12 | http://keyserver.freifunk-franken.de/v2/?lat=50&long=12 | ||
< | <code> | ||
{"version":1,"network":{"ula_prefix":"fd43:5602:29bd:21:\/64"},"vpn":[{"name":"fff-kronos","protocol":"fastd","address":"84.23.95.3","port":"10003","key":"3834e45fa33c048f975e81042c1e93bb11dac82d9f03a0b24071bb72205247a8"},{"name":"fff-hof-gw3","protocol":"fastd","address":"5.9.67.125","port":"10008","key":"12618361ed5c7b193f28f5b463444506533c2c48552aa7c4c4542365de6f41b0"}],"hood":{"name":"FichtelgebirgeSued","essid":"fichtelgebirge.sued.freifunk","mesh_bssid":"","mesh_essid":"smesh.fichtel.freifunk","mesh_id":"smesh.fichtel.freifunk","protocol":"batman-adv-v15","channel2":"13","mode2":"ht20","mesh_type2":"802.11s","channel5":"40","mode5":"ht20","mesh_type5":"802.11s","upgrade_path":"","ntp_ip":"fd43:5602:29bd:ffff::1","timestamp":"1515353626","location":{"lat":"49.9743","lon":"11.8652"}}} | {"version":1,"network":{"ula_prefix":"fd43:5602:29bd:21:\/64"},"vpn":[{"name":"fff-kronos","protocol":"fastd","address":"84.23.95.3","port":"10003","key":"3834e45fa33c048f975e81042c1e93bb11dac82d9f03a0b24071bb72205247a8"},{"name":"fff-hof-gw3","protocol":"fastd","address":"5.9.67.125","port":"10008","key":"12618361ed5c7b193f28f5b463444506533c2c48552aa7c4c4542365de6f41b0"}],"hood":{"name":"FichtelgebirgeSued","essid":"fichtelgebirge.sued.freifunk","mesh_bssid":"","mesh_essid":"smesh.fichtel.freifunk","mesh_id":"smesh.fichtel.freifunk","protocol":"batman-adv-v15","channel2":"13","mode2":"ht20","mesh_type2":"802.11s","channel5":"40","mode5":"ht20","mesh_type5":"802.11s","upgrade_path":"","ntp_ip":"fd43:5602:29bd:ffff::1","timestamp":"1515353626","location":{"lat":"49.9743","lon":"11.8652"}}} | ||
</ | </code> | ||
==== Parameter ==== | ==== Parameter ==== |
Version vom 14. Juni 2018, 12:05 Uhr
Das Hood File enthält die Konfiguration der Router in einer V2-Hood bzw. für dezentrale Hoods basierend auf der L3-Firmware.
Dieses Hood File wird dann per Mesh weitergegeben.
Für die zentral verwalteten Hoods erhält man je nach Koordinaten ein Hoodfile vom KeyXchangeV2 (alle Router mit Internet-Uplink rufen einfach diese Adresse auf):
http://keyserver.freifunk-franken.de/v2/?lat=50&long=12
{"version":1,"network":{"ula_prefix":"fd43:5602:29bd:21:\/64"},"vpn":[{"name":"fff-kronos","protocol":"fastd","address":"84.23.95.3","port":"10003","key":"3834e45fa33c048f975e81042c1e93bb11dac82d9f03a0b24071bb72205247a8"},{"name":"fff-hof-gw3","protocol":"fastd","address":"5.9.67.125","port":"10008","key":"12618361ed5c7b193f28f5b463444506533c2c48552aa7c4c4542365de6f41b0"}],"hood":{"name":"FichtelgebirgeSued","essid":"fichtelgebirge.sued.freifunk","mesh_bssid":"","mesh_essid":"smesh.fichtel.freifunk","mesh_id":"smesh.fichtel.freifunk","protocol":"batman-adv-v15","channel2":"13","mode2":"ht20","mesh_type2":"802.11s","channel5":"40","mode5":"ht20","mesh_type5":"802.11s","upgrade_path":"","ntp_ip":"fd43:5602:29bd:ffff::1","timestamp":"1515353626","location":{"lat":"49.9743","lon":"11.8652"}}}
Parameter
Name | Optionen | Beschreibung |
---|---|---|
version | "1" | ... |
network:ula_prefix | IPv6 prefix (<=64) | Prefix für Router und Clients in der Hood (aus dem ganzen FF-Netz erreichbar) |
vpn | Liste | Gateway-VPN-Daten |
hood:name | string | Anzeige-Name der Hood (möglichst ohne Leerzeichen) |
hood:essid | SSID | SSID für den Wifi AP |
hood:mesh_bssid | BSSID | BSSID für Mesh via IBSS |
hood:mesh_essid | ESSID | ESSID für Mesh via IBSS |
hood:mesh_id | SSID | SSID für Mesh via 802.11s |
hood:protocol | "batman-adv-v15" | andere Angaben setzen eigene FW-Implementierung voraus |
hood:channel2 | int | WLAN-Kanal 2.4 GHz |
hood:mode2 | "ht20" | WLAN-Frequenzbreite 2.4 GHz |
hood:mesh_type2 | "802.11s"/"ibss"/"none" | Mesh-Protokoll ("none" deaktiviert Meshing in der Hood) |
hood:channel5 | int | WLAN-Kanal 5 GHz |
hood:mode5 | "ht20" | WLAN-Frequenzbreite 5 GHz |
hood:mesh_type5 | "802.11s"/"ibss"/"none" | Mesh-Protokoll ("none" deaktiviert Meshing in der Hood) |
hood:upgrade_path | URL | URL of upgrade server |
hood:ntp_ip | IP | IP address of NTP Server |
hood:timestamp | Timestamp | Last change of Hood file |
hood:location:lat | double | Hood center location latitude (or dez. GW Position) |
hood:location:lon | double | Hood center location longitude (or dez. GW Position) |