Operating System - HP-UX
1833638 Members
3528 Online
110062 Solutions
New Discussion

Problems in FTPing HPUX box (Windows FTP server works)

 
Alessio_4
Occasional Contributor

Problems in FTPing HPUX box (Windows FTP server works)

Hi,

I'm experiencing a problem while doing ftp to a HPUX 11.00 box from a specific network, while it works fine from other networks.
From the client side I can see:
Connected to 172.16.8.50

(hangs)

Let me explain the situation.

HPUX 11.00 box: 172.16.8.50
Network with problem: 172.28.xx.xx

No exclusion exists on inetd.sec, DNS should not be the problem, since ftp works fine although lookup doesn't exist for the host doing it (from the working networks).
The strange thing is that a Windows FTP Server works fine! This should exclude bad routing.


Any ideas or suggestions?

Thanks,
Alessio
4 REPLIES 4
RAC_1
Honored Contributor

Re: Problems in FTPing HPUX box (Windows FTP server works)

On hp-ux server, make sure that you have enbled the ftp loggin and inetd logging.
the ftp line in /etc/inetd.conf should look like following.

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -L

Then try to do ftp, and check syslog file.

Anil
There is no substitute to HARDWORK
Sanjay_6
Honored Contributor

Re: Problems in FTPing HPUX box (Windows FTP server works)

Hi,

Are you able to telnet from 172.28.xx.xx to the hp @ 172.16.8.50 . If you can do telnet and ftp is not disabled / restricted, then you should be able to do ftp. If you are not able to telnet, check on the routing on the hp server. traceroute the ip address of the source doing and ftp to this hp server. Also check the netmask of the lan card on the hp server.

Hope this helps.

Regds
Biswajit Tripathy
Honored Contributor

Re: Problems in FTPing HPUX box (Windows FTP server works)

Telnet does a reverse lookup on the client and that,
I think, is the problem here. Make sure that you
could do a nslookup of any address in 172.28.xx.xx
from 172.16.8.50. FTP works because it does not
do a similar reverse lookup.

- Biswajit
:-)
Alessio_4
Occasional Contributor

Re: Problems in FTPing HPUX box (Windows FTP server works)

Sanjay,

telnet does the same as ftp.
Doing telnet from a client, I get

Connected to 172.16.8.50
Escape ...


As for name lookup, I'll try again after adding lines to lookup hosts on 172.28.xx.xx
But, how is possible that even if no lookup exists for hosts in 172.16.xx.xx and on 10.xx ftp works fine?