ucentral-schema: update to latest HEAD

7615f04 allow preventing downstream interfaces from reaching rfc1918 subnets

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2023-11-07 14:02:06 +01:00
parent 546a7df54d
commit 2e5c9fbeb8
2 changed files with 77 additions and 2 deletions

View File

@@ -4,10 +4,10 @@ PKG_NAME:=ucentral-schema
PKG_RELEASE:=1
PKG_SOURCE_URL=https://github.com/Telecominfraproject/wlan-ucentral-schema.git
PKG_MIRROR_HASH:=4893535deee9027a3a1c2a3c041264314fa631175b3517b8ec38c989869786c4
PKG_MIRROR_HASH:=d48abe7a8d2ac63fae47b3bf06f8ad99ed80009988b861f0d8087f7b9f14bd23
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2022-05-29
PKG_SOURCE_VERSION:=2b884b3781c1315cc4dad934316d5eec7972c524
PKG_SOURCE_VERSION:=7615f040157e55ac4702ba59183e47a6f5b2bf6b
PKG_MAINTAINER:=John Crispin <john@phrozen.org>
PKG_LICENSE:=BSD-3-Clause

View File

@@ -0,0 +1,75 @@
{
"uuid": 2,
"radios": [
{
"band": "2G",
"country": "CA",
"channel-mode": "HE",
"channel-width": 20,
"channel": 1
}
],
"interfaces": [
{
"name": "WAN",
"role": "upstream",
"ethernet": [
{
"select-ports": [
"WAN*"
]
}
],
"ipv4": {
"addressing": "dynamic"
}
},
{
"name": "LAN",
"role": "downstream",
"services": [ "ssh" ],
"ethernet": [
{
"select-ports": [
"LAN*"
]
}
],
"ipv4": {
"addressing": "static",
"subnet": "192.168.1.1/24",
"dhcp": {
"lease-first": 10,
"lease-count": 100,
"lease-time": "6h"
},
"disallow-upstream-subnet": [
"192.168.0.0/16",
"127.16.0.0/12",
"10.0.0.0/8"
]
},
"ssids": [
{
"name": "OpenWifi",
"wifi-bands": [
"2G"
],
"bss-mode": "ap",
"encryption": {
"proto": "psk2",
"key": "OpenWifi",
"ieee80211w": "optional"
}
}
]
}
],
"services": {
"ssh": {
"port": 22
}
}
}