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.4k 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 @sasa1
      last edited by

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

      S 1 Reply Last reply Reply Quote 0
      • S
        sasa1 @johnpoz
        last edited by

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

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

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

          S 2 Replies Last reply Reply Quote 0
          • S
            sasa1 @johnpoz
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • S
              sasa1 @johnpoz
              last edited by

              @johnpoz said in remote ftp ssl access failed:

              195.144.107.198

              ftp tls.PNG

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

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

                S 1 Reply Last reply Reply Quote 0
                • S
                  sasa1 @johnpoz
                  last edited by

                  @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.

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

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

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      sasa1 @johnpoz
                      last edited by

                      @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

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

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

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          sasa1 @johnpoz
                          last edited by

                          @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

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

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

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

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

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                sasa1 @johnpoz
                                last edited by

                                @johnpoz how can i send the file?

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

                                  @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.7.2, 24.11

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    sasa1 @johnpoz
                                    last edited by

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

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

                                      @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.7.2, 24.11

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        sasa1 @johnpoz
                                        last edited by

                                        @johnpoz I have tried several times to upload file but it always remains in this state.

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

                                          How big is the file? Should be pretty tiny.. mine like 17KB

                                          Upload it elsewhere, googledrive, dropbox, I will PM you my email.. just email it too me.

                                          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

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            sasa1 @johnpoz
                                            last edited by

                                            @johnpoz ok thanks, I'm waiting for your email.

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