[Bug 1318] - wine problem with Visual Basic 6.0

wine-bugs at winehq.com wine-bugs at winehq.com
Mon Mar 31 03:33:01 CST 2003


http://bugs.winehq.com/show_bug.cgi?id=1318

mike at theoretic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From mike at theoretic.com  2003-03-31 03:33 -------
OK, I'm currently working in this area, any my app attempts to use multicast, so
I have a feeling I'm going to hit this problem sooner or later.

A bit of research leads me to conclude that the problem is that Linux prevents
you from sending packets to a broadcast address, unless the SO_BROADCAST option
is switched on. If you're root, this rule no longer applies, which is why
running the program as root fixes it.

This gives us a problem. Windows 9x allows broadcast sockets without any
security. Windows NT+ does not (you have to be an administrator).

I'm going to mark this WONTFIX - I believe it's not actually a bug, rather just
a part of the Linux security system. I guess we could detect broadcast addresses
and set SO_BROADCAST manually in win9x mode, but I'm not convinced it'd actually
be a good idea.

Reporter - I'd suggest you just run the app as root and trust it: writing to
broadcast addresses is essentially a trusted operation anyway as you can easily
flood the local subnet.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1318>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list