Freifunk Franken Key Exchange
Go to file
Robert Langhammer b1acd145a3 Hood Schweinfurt:
Add name to vxlan
2022-09-10 22:19:59 +02:00
hood Hood Schweinfurt: 2022-09-10 22:19:59 +02:00
poly Update database Jan 2022 2022-02-11 15:09:11 +01:00
voronoi Update database Jan 2022 2022-02-11 15:09:11 +01:00
.gitignore init 2020-01-12 18:16:36 +01:00
Readme.md init 2020-01-12 18:16:36 +01:00
get_hood.sh Update database Jan 2022 2022-02-11 15:09:11 +01:00
index.php check if lat/long is a number 2022-02-13 10:09:11 +01:00

Readme.md

Keyxchange

Written in awk and sh to be runable anywhere.

Get the code

$ git clone https://git.freifunk-franken.de/freifunk-franken/VPNkeyXchange.git
$ cd VPNkeyXchange

Run it

$ ./get_hood.sh
$ ./get_hood.sh $LAT $LON

Example

$ ./get_hood.sh 49.92287650 11.03302002
{
    "version": 1,
    "network": {
        ...
    },
    "vpn": [
        ...
    ],
    "hood": {
        "id": "43",
        "name": "Bamberg",
        "essid": "bamberg.freifunk",
        ....
    }
}