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

remote ftp ssl access failed

Scheduled Pinned Locked Moved Firewalling
59 Posts 4 Posters 11.7k 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.
  • S
    sasa1 @johnpoz
    last edited by sasa1 Aug 2, 2021, 6:44 PM Aug 2, 2021, 6:41 PM

    @johnpoz I took the timed-out to 120 seconds but to no avail.
    yes there is an active vpn with openswan.

    I disabled the vpn but unfortunately the result does not change

    Thanks.

    J 1 Reply Last reply Aug 2, 2021, 6:47 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @sasa1
      last edited by Aug 2, 2021, 6:47 PM

      Could you route your connection to this ftps server around that vpn..

      If you capture your traffic and disable the ftp decode wireshark will do on it - you can then view the tls info.. So example here sniff via a connection... You can see my client hello and then the server hello..

      wireshark.jpg

      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.8, 24.11

      S 1 Reply Last reply Aug 2, 2021, 8:15 PM Reply Quote 0
      • S
        sasa1 @johnpoz
        last edited by Aug 2, 2021, 8:15 PM

        @johnpoz I disabled the vpn connection and removed the rules related to the vpn but unfortunately the problem remains the same.
        Thanks.

        J 1 Reply Last reply Aug 2, 2021, 8:27 PM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @sasa1
          last edited by Aug 2, 2021, 8:27 PM

          Well if they don't send you a server hello - then no you would not be able to connect.

          A sniff will show you what pfsense sees on its wan in return.. There would be no reason pfsense would not send this traffic to your client if it actually got it..

          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.8, 24.11

          S 1 Reply Last reply Aug 2, 2021, 8:30 PM Reply Quote 0
          • S
            sasa1 @johnpoz
            last edited by Aug 2, 2021, 8:30 PM

            @johnpoz do i have to use wireshark or can i use logs generated by pfsense?
            thanks.

            J 1 Reply Last reply Aug 2, 2021, 8:44 PM Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator @sasa1
              last edited by johnpoz Aug 2, 2021, 8:57 PM Aug 2, 2021, 8:44 PM

              No you sniff with pfsense (diagnostic packet capture) - its just the log they show in that output even with full info set is going to be hard to read.. Just do the sniff and then download it and open it with wireshark.. Makes it much easier to view/read/understand, etc.

              You can set it to only capture the IP of the ftps server.. 195.144.107.198 so its not all that big.. And has only the data your interested in vs all the other traffic that flowing.

              You will have to tell wireshark not to decode it as ftp - which is what it will most likely auto do.. Then it would look like this..

              ftp.jpg

              What your interested in is the tls stuff - so telling wireshark not to decode as ftp will make it easier to see the tls stuff..

              disable.jpg

              The view the package capture ok depending on what specific your looking for - but for something like this download the capture and use your fav network analyzer.. Unless you think you could make heads or talls of this ;)

              hardtofollow.jpg

              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.8, 24.11

              S 2 Replies Last reply Aug 3, 2021, 2:08 PM Reply Quote 0
              • S
                sasa1 @johnpoz
                last edited by Aug 3, 2021, 2:08 PM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • S
                  sasa1 @johnpoz
                  last edited by Aug 3, 2021, 2:46 PM

                  @johnpoz said in remote ftp ssl access failed:

                  195.144.107.198

                  ftp tls.PNG

                  J 1 Reply Last reply Aug 3, 2021, 2:52 PM Reply Quote 0
                  • J
                    johnpoz LAYER 8 Global Moderator @sasa1
                    last edited by johnpoz Aug 3, 2021, 2:54 PM Aug 3, 2021, 2:52 PM

                    That is not the wan.. Do the packet capture on pfsense.. Just download it to view in wireshark..

                    And I showed you exactly how to disable the ftp decode wireshark is doing..

                    But even that can see 195.x sending you a FIN... Closing the session..

                    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.8, 24.11

                    S 1 Reply Last reply Aug 4, 2021, 10:26 AM Reply Quote 0
                    • S
                      sasa1 @johnpoz
                      last edited by Aug 4, 2021, 10:26 AM

                      @johnpoz I have installed wireshark on the server where I use Filezilla, from this server can I connect wireshark to control the pfsense WAN traffic or do I have to install wireshark on pfsense?
                      Thanks.

                      J 1 Reply Last reply Aug 4, 2021, 10:36 AM Reply Quote 0
                      • J
                        johnpoz LAYER 8 Global Moderator @sasa1
                        last edited by johnpoz Aug 4, 2021, 10:38 AM Aug 4, 2021, 10:36 AM

                        Dude look at the picture I posted... You can do the packet capture right on pfsense... Then just download the pcap and open it with wireshark on any machine you want..

                        see the post from above

                        download.jpg

                        in pfsense here

                        packetcapture.jpg

                        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.8, 24.11

                        S 1 Reply Last reply Aug 4, 2021, 11:05 AM Reply Quote 0
                        • S
                          sasa1 @johnpoz
                          last edited by Aug 4, 2021, 11:05 AM

                          @johnpoz now I followed your instructions, in pfsense I captured the packages, I downloaded the file which I then opened in whireshark, I attach the result.
                          Thanks.
                          cap.PNG

                          J 1 Reply Last reply Aug 4, 2021, 11:08 AM Reply Quote 0
                          • J
                            johnpoz LAYER 8 Global Moderator @sasa1
                            last edited by Aug 4, 2021, 11:08 AM

                            I don't see you sending client hello there, your sending fin,ack - means done with this conversation.

                            yoursendingfin.jpg

                            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.8, 24.11

                            S 1 Reply Last reply Aug 4, 2021, 11:19 AM Reply Quote 0
                            • S
                              sasa1 @johnpoz
                              last edited by Aug 4, 2021, 11:19 AM

                              @johnpoz in Filezilla I try the ftp connection and the exchanged packets are the ones I sent you, I also tried from another PC and the result is the same.
                              What can I try?
                              thank you

                              J 1 Reply Last reply Aug 4, 2021, 11:35 AM Reply Quote 0
                              • J
                                johnpoz LAYER 8 Global Moderator @sasa1
                                last edited by Aug 4, 2021, 11:35 AM

                                Well if your client is not sending hello, and just closing the connection.. That is on the client.

                                Can you post up packet capture from your test machine.. This will only have your local IP and the servers IP in, so I can take a look and compare to mine.. As you saw in my sniff client hello is sent.. Your log shows sent, but its not what the sniff shows.

                                You should be able to attach your sniff, or post it else where and let me know the link, etc.

                                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.8, 24.11

                                J 1 Reply Last reply Aug 4, 2021, 11:42 AM Reply Quote 0
                                • J
                                  johnpoz LAYER 8 Global Moderator @johnpoz
                                  last edited by Aug 4, 2021, 11:42 AM

                                  here for example is on my client

                                  sniff.jpg

                                  And here is the pcap

                                  ftp.pcapng

                                  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.8, 24.11

                                  S 1 Reply Last reply Aug 4, 2021, 4:22 PM Reply Quote 0
                                  • S
                                    sasa1 @johnpoz
                                    last edited by Aug 4, 2021, 4:22 PM

                                    @johnpoz how can i send the file?

                                    J 1 Reply Last reply Aug 4, 2021, 4:24 PM Reply Quote 0
                                    • J
                                      johnpoz LAYER 8 Global Moderator @sasa1
                                      last edited by Aug 4, 2021, 4:24 PM

                                      @sasa1 just upload it

                                      upload.jpg

                                      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.8, 24.11

                                      S 1 Reply Last reply Aug 4, 2021, 4:28 PM Reply Quote 0
                                      • S
                                        sasa1 @johnpoz
                                        last edited by Aug 4, 2021, 4:28 PM

                                        @johnpoz ![0_1628094485640_packetcapture (12).cap](Uploading 100%)

                                        J 1 Reply Last reply Aug 4, 2021, 4:29 PM Reply Quote 0
                                        • J
                                          johnpoz LAYER 8 Global Moderator @sasa1
                                          last edited by Aug 4, 2021, 4:29 PM

                                          @sasa1

                                          That didn't seem to finish

                                          finish.jpg

                                          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.8, 24.11

                                          S 1 Reply Last reply Aug 4, 2021, 4:32 PM Reply Quote 0
                                          26 out of 59
                                          • First post
                                            26/59
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received