https://bugs.winehq.org/show_bug.cgi?id=55799
Bug ID: 55799 Summary: ws2_32: setsockopt flag IP_RECVIF unimplemented Product: Wine Version: 6.0.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: Littlefighter1996@googlemail.com Distribution: ---
Created attachment 75287 --> https://bugs.winehq.org/attachment.cgi?id=75287 UDP Receive Program
Some applications require IP_RECVIF to be set in order to identify the source (IP Address and Interface) from which a message has been received.
This flag is not implemented, leading to either termination of the program or unexpected behavior.
https://bugs.winehq.org/show_bug.cgi?id=55799
--- Comment #1 from Patrick Littlefighter1996@googlemail.com --- Created attachment 75288 --> https://bugs.winehq.org/attachment.cgi?id=75288 UDP Receive Program (Source)
https://bugs.winehq.org/show_bug.cgi?id=55799
--- Comment #2 from Patrick Littlefighter1996@googlemail.com --- Created attachment 75289 --> https://bugs.winehq.org/attachment.cgi?id=75289 UDP Send Program
https://bugs.winehq.org/show_bug.cgi?id=55799
--- Comment #3 from Patrick Littlefighter1996@googlemail.com --- Created attachment 75290 --> https://bugs.winehq.org/attachment.cgi?id=75290 UDP Send Program (Source)
https://bugs.winehq.org/show_bug.cgi?id=55799
temp82@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |temp82@luukku.com
--- Comment #4 from temp82@luukku.com --- are you really using so old wine version? bugs should be reported against the latest development version of wine so fixes would land into future stable versions.
https://bugs.winehq.org/show_bug.cgi?id=55799
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #5 from Zeb Figura z.figura12@gmail.com --- (In reply to temp82 from comment #4)
are you really using so old wine version? bugs should be reported against the latest development version of wine so fixes would land into future stable versions.
True, but IP_RECVIF still isn't implemented, so it's not a big deal.
I don't suppose you can give the name of a real application affected by this?
https://bugs.winehq.org/show_bug.cgi?id=55799
--- Comment #6 from Patrick Littlefighter1996@googlemail.com --- (In reply to Zeb Figura from comment #5)
(In reply to temp82 from comment #4)
are you really using so old wine version? bugs should be reported against the latest development version of wine so fixes would land into future stable versions.
True, but IP_RECVIF still isn't implemented, so it's not a big deal.
I don't suppose you can give the name of a real application affected by this?
I would have to ask my boss first. (The application is still intended to be open-source, yet no final build has been released) It's a server application, which answers broadcasts of clients and sends them the info required to connect. (Think of it like a Quake lobby) To provide the appropriate IP address to the client on multi-network-adapter setups, it's necessary to perform a lookup.
I've noticed this during development on a Ubuntu (22.04) machine. (Which is running this old version of Wine).
For now, I can work around this, by using IP_PKTINFO and extracting the interface number from there, instead. This seems to work out just fine as a replacement.
https://bugs.winehq.org/show_bug.cgi?id=55799
Patrick Littlefighter1996@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #75288|0 |1 is obsolete| |
--- Comment #7 from Patrick Littlefighter1996@googlemail.com --- Created attachment 75315 --> https://bugs.winehq.org/attachment.cgi?id=75315 UDP Receive Program (Source)
https://bugs.winehq.org/show_bug.cgi?id=55799
Patrick Littlefighter1996@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #75287|0 |1 is obsolete| |
--- Comment #8 from Patrick Littlefighter1996@googlemail.com --- Created attachment 75316 --> https://bugs.winehq.org/attachment.cgi?id=75316 UDP Receive Program
https://bugs.winehq.org/show_bug.cgi?id=55799
--- Comment #9 from Zeb Figura z.figura12@gmail.com --- (In reply to Patrick from comment #6)
(In reply to Zeb Figura from comment #5)
(In reply to temp82 from comment #4)
are you really using so old wine version? bugs should be reported against the latest development version of wine so fixes would land into future stable versions.
True, but IP_RECVIF still isn't implemented, so it's not a big deal.
I don't suppose you can give the name of a real application affected by this?
I would have to ask my boss first. (The application is still intended to be open-source, yet no final build has been released)
Understandable, we just like traceability where possible.
(Though, if it's your own application, and you've already modified it to use IP_PKTINFO, should we still keep this open?)