Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Debug.pfftpproxy=1 to enable LAN to WAN FTP

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    66 Posts 16 Posters 24.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      traxxus
      last edited by

      @arad85:

      Some FTP sites are fine (although seemingly slower to list directories than the March 18th build I was running yesterday)

      Same here. Superslow FTP browsing while debug.pfftpproxy=0

      1 Reply Last reply Reply Quote 0
      • N
        ncolunga
        last edited by

        I have the same problem on 2.0.2, impossible to handle big files through ftp with default debug.pfftpproxy value.

        1 Reply Last reply Reply Quote 0
        • A
          arad85
          last edited by

          So has anyone entered a bug for this or had acknowledgement from any devs (apart from jimp here)? It's a fairly big deal-breaker. I have a fairly simple setup here and see it on some sites.

          1 Reply Last reply Reply Quote 0
          • A
            arad85
            last edited by

            gogol.. why did you delete your reply - I was fortunate enough to catch it and it solved all my problems (including slow to connect issues I've had for 18 months!!)

            1 Reply Last reply Reply Quote 0
            • G
              gogol
              last edited by

              @arad85:

              gogol.. why did you delete your reply - I was fortunate enough to catch it and it solved all my problems (including slow to connect issues I've had for 18 months!!)

              I wasn't sure!
              I am still encountering some problems (slow now and then), but it goes better. Disabling it works better for me.
              For anyone who wants to try this is what I did:

              Under System>Advanced>Firewall/Nat check under TFTP proxy you LAN interface and click Save
              Under System>Advanced>System Tunables set debug.pfftp.proxy to "default" value

              More on this in this article

              1 Reply Last reply Reply Quote 0
              • swinnS
                swinn
                last edited by

                I just noticed I haven't had any connections from a few people on my local FTP server in a while, so I started looking into it. Passive connections were working fine but I haven't had an active connection work since 6/2/13 when I must have done a firmware upgrade (2.1 RC0 x64). I changed debug.pfftpproxy to 1 and applied it and instantly active connections began working again for these people. Something changed with the ftp proxy (I'd say in May) which kept active connections from working. Sorry I don't have much more info at this time.

                1 Reply Last reply Reply Quote 0
                • T
                  traxxus
                  last edited by

                  @devs

                  Any news on this issue?

                  1 Reply Last reply Reply Quote 0
                  • E
                    eri--
                    last edited by

                    I am workign on solving this.

                    1 Reply Last reply Reply Quote 0
                    • T
                      traxxus
                      last edited by

                      Great, thank you  :D

                      1 Reply Last reply Reply Quote 0
                      • E
                        eri--
                        last edited by

                        Please try with tomorrows snapshots.

                        1 Reply Last reply Reply Quote 0
                        • T
                          traxxus
                          last edited by

                          HI

                          Flashed 2.1RC0 from 2. Juli.
                          It is not better , connecting and dir list and filetrasnfer is slow as hell. That means it "hangs" VERY often between the FTP commands.. Without proxy it is superfast.

                          1 Reply Last reply Reply Quote 0
                          • E
                            eri--
                            last edited by

                            Get ones from today ones :)

                            1 Reply Last reply Reply Quote 0
                            • A
                              athurdent
                              last edited by

                              2.1-RC0 (i386) built on Wed Jul 3 15:44:09 EDT 2013
                              

                              is still broken. After trying FTP through the ALIX I tested with, it became unresponsive and seems to have crashed completely. Unfortunately it's in our DC on a recently broken KVM Switch, so I have no Console output.

                              1 Reply Last reply Reply Quote 0
                              • T
                                traxxus
                                last edited by

                                Tested it with build from 3. Juli.

                                FTP transfer hangs / stutter on the commands RETR and MLSD in FileZilla.

                                1 Reply Last reply Reply Quote 0
                                • G
                                  gogol
                                  last edited by

                                  I still have debug.pfftp.proxy=1 in system tunables with July 3 build. Default value does not work for me.

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    eri--
                                    last edited by

                                    Can you please be more specific on what does not work?

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      gogol
                                      last edited by

                                      @ermal:

                                      Can you please be more specific on what does not work?

                                      You have got a PM

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        athurdent
                                        last edited by

                                        @ermal:

                                        Can you please be more specific on what does not work?

                                        How to reproduce:
                                        Just setup a fresh pfSense install, plug one (Win 7) device behind it and open a freshly installed Firefox. Key in

                                        ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2013/05-27-2013-r21676/
                                        

                                        and wait for "425 Failed to estabilsh connection".

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          doktornotor Banned
                                          last edited by

                                          @athurdent:

                                          How to reproduce:
                                          Just setup a fresh pfSense install, plug one (Win 7) device behind it and open a freshly installed Firefox. Key in

                                          ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2013/05-27-2013-r21676/
                                          

                                          and wait for "425 Failed to estabilsh connection".

                                          This works perfectly fine with SpeedCommander, Total Commander and FlashFXP (both active and passive mode). Sorry, but FF is braindead FTP "client".

                                          Active:

                                          
                                          Connect to: (04.07.2013 11:53:54)
                                          hostname=dd-wrt.com
                                          username=anonymous
                                          startdir=/others/eko/BrainSlayer-V24-preSP2/2013/05-27-2013-r21676/
                                          dd-wrt.com=83.141.4.210
                                          220 Welcome to DD-WRT FTP service.
                                          USER anonymous
                                          331 Please specify the password.
                                          PASS ***********
                                          230 Login successful.
                                          SYST
                                          215 UNIX Type: L8
                                          FEAT
                                          211-Features:
                                           EPRT
                                           EPSV
                                           MDTM
                                           PASV
                                           REST STREAM
                                           SIZE
                                           TVFS
                                           UTF8
                                          211 End
                                          HELP SITE
                                          214-The following commands are recognized.
                                           ABOR ACCT ALLO APPE CDUP CWD  DELE EPRT EPSV FEAT HELP LIST MDTM MKD
                                           MODE NLST NOOP OPTS PASS PASV PORT PWD  QUIT REIN REST RETR RMD  RNFR
                                           RNTO SITE SIZE SMNT STAT STOR STOU STRU SYST TYPE USER XCUP XCWD XMKD
                                           XPWD XRMD
                                          214 Help OK.
                                          OPTS UTF8 ON
                                          200 Always in UTF8 mode.
                                          CWD /others/eko/BrainSlayer-V24-preSP2/2013/05-27-2013-r21676/
                                          250 Directory successfully changed.
                                          Connect ok!
                                          PWD
                                          257 "/others/eko/BrainSlayer-V24-preSP2/2013/05-27-2013-r21676"
                                          Get directory
                                          TYPE A
                                          200 Switching to ASCII mode.
                                          PORT 10,0,0,1,222,174
                                          200 PORT command successful. Consider using PASV.
                                          LIST
                                          150 Here comes the directory listing.
                                          Download
                                          Waiting for server...
                                          226 Directory send OK.
                                          
                                          

                                          Passive:

                                          
                                          Connect to: (04.07.2013 11:54:32)
                                          hostname=dd-wrt.com
                                          username=anonymous
                                          startdir=/others/eko/BrainSlayer-V24-preSP2/2013/05-27-2013-r21676/
                                          dd-wrt.com=83.141.4.210
                                          220 Welcome to DD-WRT FTP service.
                                          USER anonymous
                                          331 Please specify the password.
                                          PASS ***********
                                          230 Login successful.
                                          SYST
                                          215 UNIX Type: L8
                                          FEAT
                                          211-Features:
                                           EPRT
                                           EPSV
                                           MDTM
                                           PASV
                                           REST STREAM
                                           SIZE
                                           TVFS
                                           UTF8
                                          211 End
                                          HELP SITE
                                          214-The following commands are recognized.
                                           ABOR ACCT ALLO APPE CDUP CWD  DELE EPRT EPSV FEAT HELP LIST MDTM MKD
                                           MODE NLST NOOP OPTS PASS PASV PORT PWD  QUIT REIN REST RETR RMD  RNFR
                                           RNTO SITE SIZE SMNT STAT STOR STOU STRU SYST TYPE USER XCUP XCWD XMKD
                                           XPWD XRMD
                                          214 Help OK.
                                          OPTS UTF8 ON
                                          200 Always in UTF8 mode.
                                          CWD /others/eko/BrainSlayer-V24-preSP2/2013/05-27-2013-r21676/
                                          250 Directory successfully changed.
                                          Connect ok!
                                          PWD
                                          257 "/others/eko/BrainSlayer-V24-preSP2/2013/05-27-2013-r21676"
                                          Get directory
                                          TYPE A
                                          200 Switching to ASCII mode.
                                          PASV
                                          227 Entering Passive Mode (83,141,4,210,241,176)
                                          LIST
                                          150 Here comes the directory listing.
                                          Download
                                          Waiting for server...
                                          226 Directory send OK.
                                          
                                          

                                          On that note, I must say pf/BSD does pretty impressive job here. Using active FTP from behind NAT has been just plain impossible with Linux/iptables-based firewalls.

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            athurdent
                                            last edited by

                                            @doktornotor:

                                            Sorry, but FF is braindead FTP "client".

                                            Sure, but it used to work with Firefox. Plus it works behind all of the other Firewalls/Routers I have tested (Checkpoint, ASA, some D-Link device, DD-WRT, AVM Fritz…)
                                            It's not only Firefox, Chrome does not work either.
                                            I don't really care, but the average surfer/user will. So I posted a way how to reproduce the issue for debugging purposes.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.