shinyoshiaki / werift-webrtc

WebRTC Implementation for TypeScript (Node.js), includes ICE/DTLS/SCTP/RTP/SRTP/WEBM/MP4
MIT License
469 stars 30 forks source link

don't use autoconfiguration addreses for ice. #314

Closed koush closed 1 year ago

koush commented 1 year ago

Addresses starting with "169.254." are auto configuration addresses when there's no DHCP server and no static IP. This can happen by having a network dongle connected, or even a Mac Studio display. For example two Mac Studio displays would add two auto configuration addresses on en6 and en7. I don't think these should be used. Caused a few bugs on end user installations of Scrypted. Alternatively, we could consider a generalized host address filter.