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

    FTP not working since upgrading to version 2.5.1

    Scheduled Pinned Locked Moved General pfSense Questions
    18 Posts 4 Posters 1.2k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @nexxous
      last edited by

      @nexxous said in FTP not working since upgrading to version 2.5.1:

      still using FTP and have voiced our concerns about this to the engineers.

      That is good - ftp should of died off 10 years ago. But finally its being deprecated more and more. Maybe browsers are finally pulling support, etc. Many sites are killing off their ftp servers, etc.

      Sftp is secure, only 1 port needed.. etc.. Data and control channels have always been problematic with nat.

      There really is no reason to still be using ftp.

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      N 1 Reply Last reply Reply Quote 0
      • N
        nexxous @johnpoz
        last edited by

        @johnpoz 100% agree and brought this up with the EMR techs geez we didn't realize they still even use FTP in their software and worse of all it is sending sensitive data. So once we realized this I voiced our concerns with them having data like this sent out on an unsecured protocol wow...

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @nexxous
          last edited by

          @nexxous said in FTP not working since upgrading to version 2.5.1:

          just did the upgrade to PFSense 2.5.1 all went well but now it seems our internal software that needs to send packets via FTP is no longer working

          I'm using 2.5.1 for several weeks now.

          And I have also a device in my network that upload an image to our company's web site.
          It's actual a web cam page, with snapshots every 15 seconds.

          Just checked : it works well.

          @nexxous said in FTP not working since upgrading to version 2.5.1:

          We didn't even realize the EMR software was still using FTP

          I somewhat solved the issue.
          My (ftp) server - a host in a data center - only accepts incoming connections from my companie's WAN IP using port 21.
          So, to break a way into my ftp server, you need to source your attack using an IP that I have right now.
          Possible. If some manages to do so, he earned the right to 'pawn' my server.

          and have voiced our concerns about this to the engineers.

          Don't do that !!!! They will come back with a $$$$ solution to solve the $$ problem.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          N 1 Reply Last reply Reply Quote 0
          • N
            nexxous @Gertjan
            last edited by

            @gertjan ftp is NOT a secured protocol and has not been for a long time no matter how you look at it. In this case they send and received data so one needs to be very cognizant of what is being seen for sure.

            Cool_CoronaC GertjanG 2 Replies Last reply Reply Quote 0
            • Cool_CoronaC
              Cool_Corona @nexxous
              last edited by

              @nexxous Not even with TLS activated?

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @Cool_Corona
                last edited by johnpoz

                The problem with ftps, even if you do encrypt the data channel which is not always the case. It still uses active or passive for the data connection. And since the control channel is encrypted, it makes it that more difficult to do ftp through nat. Which is normally on both sides - server and client.

                Since the firewall can not see the ports to be used for the data connection, and open up a firewall rule to allow the server to say to connect to the client. And you also run into problems with ftp server itself sending its rfc1918 address vs actual public - which the helper/proxy on the natting device could change to correct public IP, etc.

                Sftp is the way to go.. You are sure everything is encrypted, and there is only 1 port to worry about.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                N 1 Reply Last reply Reply Quote 0
                • N
                  nexxous @johnpoz
                  last edited by

                  @johnpoz data being sent to and from normal ftp can be considered unsecured i would change it to at least SFTP.

                  johnpozJ 1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator @nexxous
                    last edited by

                    Nobody should be using ftp for really any reason these days.. It should of died off 10 some years ago. That it still around is just sad..

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                    N 1 Reply Last reply Reply Quote 1
                    • N
                      nexxous @johnpoz
                      last edited by

                      @johnpoz totally agree and as i indicated previously once we found out the EMR software is using FTP to submit data omg. We have strongly voiced our opinion on this and putting users data at risk like that is not acceptable...sounds like they are taking the advise and contacting the software engineers to develop other method...no shit. lol. So doing the upgrade to version 2.5.1 had a total unexpected win :)

                      1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan @nexxous
                        last edited by

                        @nexxous said in FTP not working since upgrading to version 2.5.1:

                        ftp is NOT a secured protocol and has not been for a long time no matter how you look at it

                        Yep, I know. Don't worry, I'm not advocating its use.
                        Just my 'excuse' : it's in a $ 2000 DVR devices hooked up to 16 cameras ( $ 250 each ) all over the site., using close to 6000 feet of coax cable.
                        It was fun to install all that, a decade ago. I have to redo it all using IP cams and a IP based DVR ..... yeah, will do that some where in the future.

                        I'm sending over 2 snapshots of two camera's each 20 seconds to a Debian based chrooted FTP server.
                        These image are shown 'as is' by a web server. Here.
                        If needed, I could create a VPN tunnel just for that.

                        To get back to the subject : My FTP client is behind a NAT (pfSense) and the server has no NAT or firewall, so there can't be any issues.
                        Because it's 'old' the FTP client doesn't understand IPv6 - using IPv6 would correct all FTP issues ;)
                        pfSense 2.4.5-p1, 2.5.0 or 2.5.1 are all equal - pfSense 2.5.1 did not change something.

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

                        johnpozJ 1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator @Gertjan
                          last edited by

                          @gertjan said in FTP not working since upgrading to version 2.5.1:

                          using IPv6 would correct all FTP issues ;)

                          While it could help with some of the issue. You still have a problem with the data channel and some random ports and firewall rules ;) So unless you open up your client to the public net for all ports.. Still problematic - remember when ftp came out.. Firewalls really were not a thing ;)

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                          GertjanG 1 Reply Last reply Reply Quote 0
                          • GertjanG
                            Gertjan @johnpoz
                            last edited by Gertjan

                            @johnpoz
                            I'll be more specific :
                            IPv6 throws out of the windows all "passif ? actif ?" issues & misunderstanding.
                            Major security issues still stand.

                            FTP itself is, of course, totally "not-done" these days.
                            It's used by people who do not want to think (so me probably included).
                            Its ancient. It should be part of the nice and sweat and bitter memories of the past.

                            @johnpoz said in FTP not working since upgrading to version 2.5.1:

                            remember when ftp came out.. Firewalls really were not a thing

                            Yep : things like ISP home router 'firewalls' didn't exist as there were no ISP's.
                            We had a line with a "real" WAN Internet IP => range <= like a /30 or /28 - a couple of 'servers' and everybody was talking to everybody. Mail - 25 - ports were accessible to everybody, we could relay using who we wanted. The sick-minded didn't use the Internet back then. All was smooth and easy.
                            Then someone decides that an Internet access to every household would be fine.
                            Another one found out that 2^32 IP wouldn't make it far.
                            So a third one invented NAT/PAT. Dono if this guy merits a medal or a bullet.
                            And a nice network idea, designed to launch nukes and exchange university documents, became somewhat borked. I guess the NAT/PAT concept created a billion size group of people that 'thought' that they understood it. And so wrong they were.

                            No "help me" PM's please. Use the forum, the community will thank you.
                            Edit : and where are the logs ??

                            johnpozJ 1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator @Gertjan
                              last edited by

                              Yeah I get it while its still in use. And I agree laziness is top of list ;) What is sad is that your camera system is how old.. That they thought ftp was fine when it was designed is the real problem. While sure they could still have it as an "option" it doesn't support sftp? Or webdav or just plain https for moving files?

                              So pretty much the rest of the net is all encrypted these days.. But ftp - yeah lets send username and password in the clear, and not encrypt any of the data being sent. But someone "reading" a website public data - yeah that needs to be secured via https ;)

                              Not that long ago, many websites were just http, and only the login info was sent via https.

                              Asking for a IP of a public website for via a couple of udp packets - yeah lets wrap that in encryption and overhead of tcp..

                              Think we have gotten a bit off topic ;)

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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