Compare commits

...

23 Commits

Author SHA1 Message Date
nevadita.chatterjee
02800eac8a map-controller: 2.8.0.29 2023-09-21 17:55:38 +05:30
Filip Matusiak
8fc0f4d52a map-controller: 2.8.0.28 2023-09-20 09:42:26 +02:00
Filip Matusiak
f6bad19bbc map-controller: 2.8.0.27 2023-09-19 09:56:43 +02:00
Lukasz Kotasa
27adda5eec libbbfdm: 6.8.9.38, endptmngr:0.11 2023-09-13 11:16:26 +02:00
Filip Matusiak
dc8526c40a map-agent: 2.10.4.6 2023-09-08 14:06:20 +00:00
Wenpeng Song
ceb25a46a7 endptmngr:0.10
Support decode codecs cap list to improve decoding flexibility and robustness
2023-09-06 09:16:52 +00:00
Grzegorz Sluja
d715cfff40 endptmngr: 0.9
791c997 Convert latency from Broadcom in ms to tr104 averageRoundTripDelay in us
197d765 Free ubus context memory when closing it
2023-09-04 09:57:12 +02:00
Grzegorz Sluja
e417e5bd3c dectmngr-3.5.14: upgrading to DSPG 4.13 Build19 2023-08-31 11:42:39 +00:00
Marek Puzyniak
7a5f25c60b decollector: 2.10.1.3 2023-08-17 21:52:59 +00:00
Marek Puzyniak
7f237dd5c1 map-controller: 2.8.0.26 2023-08-17 21:48:55 +00:00
Marek Puzyniak
0a104811cc map-topology: 2.5.0.19 2023-08-17 21:46:29 +00:00
Marek Puzyniak
8687492bc9 map-agent: 2.10.4.5 2023-08-17 21:40:14 +00:00
Marek Puzyniak
b13df199eb ieee1905: 4.10.41 2023-08-17 21:35:18 +00:00
Grzegorz Sluja
963fe0b277 dectmngr: 3.5.12
Fix getting handset's string after call mode changes
2023-08-16 17:10:23 +02:00
Jakob Olsson
3f9598b816 map-agent: 2.10.4.4 2023-08-14 15:25:01 +02:00
Jakob Olsson
ab548fca8e map-agent: traffic_separation: guest-to-guest isolation fixes and refactor 2023-08-14 13:19:09 +00:00
Grzegorz Sluja
6f8f7933e8 endptmngr: 0.8
Add support for single/multiple call mode
2023-08-11 15:27:52 +02:00
Grzegorz Sluja
7cb2008549 dectmngr: 3.5.11
fixup! Handle DECT call modes correctly with call_waiting settings
2023-08-11 15:26:32 +02:00
Jakob Olsson
58dc0045de map-agent: 2.10.4.3 2023-08-09 17:52:05 +02:00
Grzegorz Sluja
8fd3a93874 endptmngr: Remove unused event EPEVT_MEDIA 2023-08-01 10:42:54 +02:00
Grzegorz Sluja
6904c169c5 dectmngr: Handle DECT call modes correctly with call_waiting settings 2023-07-28 10:40:03 +02:00
Grzegorz Sluja
52f6c72128 endptmngr: Handle clid info in call waiting 2023-07-21 12:08:18 +02:00
nevadita.chatterjee
d3474707e7 map-agent: 2.10.4.2 2023-07-18 19:16:07 +05:30
10 changed files with 133 additions and 85 deletions

View File

@@ -5,11 +5,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=libbbfdm
PKG_VERSION:=6.8.9.37
PKG_VERSION:=6.8.9.38
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/bbfdm.git
PKG_SOURCE_VERSION:=925a6ee278d827edf6a57715463263394eddac21
PKG_SOURCE_VERSION:=aa2ce1bf46bb5ff271402fccb9e73e6c63c65695
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_MIRROR_HASH:=skip

View File

@@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dectmngr
PKG_RELEASE:=3
PKG_VERSION:=3.5.9
PKG_VERSION:=3.5.14
LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/dectmngr.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=eecab9a6d52bba25dd9dfab8616b6d30e0346e18
PKG_SOURCE_VERSION:=4f16755f8ac09d373234565f050832c049bdf543
PKG_MIRROR_HASH:=skip
endif

View File

@@ -7,13 +7,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=endptmngr
PKG_VERSION:=0.7
PKG_VERSION:=0.11
LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/endptmngr.git
PKG_SOURCE_VERSION:=e5fb705f3a1b6065606e0cba82a54fb6eee10ae9
PKG_SOURCE_VERSION:=2d56ea0d6c45e618c92bc6d63802ffdc5c307740
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_MIRROR_HASH:=skip
endif

View File

@@ -5,12 +5,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=ieee1905
PKG_VERSION:=4.10.40
PKG_VERSION:=4.10.41
LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=4533751a58cfb0fcf4ee878785f6c0872949c68d
PKG_SOURCE_VERSION:=5c36293244d40c6a71f451db4acd8fa5656cdfbb
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/ieee1905.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
PKG_MIRROR_HASH:=skip

View File

@@ -5,9 +5,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=map-agent
PKG_VERSION:=2.10.4.1
PKG_VERSION:=2.10.4.6
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=9e52e1476bd012914dfdd454cb16b292c99a0669
PKG_SOURCE_VERSION:=e1978e7b7be0b1f3f4e2b9539d1edfd1898b8083
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@iopsys.eu>
PKG_LICENSE:=BSD-3-Clause

View File

@@ -97,6 +97,25 @@ EOF
_network_cleanup $vid
}
net_get_albridge_ip() {
local section=$1
config_get device "$section" device
[ "${AL_BRIDGE}" = "$device" -o "${AL_BRIDGE}.${PRIMARY_VID}" = "$device" ] && {
ipaddr="$(uci -q get network.${section}.ipaddr)"
netmask="$(uci -q get network.${section}.netmask)"
break;
}
}
map_get_ports() {
local br_dev="${AL_BRIDGE/-/_}"
local all_ports=$(uci -q get network.${br_dev}.ports)
echo "$all_ports"
}
ts_create() {
_dhcp_setup() {
local name=$1
@@ -128,6 +147,11 @@ EOF
local subnet=$(($vid % 256))
local ipaddr="192.168.${subnet}.1"
config_foreach net_get_albridge_ip interface $PRIMARY_VID
# replace third octet of the ip with $subnet
ipaddr=$(echo $ipaddr | sed "s/\(\([0-9]\{1,3\}\.\)\{2\}\)[0-9]\{1,3\}/\1${subnet}/")
config_load firewall
_process_zone() {
@@ -223,79 +247,68 @@ EOF
}
}
net_set_primary() {
local section=$1
local pvid=$2
config_get device "$section" device
[ "${AL_BRIDGE}" = "$device" ] && {
uci -q set network.${section}.device="${AL_BRIDGE}.${pvid}"
uci -q commit network
diff="1"
break;
}
}
local vid=$1
diff=""
config_load network
#[ -x "/usr/sbin/mapcontroller" ] && config_foreach net_set_primary interface $PRIMARY_VID
local name="vlan${vid}"
local br_dev="${AL_BRIDGE/-/_}"
local tag=":t"
local self_flags="untagged"
local map_ports="$(map_get_ports)"
# add bridge-vlan section for $vid if doesnt exist
exists=$(config_foreach net_check_for_vlan bridge-vlan $vid)
[ -z "$exists" ] && {
local name="vlan${vid}"
local br_dev="${AL_BRIDGE/-/_}"
local tag=":t"
local self_flags="untagged"
uci -q set network.${name}="bridge-vlan"
uci -q set network.${name}.name="${name}"
uci -q set network.${name}.device="$AL_BRIDGE"
uci -q set network.${name}.vlan="$vid"
[ "${vid}" = "${PRIMARY_VID}" ] && {
# self_flags="untagged pvid"
uci -q set network.${name}.flags="untagged pvid"
tag=":*"
}
# uci -q set network.${name}.flags="${self_flags}"
uci -q set network.${name}.local='1'
for port in $(uci -q get network.${br_dev}.ports) ; do
uci -q get network.${name}.ports | grep -q "${port}${tag}" && continue
uci -q add_list network.${name}.ports="${port}${tag}"
done
uci -q commit network
diff="1"
}
# guest vids are trunked
[ "${vid}" = "${PRIMARY_VID}" ] && {
# self_flags="untagged pvid"
uci -q set network.${name}.flags="untagged pvid"
tag=":*"
}
uci -q set network.${name}.local='1'
uci -q delete network.${name}.ports
# support tagging for all map_port
for port in $map_ports ; do
uci -q get network.${name}.ports | grep -q "${port}" && {
uci -q del_list network.${name}.ports="${port}"
}
uci -q add_list network.${name}.ports="${port}${tag}"
done
# non-map ports add PVID egress untagged
[ "${vid}" = "${PRIMARY_VID}" ] && {
for port in $(uci -q get network.${br_dev}.ports) ; do
uci -q get network.${name}.ports | grep -q "${port}" && continue
uci -q add_list network.${name}.ports="${port}"
done
}
uci -q commit network
diff="1"
# add interface sections for subinterface if doesnt exist
exists=$(config_foreach net_check_for_network interface $vid)
[ -z "$exists" -a "$PRIMARY_VID" != "$vid" -a -x "/usr/sbin/mapcontroller" ] && {
net_get_albridge_ip() {
local section=$1
config_get device "$section" device
[ "${AL_BRIDGE}" = "$device" -o "${AL_BRIDGE}.${PRIMARY_VID}" = "$device" ] && {
ipaddr="$(uci -q get network.${section}.ipaddr)"
netmask="$(uci -q get network.${section}.netmask)"
break;
}
}
local name="guest${vid}"
local br_dev="${AL_BRIDGE/-/_}"
local tag=":t"
local self_flags="untagged"
local subnet=$(($vid % 256))
netmask="255.255.255.0"
ipaddr="192.168.1.1"
config_load network
config_foreach net_get_albridge_ip interface $PRIMARY_VID
# replace third octet of the ip with $subnet
@@ -461,7 +474,45 @@ EOF
fcctl flush
}
ts_isolate() {
ts_isolate_wds() {
local action=$1 # add/del
local ifname=$2 # guest fbss name
local wds=$3 # 4addr interface name or prefix+
local br_dev="${AL_BRIDGE/-/_}"
local map_ports="$(map_get_ports)"
local all_ports=$(uci -q get network.${br_dev}.ports)
[ -z "$wds" -o -z "$ifname" ] && return
ebtables -D FORWARD -i $ifname -o $wds -j DROP > /dev/null 2>&1
ebtables -D FORWARD -i $wds -o $ifname -j DROP > /dev/null 2>&1
ebtables -D FORWARD -i $wds -o $wds -p 802_1Q --vlan-id ! $PRIMARY_VID -j DROP > /dev/null 2>&1
# must not drop traffic to upstream
json_load "$(cat $MAP_BH_FILE)"
json_get_var bk_ifname ifname
json_cleanup
# isolate eth map ports
for port in $all_ports ; do
ebtables -D FORWARD -i $wds -o $port -j DROP > /dev/null 2>&1
ebtables -D FORWARD -i $port -o $wds -j DROP > /dev/null 2>&1
done
[ "$action" != "add" ] && return
for port in $map_ports ; do
[ "$port" = "$bk_ifname" ] && continue
ebtables -A FORWARD -i $wds -o $port -j DROP > /dev/null 2>&1
ebtables -A FORWARD -i $port -o $wds -j DROP > /dev/null 2>&1
done
ebtables -A FORWARD -i $ifname -o $wds -j DROP > /dev/null 2>&1
ebtables -A FORWARD -i $wds -o $ifname -j DROP > /dev/null 2>&1
ebtables -A FORWARD -i $wds -o $wds -p 802_1Q --vlan-id ! $PRIMARY_VID -j DROP > /dev/null 2>&1
}
ts_isolate_ap() {
ts_isolate_radio() {
local section=$1
local action=$2
@@ -478,11 +529,11 @@ EOF
config_get apifname "$section" ifname
[ "$ifname" = "$apifname" ] && continue # this should never happen
ebtables -D FORWARD -i $ifname --o $apifname -j DROP > /dev/null 2>&1
ebtables -D FORWARD -i $ifname -o $apifname -j DROP > /dev/null 2>&1
[ "$action" != "add" ] && continue
ebtables -A FORWARD -i $ifname --o $apifname -j DROP > /dev/null 2>&1
ebtables -A FORWARD -i $ifname -o $apifname -j DROP > /dev/null 2>&1
}
local action=$1
shift
@@ -494,10 +545,11 @@ EOF
shift
local ifname=$1 # guest fbss name
shift
local ifprefix=$1 # 4addr mode ifname prefix
local br_dev="${AL_BRIDGE/-/_}"
local map_ports="$(map_get_ports)"
local all_ports=$(uci -q get network.${br_dev}.ports)
[ -z "$pvid" -o -z "$ifprefix" -o -z "$ifname" ] && return
[ -z "$pvid" -o -z "$ifname" ] && return
config_load mapagent
config_foreach ts_isolate_radio ap $action $band $vid $ifname
@@ -507,23 +559,18 @@ EOF
json_get_var bk_ifname ifname
json_cleanup
for prefix in $@; do
ebtables -D FORWARD -i $ifname --o ${prefix}+ -j DROP > /dev/null 2>&1
ebtables -D FORWARD -i ${prefix}+ --o $ifname -j DROP > /dev/null 2>&1
# isolate eth map ports
for port in $all_ports ; do
ebtables -D FORWARD -i $ifname -o $port -j DROP > /dev/null 2>&1
ebtables -D FORWARD -i $port -o $ifname -j DROP > /dev/null 2>&1
done
# isolate eth interfaces
for port in $(uci -q get network.${br_dev}.ports) ; do
ebtables -D FORWARD -i $ifname --o $port -j DROP > /dev/null 2>&1
ebtables -D FORWARD -i $port --o $ifname -j DROP > /dev/null 2>&1
[ "$action" != "add" ] && return
[ "$action" != "add" -o "$port" = "$bk_ifname" ] && continue
ebtables -A FORWARD -i $ifname --o $port -j DROP > /dev/null 2>&1
ebtables -A FORWARD -i $port --o $ifname -j DROP > /dev/null 2>&1
done
[ "$action" != "add" ] && continue
ebtables -A FORWARD -i $ifname --o ${prefix}+ -j DROP > /dev/null 2>&1
ebtables -A FORWARD -i ${prefix}+ --o $ifname -j DROP > /dev/null 2>&1
for port in $map_ports ; do
[ "$port" = "$bk_ifname" ] && continue
ebtables -A FORWARD -i $ifname -o $port -j DROP > /dev/null 2>&1
ebtables -A FORWARD -i $port -o $ifname -j DROP > /dev/null 2>&1
done
}
@@ -535,7 +582,8 @@ EOF
keep) ts_dbg "keep $@"; ts_keep $@;;
reload) ts_dbg "reload $@"; ts_reload $@;;
cleanup) ts_dbg "cleanup $@"; ts_cleanup $@;;
isolate) ts_dbg "isolate $@"; ts_isolate $@;;
isolate_ap) ts_dbg "isolate_ap $@"; ts_isolate_ap $@;;
isolate_wds) ts_dbg "isolate_wds $@"; ts_isolate_wds $@;;
--help|help) ts_usage;;
*) ts_usage; exit 1;;
esac

View File

@@ -5,9 +5,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=map-controller
PKG_VERSION:=2.8.0.25
PKG_VERSION:=2.8.0.29
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=209ffb0bb4932e29e3d4d05f515b71985491abce
PKG_SOURCE_VERSION:=975ec3e88e0e134e29abdb85ec3bd798f13cc3bb
LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)

View File

@@ -6,11 +6,11 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=map-topology
PKG_VERSION:=2.5.0.18
PKG_VERSION:=2.5.0.19
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_VERSION:=be7e37f2c85f3142af827a0279d2eec7088d796a
PKG_SOURCE_VERSION:=369df96b1abab0be5019e164cf63f00f7153730c
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/map-topology.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz

View File

@@ -5,12 +5,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=wfadatad
PKG_VERSION:=2.10.1.2
PKG_VERSION:=2.10.1.3
LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=40c8630ec755840e0ece16ab3102d056563daef3
PKG_SOURCE_VERSION:=9a76703df8faf4165dce70a6e0c9f69bead91d7e
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/wfadatad.git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz
PKG_MIRROR_HASH:=skip