| Summary: | NetworkRTCUDPSocketCocoaConnections should handle NAT64 IP addresses correctly | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | youenn fablet <youennf> | ||||||||||||||||
| Component: | WebRTC | Assignee: | youenn fablet <youennf> | ||||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||||
| Severity: | Normal | CC: | achristensen, eric.carlson, neo.jung, webkit-bug-importer, youennf | ||||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
youenn fablet
2021-09-21 07:06:43 PDT
Created attachment 438812 [details]
Patch
Created attachment 438817 [details]
Patch
Created attachment 438818 [details]
Patch
Comment on attachment 438818 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=438818&action=review > Source/WebKit/NetworkProcess/webrtc/NetworkRTCUDPSocketCocoa.mm:158 > + std::unique_ptr<struct ifaddrs> toBefreed(interfaces); Capital F > Source/WebKit/NetworkProcess/webrtc/NetworkRTCUDPSocketCocoa.mm:168 > + return nw_nat64_does_interface_index_support_nat64(if_nametoindex(interface->ifa_name)); Documentation says this was only intended for one client. We are not that client. > Source/WebKit/NetworkProcess/webrtc/NetworkRTCUDPSocketCocoa.mm:182 > + return "0.0.0.0"; Why this address? Comment on attachment 438818 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=438818&action=review > Source/WebKit/NetworkProcess/webrtc/NetworkRTCUDPSocketCocoa.mm:154 > +#if USE(APPLE_INTERNAL_SDK) I think it would be better to add NetworkSPI.h rather than have different behavior like this only in internal builds. That is what our SPI headers are for. Created attachment 438824 [details]
Patch
Created attachment 438826 [details]
toBefreed fix
Created attachment 438830 [details]
Fix missing export
ChangeLog entry in Source/ThirdParty/libwebrtc/ChangeLog contains OOPS!. Created attachment 438833 [details]
Patch
Committed r282831 (241962@main): <https://commits.webkit.org/241962@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438833 [details]. *** Bug 231733 has been marked as a duplicate of this bug. *** |