Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

IPv6 support? #18

Open
lanrat opened this issue Apr 19, 2021 · 4 comments
Open

IPv6 support? #18

lanrat opened this issue Apr 19, 2021 · 4 comments

Comments

@lanrat
Copy link

lanrat commented Apr 19, 2021

When trying to join an IPv6 multicast group, udp-broadcast-relay-redux tries to add it to the IPv4 address for the interface.

$ sudo ./udp-broadcast-relay-redux  -d --dev eno0 --dev eno0.2 --id 5 --port 5353 --multicast f02::fb
ID set to 5
Port set to 5353
ID: 5 (ttl: 69), Port 5353
eno0: 2 / 192.168.1.4 / 192.168.1.255
eno0.2: 4 / 192.168.2.4 / 192.168.2.255
found 2 interfaces total
IP_ADD_MEMBERSHIP:              192.168.1.4 f02::fb
IP_ADD_MEMBERSHIP on rcv: Invalid argument
@ajkavanagh
Copy link
Collaborator

Unfortunately, udp-broadcast-relay doesn't support IPv6 yet (i.e. it only supports AF_INET rather than AF_INET and AF_INET6). I think it could be reworked to support it, but it would need additional options to indicate that they are ipv6 addresses, and to use ipv6 sockets, etc.

@kk7ds
Copy link

kk7ds commented Jan 9, 2022

Just wanted to throw a "me too" on this. There are certain (poorly-behaved, IMHO) devices that seem to only advertise on ipv6 mDNS right now. Being poorly-behaved, I also want them corralled into their own subnet. I think an avahi repeater is the only way to do this for those devices right now, but I'd much rather be using this much simpler tool for that.

@Ramalama2
Copy link

please add ipv6 support.
here is an poor user that has samba on a server vlan and users on a user vlan.
to make the users to be able to see the samba server via discovery (wsdd), we need ipv6 support either.

Thanks!

@ajkavanagh
Copy link
Collaborator

please add ipv6 support.

I'm not actually running ipv6 in my router as my ISP doesn't support it. I could run a tunnel, but I just haven't got around to it. Thus, I'm not really able to test ipv6 support properly. However, patches to add the feature are welcome!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants