[ale] ftp - no route to host???

Richard Bronosky Richard at Bronosky.com
Mon Jul 26 22:40:44 EDT 2010


Pure evil genius!

On Mon, Jul 26, 2010 at 10:33 PM, David Tomaschik <david at tuxteam.com> wrote:
> It should be noted that IPTables can be configured to respond with an
> ICMP Host Unreachable packet if you want.  For example,
>
> iptables -A INPUT -p tcp --dport 21 -j REJECT --reject-with
> icmp-host-unreachable
>
> David
>
> On 07/26/2010 10:15 PM, Richard Bronosky wrote:
>>>> ftp $IP_ADDR
>>>>
>>>> returns:
>>>>
>>>> ftp: connect: No route to host
>>>>
>> If the error was connection refuse, or connection reset, I'd say it
>> was either a firewall on the box or by his ISP. But, "No route" means
>> his client does not know that it has a network interface capable of
>> routing traffic to the given host (which in this case is specified by
>> an IP address). Although he is able to reach it via SSH and UDP ping.
>> That's jacked up.
>>
>> Maybe try:
>> echo $IP_ADDR # make sure you have the right var/value
>> host $IP_ADDR # seeing if you can do a [reverse] lookup on the var/value
>> telnet $IP_ADDR 22 # standard ssh port number
>> telnet $IP_ADDR 21 # standard ftp port number
>>
>> If you get "No route to host" from one of those telnets and not the
>> other... evil is afoot.
>>
>>
>
>
> --
> David Tomaschik, RHCE
> Ubuntu Community Member
> Moderator, LinuxQuestions.org
> GPG: 0x6D428695
>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>



-- 
.!# RichardBronosky #!.



More information about the Ale mailing list