APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > why no route to host when it can be pinged?
Printer Friendly Version




News Group Posts

why "no route to host" when it can be pinged?

Main Index


From: Bela Lubkin <filbo@armory.com>
Subject: Re: Telnet: route to host
Date: 3 Aug 2005 17:25:01 -0400
Message-ID: <200508031424.aa20774@deepthought.armory.com> 
References: <20050803131820.A17532@egps.egps.com>
<200508031246.aa22159@deepthought.armory.com>
<20050803164313.B25182@egps.egps.com> Nachman Yaakov Ziskind wrote: > Bela Lubkin wrote (on Wed, Aug 03, 2005 at 03:46:25PM -0400): > > Nachman Yaakov Ziskind wrote: > > > > > > What gets me is when I connect to a non-functioning port, I get: > > > > > > $ telnet 10.1.1.4 5555 > > > Trying 10.1.1.4... > > > telnet: Unable to connect to remote host: No route to host > > > It's probably running an internal firewall which is set to generate ICMP > > host unreachable responses on attempts to access blocked ports. It's > > like the voice saying "nobody in here but us chickens", except computers > > are much more likely to take such a response literally... > > I found the telnet problem (I had to insert an IPTABLES rule). But that > wasn't my question, so I'll restate it: > > Why does the OpenServer box generate a 'no route to host' error in a > case like this? It should either wait and time out, or return > 'connection refused'. What was the generic IPTABLES rule you were overriding? I'm guessing something like: all ports not otherwise covered: reject with "ICMP destination unreachable: host unreachable" to which you added: TCP port 23 [telnet]: accept The message isn't bogus if the remote host actually sent a "host unreachable" message! >Bela<
If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - Bela
       - Networking
       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here