Closed aefo closed 4 years ago
May I ask which version of python you are using?
This was a python2 vs python3 issue - fixed in https://github.com/alsmith/multicast-relay/commit/127704fb4a6fb16bafe698289994790f34e828e1
Thanks for the quickly reply & change. As you guessed, I'm using python3
bash-4.4# python3 --version
Python 3.6.9
Updating to your latest seems to get it going further and reporting transferring messages,
Thanks,
bash-4.4# ./start.sh
starting multicast-relay
Using Interfaces: eth0 wg0
Using Options --foreground --verbose --allowNonEther
Jun-05 12:12:22 /etc/app/multicast-relay/multicast-relay.py INFO: Adding multicast relay for 224.0.0.251:5353 (mDNS)
Jun-05 12:12:22 /etc/app/multicast-relay/multicast-relay.py INFO: Adding multicast relay for 239.255.255.250:1900 (SSDP)
Jun-05 12:12:23 /etc/app/multicast-relay/multicast-relay.py INFO: Adding broadcast relay for 255.255.255.255:6969 (Sonos Discovery)
Jun-05 12:12:27 /etc/app/multicast-relay/multicast-relay.py INFO: [SSDP] Relayed 356 bytes from 192.168.1.254:1900 on eth0 [ttl 4] to 239.255.255.250:1900 via wg0/10.6.0.1
Jun-05 12:12:27 /etc/app/multicast-relay/multicast-relay.py INFO: [SSDP] Relayed 347 bytes from 192.168.1.254:1900 on eth0 [ttl 4] to 239.255.255.250:1900 via wg0/10.6.0.1
Jun-05 12:12:27 /etc/app/multicast-relay/multicast-relay.py INFO: [SSDP] Relayed 399 bytes from 192.168.1.254:1900 on eth0 [ttl 4] to 239.255.255.250:1900 via wg0/10.6.0.1
Super - thanks for the feedback !
The last version stop working at my python2.7 the MDNS, don't know why
Unfortunately I'd broken the UDP checksum calculation code - it's mended now. Apologies!
I'm trying to bridge / reflect / repeat SSDP traffic from a Wireguard connection to my home network. To check, is this something that should be possible?
I've tried running it and get the output error below. (I needed to add the allowNonEther option as otherwise it reported that it couldn't find out the MAC address for wg0).
(For reference I'm running it in Docker following https://github.com/scyto/multicast-relay)
Thanks,