Use raw socket on OS X?

Andrew Udvare <[email protected]> Mon, 12 Aug 2013 09:55:56 -0700
Newsgroups gmane.comp.emulators.wine.user
Message-ID <CAJfjkGpmbiTi8uw76Kcpim=Rgux3CfsCmoph0cYxMy35qbHU6g@mail.gmail.com>
I have an application that requires use of SOCK_RAW. On Linux the solution
is okay: sudo setcap cap_net_raw+epi /usr/bin/wineserver. However, such a
thing does not exist on OS X.

I did try chmod o+rw on /dev/bpf* (like Wireshark apparently does) but this
does not work either. The application still crashes upon trying to open a
raw socket.

Has anyone worked around this issue on OS X besides running as root? (For
me running as root fails miserably and of course I would prefer not to).

Thanks
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-users/attachments/20130812/8532b60a/attachment.html>