Re: can't verify hostname: gethostbyname

From: Juha Laiho (Juha.Laiho@iki.fi)
Date: 04/14/02


From: Juha Laiho <Juha.Laiho@iki.fi>
Date: Sun, 14 Apr 2002 11:45:54 GMT


"Tony" <tandcwong@attbi.com> said:
>I got the following in my log
>
>warning: /etc/hosts.allow, line 9: can't verify hostname:
>gethostbyname(rantes.oficina.virt.cl) failed

What do you have in line 9 of your /etc/hosts.allow -- this might
be a clue as to what is going on.

>Apr 11 22:12:14 myhost xinetd[8236]: refused connect from 200.72.19.26
>Apr 11 22:12:14 myhost xinetd[3981]: START: ftp pid=8236 from=200.72.19.26
>Apr 11 22:12:14 myhost xinetd[8236]: FAIL: ftp libwrap from=200.72.19.26
>Apr 11 22:12:14 myhost xinetd[3981]: EXIT: ftp pid=8236 duration=0(sec)
>
>What does this mean?

Apparently someone using address 200.72.19.26 attempted to connect to
a ftp server running on your machine (btw, if you don't need to run
ftp server, just disable/stop it). 200.72.19.26 seems to resolve to
the name "rantes.oficina.virt.cl", but for some reason the name doesn't
resolve to any number. Apparently this is why your TCP wrappers denied
this access to your ftp server.

Reference material:
tcpd manual page
hosts_access manual page
xinetd.conf manual page

-- 
Wolf  a.k.a.  Juha Laiho     Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
         PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)



Relevant Pages

  • RE: question using FtpGetFile
    ... wininet.lib to the list of libraries that your project is linking. ... That should resolve you compile errors, however GetFile is not going to ... The GetFile example is only for downloading a file from an FTP server. ... order to download a file from a web server you will need to use the WinInet ...
    (microsoft.public.windowsce.embedded.vc)
  • unable to install from floppies
    ... I am tyring to install from the floppies. ... I get to the point were I choose the ftp server to d/l from. ... then it says can't resolve the ftp.freebsd.org or any of the servers. ...
    (freebsd-questions)
  • Re: ftp down
    ... Columbia's FTP server checks reverse and forward DNS. ... If they don't resolve, you don't get in. ...
    (comp.protocols.kermit.misc)
  • Re: unable to install from floppies
    ... > I am tyring to install from the floppies. ... > I get to the point were I choose the ftp server to d/l from. ... > then it says can't resolve the ftp.freebsd.org or any of the servers. ...
    (freebsd-questions)
  • Re: IPFW, natd and an internal FTP server.
    ... Can anyone see any reason why someone should not do this? ... >FTP server replies, for no apparent reason. ...
    (FreeBSD-Security)

Quantcast