All of lore.kernel.org
 help / color / mirror / Atom feed
* ftp client hang
@ 2002-11-15 19:35 Eddie Shi
  0 siblings, 0 replies; only message in thread
From: Eddie Shi @ 2002-11-15 19:35 UTC (permalink / raw)
  To: netfilter-devel, netfilter-devel

Hi,
  I am using the 2.4.17 kernel with newnat patch. When I use ftp with
passive mode off, the ftp client would hang if client tries to get a file
which does not exist.

  Does anyone have similar problem? My router is masquerading 192.168.1.2 ->
63.206.100.200


  1. ftp oss.sgi.com
    login
    password:

  ftp> cd pub
  ftp> get junk	  ***junk does not exist in the directory***

     200 PORT command successful
     500 Can't open junk: No such file or directory

  ftp> ls

     *** this would hang the client****


    I then patched the latest ip_conntrack_ftp.c and ip_nat_ftp.c , the
resuld is the same.

    When "ls" is issued, the ftp server sees the following from ethereal
dump:
      Request: PORT 63,206,100,200,4,88
      .
       Response: 200 PORT command successful
       Request: RETR junk
       Response: 550 junk: NO such file or directory
      .
      Request: PORT 192,168,1,2,4,89         **** I think here is the
problem when "ls" command is issued ******
      Response: 502 Illegal PORT command

    The following entry in /proc/net/ip_conntrack

    EXPECTING: proto=6 src=128.167.58.27 dst=63.206.100.200 sport=0
dport=1112


   Please include me in the response since I am not in the mailing list.
   Thanks



 Eddie

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-15 19:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-15 19:35 ftp client hang Eddie Shi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.