libpeer icon indicating copy to clipboard operation
libpeer copied to clipboard

IPv6 support

Open richlegrand opened this issue 1 year ago • 1 comments

I'm noticing that some devices (phones) only have ipv6 addresses available. What is needed to support ipv6? Here's what I see:

  1. Add ipv6 support to open, bind, sendto, etc. in udp.c, and address.c.
  2. Get ipv6 addresses (local and global?) from device.
  3. ipv6 STUN
  4. Generate ipv6 ice candidates and an ipv6 reflexive candidate if needed.
  5. Generate candidate pairs by only matching local ipv4s to remote ipv4s and local ipv6s to remote ipv6s.

I feel like I can give these a try, but there are probably other things that I haven't thought of -- let me know your thoughts :)

thanks!

richlegrand avatar Nov 19 '23 14:11 richlegrand

Did you make any progress on this?

nonibytes avatar Mar 10 '24 17:03 nonibytes

Added ipv6 support: https://github.com/sepfy/libpeer/pull/72

sepfy avatar Jun 17 '24 08:06 sepfy