All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eddie Shi" <eddieshi@broadcom.com>
To: netfilter-devel@lists.netfilter.org, netfilter-devel@lists.samba.org
Subject: ftp client hang
Date: Fri, 15 Nov 2002 11:35:24 -0800	[thread overview]
Message-ID: <00b601c28cde$24ce1870$018f030a@broadcom.com> (raw)

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

                 reply	other threads:[~2002-11-15 19:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00b601c28cde$24ce1870$018f030a@broadcom.com' \
    --to=eddieshi@broadcom.com \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=netfilter-devel@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.