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

    FTP timeout getting socket error instead of clean timeout message

    Scheduled Pinned Locked Moved NAT
    3 Posts 2 Posters 1.8k 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.
    • P
      paddyboyfloyd
      last edited by

      Hello -
        I've got a pfSense router I'm trying to move into production and am having issues w/ the way it's handling FTP timeouts.  We've got an outside vendor that scripts up multiple FTP calls a day to dump data onto our FTP server.  However, when due to internet lag or issues on vendor side, the timeout on the FileZilla FTP server is reached, instead of getting a clean 421 Connection Timed Out message back from FileZilla (As we do on , we get on the current firewall) we are getting : SocketError: WSAECONNABORTED An established connection was aborted by the software in your host machine.  Our thoughts are that this socket error is causing the vendor's FTP dump to abort the process where as the timeout is read and the FTP session is just restarted.  Our FTP is active mode - set up w/ straight NAT of port 21 on external IP to port 21 on internal IP of FTP server.  Any ideas as to why I might be getting the SocketError instead of the 421 Connection Timed Out response from Filezilla?  Everything else behaves the same and pfSense will work fine for a while but always eventually the missed transfers start.  My thoughts are that when everything is happening "normally", pfSense handles the FTP fine, it's just when internet lag or vendor side lag cause the connection to timeout, we get the SocketError and that causes an issue w/ the vendor's FTP script/program so we miss the remaining files for that batch.  Everything is the same except for pfSense vs Astaro Security Gateway as the firewall and my test FTP script is just giving socket error on pfSense vs the "clean" timeout on the Astaro.

      Thanks,
      Patrick

      1 Reply Last reply Reply Quote 0
      • P
        paddyboyfloyd
        last edited by

        Edit:  We're using pfSense 2.0

        1 Reply Last reply Reply Quote 0
        • H
          harmonic89
          last edited by

          This makes them a good web knowledge is very useful for the knowledge I got from your site as well.

          แทงบอลออนไลน์

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