delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/03/06:16:38

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=eT3LCOvv6J2rLphH
9LaY7tzXtfc4wGbARf/9gU6rxH/WgZkBL8wsewt4LfBYgWlmR4BPk787sLFvcCOw
7rQJMU/4+GbXkH3rzfM8d1DdJe4uBChpcbfc+c5GQPiF4ABebINnd2xOfiMlHZz0
P2gucqg0eE3xTFDsGLdSqky2bwo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=E2Z76gbH4PoF1KjdLWjnwI
9nHTU=; b=XA6aABCBnfEyYG3LfLbhoWo4ejVlXkRCU0sSkQ3klmqeN1Y7c5vLim
WnnQu716dqL1C+ktwOQgQ08yFl/4u46iGp41dxrBgOEIyxK5JWdYAN3iH+qnLNHP
/7s/9tzILqDg8S4ElPO7jAtPr48oXXEkotkrZ+0AAW3xCYb1VJJ6E=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f176.google.com
X-Received: by 10.194.78.101 with SMTP id a5mr46494019wjx.35.1441275376487; Thu, 03 Sep 2015 03:16:16 -0700 (PDT)
Subject: Re: Cygwin's ping requires privilege elevation.
To: cygwin AT cygwin DOT com
References: <143246935 DOT 20150903042734 AT yandex DOT ru>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <55E81DEA.6070006@gmail.com>
Date: Thu, 3 Sep 2015 12:16:10 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <143246935.20150903042734@yandex.ru>
X-IsSubscribed: yes

On 03/09/2015 03:27, Andrey Repin wrote:
> Greetings, All!
>
> I had this issue running for some time, but recently I've (with a little help
> from my friends) stumbled upon another Cygwin rip-off, and the hack they
> implemented to get around this issue. (Yes, they just renamed the ping.exe to
> cygping.)
>
> I understand, that some of the ping functionality, indeed, require raw device
> access, but if it is possible to avoid elevated calls for basic functions,
> that would be highly appreciated.
>

Yes, it is a know limitation of raw socket
https://cygwin.com/ml/cygwin/2009-12/msg00164.html

https://cygwin.com/acronyms/#PTC

Regards
Marco


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019