Freifunk Franken Key Exchange
Go to file
Robert Langhammer 3c20fef096 Merge branch 'master' of https://git.freifunk-franken.de/rohammer/VPNkeyXchange-vxlan-test 2022-04-05 18:45:43 +02:00
hood Hood Nuernberg entfernt 2022-03-25 21:34:11 +01: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",
        ....
    }
}