1
23.1 Legacy Series / UDP Broadcast Relay not starting when a WireGuard-Interface is selected
« on: February 06, 2023, 10:05:53 pm »
Hi together.
With OpnSense 22.7 running "UDP Broadcast Relay" worked well to 'join' three of my networks for Sonos' Speakers discovery:
- igb0
- ath0_wlan1
- wg0
With OpnSense 23.1, the relay does not start any more with this error in /var/log/system/latest.log:
Digging into deep: Command-line is
Trying to start manually from shell with debug enabled gives better hint to the problem:
Problem "ioctl(SIOCGIFBRDADDR): Invalid argument" disappears when "wg0" is no more in the list of to-be-connected interfaces (i.e connecting only igb0 and ath0_wlan1 works fine)
Can someone confirm this problem - and any hints?
Thx in advance.
With OpnSense 22.7 running "UDP Broadcast Relay" worked well to 'join' three of my networks for Sonos' Speakers discovery:
- igb0
- ath0_wlan1
- wg0
With OpnSense 23.1, the relay does not start any more with this error in /var/log/system/latest.log:
Code: [Select]
<13>1 2023-02-06T22:01:18+01:00 OPNsense.box root 41059 - [meta sequenceId="5"] /usr/local/etc/rc.d/os-udpbroadcastrelay: WARNING: failed to start osudpbroadcastrelayDigging into deep: Command-line is
Code: [Select]
/usr/local/sbin/udpbroadcastrelay --id 1 --dev igb0 --dev wg0 --dev ath0_wlan1 --port 1900 --multicast 239.255.255.250 -fTrying to start manually from shell with debug enabled gives better hint to the problem:
Code: [Select]
root@OPNsense:~ # /usr/local/sbin/udpbroadcastrelay --id 1 --dev igb0 --dev wg0 --dev ath0_wlan1 --port 1900 --multicast 239.255.255.250 -d
ID set to 1
Port set to 1900
ID: 1 (DSCP: 1, ToS: 0x04), Port 1900
igb0: 1 / 192.168.1.1 / 192.168.1.255
ioctl(SIOCGIFBRDADDR): Invalid argument
Problem "ioctl(SIOCGIFBRDADDR): Invalid argument" disappears when "wg0" is no more in the list of to-be-connected interfaces (i.e connecting only igb0 and ath0_wlan1 works fine)
Can someone confirm this problem - and any hints?
Thx in advance.

