Re: icmp states I need to be running wine as root

2007-12-29 Thread Saulius Krasuckas
* On Sun, 21 Oct 2007, Juan Lang wrote: > > > Isn't there another way to do this than with SOCK_RAW, or having to > > run wine as root? > > In answer to your second question: yes, modify the Linux kernel not > to have such restrictions. Well, there are already patches which modifies it in one

Re: icmp states I need to be running wine as root

2007-10-21 Thread Juan Lang
> Why can't the ping request be forwarded to the linux ping executable that I > have the ability to run rather than trying to open a new raw socket which I > don't have permission to do? Patches always welcome. --Juan

RE: icmp states I need to be running wine as root

2007-10-21 Thread EA Durbin
> Date: Sun, 21 Oct 2007 14:26:58 -0700> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Subject: Re: icmp states I need to be running wine as root> CC: wine-devel@winehq.org>>> I can ping in linux without being a superuser? Isn&#

RE: icmp states I need to be running wine as root

2007-10-21 Thread Uwe Bonnes
> "EA" == EA Durbin <[EMAIL PROTECTED]> writes: ... EA> I can ping in linux without being a superuser? Isn't there another EA> way to do this than with SOCK_RAW, or having to run wine as root? > ls -l /bin/ping -rwsr-xr-x 1 root root 39496 25. Nov 2006 /bin/ping ping is suid root. Ca

Re: icmp states I need to be running wine as root

2007-10-21 Thread Juan Lang
> I can ping in linux without being a superuser? Isn't there another way to do > this than with SOCK_RAW, or having to run wine as root? I think you mean the first sentence as a statement, not a question. And yes you can, sort of: the ping executable is suid root. It runs as root, regardless of

RE: icmp states I need to be running wine as root

2007-10-21 Thread EA Durbin
> Date: Sun, 21 Oct 2007 14:05:15 -0700> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Subject: Re: icmp states I need to be running wine as root> CC: wine-devel@winehq.org>>>> I thought wine was not to be run as root, is t

Re: icmp states I need to be running wine as root

2007-10-21 Thread Juan Lang
> > I thought wine was not to be run as root, is this not correct? > It's not the ICMP you need to look at but "SOCK_RAW". This is not supported > for regular users, only superuser. So to be clear: we strongly recommend against running Wine as root. But you sometimes need to run Wine as root in o

Re: icmp states I need to be running wine as root

2007-10-21 Thread Vitaliy Margolen
EA Durbin wrote: > I tried to update the Ocean application as outlined in bug 8332 and got a > message from the console stating I needed to be running as root for ICMP to > work. I thought wine was not to be run as root, is this not correct? > > int sid=socket(AF_INET,SOCK_RAW,IPPROTO_ICMP); >

icmp states I need to be running wine as root

2007-10-21 Thread EA Durbin
I tried to update the Ocean application as outlined in bug 8332 and got a message from the console stating I needed to be running as root for ICMP to work. I thought wine was not to be run as root, is this not correct? int sid=socket(AF_INET,SOCK_RAW,IPPROTO_ICMP); if (sid < 0) {