www.delorie.com/archives/browse.cgi | search |
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=QIcOkozdWLSsD3Un | |
/ZfTJKEmRCYkaOEQgjNcoKDYArtXevx+01AAbSCqtIoYPs4cSo0gk04YQc0POR8O | |
08HE+zsSSv9gzlh4D2Hyp2UbGEtlnWCUasgxgb5ER2MH8OduVgctQSbVeeQeRSeJ | |
RSZt+JrlbwGwXhfzpSR0m0AfqDg= | |
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=a24SUi24NNYMdj1m3D281a | |
ixxqY=; b=TvOXpBK+Q2ZHATYe7gLhMYFhnBTfk4CXGM15Cqu1JWwEah5NpAjZRs | |
S7ETKDbvrSeEE6eGGFYkqfW+uv2IRCICLi2/GD/asf6DKSj1UPgxbhWCsZ8CL4tU | |
oLZE3spj9eeOWvYZqrlbWKPuYTs4pJYOpJ78eesLiST37uYoFXM0I= | |
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=0.8 required=5.0 tests=BAYES_50 autolearn=ham version=3.3.2 spammy=751, H*Ad:U*frank, 2900, H*MI:sk:56E6F25 |
X-HELO: | midtown.nycx.com |
Subject: | ctrl-c doesn't reliably kill ping |
To: | cygwin AT cygwin DOT com |
References: | <56E6F25A DOT 7070000 AT gmx DOT de> |
From: | Frank Farance <frank AT farance DOT com> |
Message-ID: | <56E75B3E.7020102@farance.com> |
Date: | Mon, 14 Mar 2016 20:45:50 -0400 |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <56E6F25A.7070000@gmx.de> |
X-IsSubscribed: | yes |
I have been having this problem with "ping". If I "ping" a location that doesn't exist, then "ping" just hangs and cannot be killed via "kill -KILL [pid]". A little digression, so you understand the background ... The workstation I am doing this from is connected to a Verizon router to their FIOS network. Now the reason I mention this is that the router's DNS (via DHCP to my workstation) is 192.168.1.1, which I presume is forwarded from the router upstream to Verizon's DNS caches. So if I type the URL http://something.that.doesnt.exist in my browser, rather than getting a Hostname Not Found error (at the name resolution level), it actually loads up a page saying "something.that.doesnt.exist" isn't found and then I have a Yahoo set of search results on things matching the broken hostname. So all of this is normal ISP stuff: they actually resolve unknown addresses to their own website (which is 90.242.140.21). Ok, ending the digression .... Back to the problem, so when I type $ ping some.unknown.host according to "ping", the hostname resolves to 90.242.140.21 (as per the explanation above), but I cannot kill "ping". I tried "ping" with a limited packet size and count so, in theory, "ping" would die on its own after 10 packets, such as: $ ping some.unknown.host 50 10 but it still hangs rather than timing out. If I ping to some actual IP address that is unresponsive (route-able to the last subnet, but dies on the floor at the end), then I can kill via ctrl-c. My only solution to the hanging "ping" is to kill the terminal window. Any suggestions on: - Why "ping" behaves this way? - How to avoid this problem? Thanks, in advance. -FF -- ______________________________________________________________________ Frank Farance, Farance Inc. T: +1 212 486 4700 M: +1 917 751 2900 mailto:frank AT farance DOT com http://farance.com Standards/Products/Services for Information/Communication Technologies -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |