[Bug 15363] New: ICMP ping failed with non-root privileges
http://bugs.winehq.org/show_bug.cgi?id=15363 Summary: ICMP ping failed with non-root privileges Product: Wine Version: 1.0.0 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock AssignedTo: wine-bugs(a)winehq.org ReportedBy: sysrq(a)web.de Created an attachment (id=16206) --> (http://bugs.winehq.org/attachment.cgi?id=16206) trace with failed ICMP ping attempts I am running a program which executes an ICMP ping to check lag to other clients. The program uses ping very often. Everytime the program tries to execute a ICMP ping, the following error eccours: WARNING: Trying to use ICMP (network ping) will fail unless running as root I dont want to run wine with root privileges. It just makes no sense to give wine full root privileges just to run a ICMP ping. I run the program with WINEDEBUG=+winsock wine Program.exe > trace.txt 2>&1 to create a trace.txt which contains some debuging information. I attached it to this bug report. I am not sure, but I guess that wine tries to execute a sendto() to the kernel to open a PF_INET socket. But to open a PF_INET socket root privileges are neccesary, I guess. There must be another way to allow wine to execute an ICMP ping. One solution would be that wine uses /bin/ping. But I dont know if this is the best solution. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15363 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX --- Comment #1 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-09-21 17:32:52 --- That's the standard access limitations in Linux. Nothing Wine can do about that. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15363 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2008-09-21 17:34:41 --- And in case you didn't notice before, ping is siud: $ls -la /bin/ping -rwsr-xr-x 1 root root 40584 2008-06-06 15:05 /bin/ping Closing. Use your system to give Wine more rights. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=15363 --- Comment #3 from Kai Blin <kai.blin(a)gmail.com> 2008-09-21 21:59:12 --- were you trying to do this as root? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org