Operating System - HP-UX
1835607 Members
2949 Online
110079 Solutions
New Discussion

ftp connection does not close

 
Kenan Erdey
Honored Contributor

ftp connection does not close

Hi,

In a project in our environment we have hp-ux 11.11 and windows servers behind a firewall. from these servers we do ftp to some servers (in another network hp-ux, solaris, linux etc.) in local hp-ux server wu-ftpd is running. Now the problem is when we do ftp to servers running wu-ftpd and when closing connection client doesn't close it. if we start ftp from hp-ux machine it doesn't close it, if we start from windows it closes around a minute. if we do ftp to servers running pro-ftpd no problem occurs.

when ftp hangs and look at with netstat -a, i see the connection status as FIN_WAIT_1. i searched in forum and ndd-set/dev/tcptcp_fin_wait_2_timeout 600000 command may solve the problem ( 10 minutes hp recommends no less than 10 minutes). but the software running ftp gives error if connection doesn't close in 2-3 minutes.

if i bypass firewall no problem occurs, connection successfuly ends immediately.

thanks for your help.
Computers have lots of memory but no imagination
4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: ftp connection does not close

You wrote

"if i bypass firewall no problem occurs, connection successfully ends immediately"

It works without firewall, it does not work with firewall - so I would assume the firewall has to do with this ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Mustafa Gulercan
Respected Contributor

Re: ftp connection does not close

hi;
what is your firewall version?
Kenan Erdey
Honored Contributor

Re: ftp connection does not close

in firewall there is rule allow any - any
Computers have lots of memory but no imagination
Kenan Erdey
Honored Contributor

Re: ftp connection does not close

ngx r65 checkpoint with the latest updates.
Computers have lots of memory but no imagination