ws2_32: Patch to selectively bind to interfaces while still allowing broadcast packets (try 2)

Erich Hoover ehoover at mines.edu
Tue Oct 4 11:51:26 CDT 2011


Real Name:
    Erich Hoover

Description:
    I know it's been quite a while, but I'm back with another solution
for Bug #7929.  This patch uses SO_BINDTODEVICE in order to bind a
socket to a specific interface while still allowing broadcast packets
(a Linux-only feature).  While this feature normally requires root
privileges, it can also be enabled by giving wine-preloader the
CAP_NET_RAW capability.  Should insufficient permissions be available,
the patch outputs an appropriate error message notifying the user that
broadcast packets will not function properly.

Changelog:
    ws2_32: Patch to selectively bind to interfaces while still
allowing broadcast packets.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ws2_32-Selectively-bind-UDP-sockets-to-interfaces-wh.patch
Type: text/x-patch
Size: 4926 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111004/73d777bb/attachment.bin>


More information about the wine-patches mailing list