[nylug-talk] ftp hangs after put

Brian Gupta brian.gupta at gmail.com
Fri Dec 7 19:58:35 EST 2007


It's been awhile since I had to play with FTP and IPTables, but there is an
optional kernel module for FTP connection tracking that you should look
into. (I use sftp/scp for everything now, so I am rusty).

Let me know if you need further help...

Cheers,
Brian

On Dec 7, 2007 1:36 PM, C Thala <cthala at gmail.com> wrote:

> I setup vsftpd (2.0.5) on a Redhat (RHEL 5) Linux box.
>
> I opened up ports 20, 21, and 10000-10010 on the firewall. (That last
> range is defined in vsftpd.conf as the min and max passive ports to
> use).
>
> Everything works okay from the localhost.
>
> From outside the box, downloading works, but uploading hangs on the
> client AFTER the file is upload. If I put file "foo", it is
> transferred perfectly to the server (I have verified this), but
> immediately after that it hangs and the client never returns to the
> prompt.
>
> I tried sniffing the connection with tcpdump, but I can't see why the
> client is hanging.
>
> I'm fairly certain this is an iptables issues. Any suggestions?
>
> _____________________________________________________________________________
> Hire expert Linux talent by posting jobs here :: http://jobs.nylug.org
> The nylug-talk mailing list is at nylug-talk at nylug.org
> The list archive is at http://nylug.org/pipermail/nylug-talk
> To subscribe or unsubscribe: http://nylug.org/mailman/listinfo/nylug-talk
>



-- 
- Brian Gupta

http://opensolaris.org/os/project/nycosug/


More information about the nylug-talk mailing list