• 0

FTP server with SSL


Question

Friend of mine is trying to setup a FTP server with SSL encryption. He's using Serv-U FTP server and seems to have everything setup properly for SSL implicit. I connect to it with any client; Filezilla, FTP voyager, FlashFXP.....setup for SSL implicit and passive transfer disabled and I cant get a dir listing. The certificate comes through and it connects...but fail on listing the dir. Any idea what could be wrong?

Link to comment
https://www.neowin.net/forum/topic/148606-ftp-server-with-ssl/
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Ok...

He's setup behind router. Has FTP server set to port 990 and has that port opened through firewall.

I am behind a router but have my PC set to DMZ so i'm not behind NAT. My connection settings are typical. FTP server IP...port 990....SSL Implicit....user/pass....passivetransfer disabled. This is an excerpt from my logfile:

 FileZilla started (03/15/2004 03:08:05)
Status:	Connecting to ************:990 ...
Status:	Connected with ************:990, negotiating SSL connection...
Status:	SSL connection established. Waiting for welcome message...
Response:	220 Serv-U FTP Server v4.0 for WinSock ready...
Command:	USER ***
Response:	331 User name okay, need password.
Command:	PASS ******
Response:	230 User logged in, proceed.
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/" is current directory.
Command:	PORT 192,168,0,100,15,116
Response:	200 PORT Command successful.
Command:	TYPE A
Response:	200 Type set to A
Command:	LIST
Response:	150 Opening ASCII mode data connection for /bin/ls.
Response:	426 Data connection closed, transfer aborted.
Error:	Could not retrieve directory listing
Response:	257 "/" is current directory.
Response:	200 Type set to A.
Status:	Disconnected from server

  • 0

enable pasv mode

your friend might also need to map data range ports beside control connection port (in this case 990)

or

i don't know exact steps in FileZilla, but there is gotta be an option to specify your internet ip, becuase right now your client is sending PORT 192,168,0,100,15,116 which is as you know, your internal ip

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • KB5060829: Microsoft confirms new upcoming Windows 11 24H2 feature is triggering Firewall by Sayan Sen At the end of June, Microsoft released Windows 11 setup and recovery updates (KB5062233/ KB5060843/ KB5062197/ KB5061090) following the month's non-security previews for 24H2 (KB5060829) and 23H2/22H2 (KB5060826). Today, the company has confirmed that KB5060829 is causing some troubles for systems in regards to Firewall. Microsoft says that IT admins and system admins may notice a recurring error entry in the Security event log related to Windows Firewall With Advanced Security wherein the Event Viewer records event ID 2042, labeled “Config Read Failed” with the message “More data is available” each time the device restarts. Although logged as an error, the tech giant notes that this entry does not indicate a malfunction of the Windows Firewall and as such it can be "safely ignored and disregarded," and that Windows Firewall continues to enforce rules and filter network traffic normally as intended. Microsoft assures that "there is no impact to Windows processes associated to this event." IT support teams and even general users often rely on error-level event entries to detect misconfiguration and other issues (Microsoft itself recommends you do so), so unexpected log noise can trigger unnecessary alerts like these. Interestingly, in this case, the logged event stems from an upcoming feature as Microsoft notes that the "event is related to a feature that is currently under development and not fully implemented." No additional information regarding this new feature has been provided at this time. For those who prefer a cleaner log, administrators can filter out event 2042 in Event Viewer or via PowerShell. In Event Viewer, create a custom view filtering out ID 2042 under the Security log and in PowerShell, use the Get-WinEvent -FilterHashtable parameter. Microsoft says that the team is currently working on a fix and an update will be released later. However, no ETA has been shared today. You can find the issue entry here on Microsoft's official Windows Health dashboard website.
    • Concerning the situation at XBOX (title cancellations, studio closures and firing employees): The management at MS gaming division (Booty, Spencer etc.) has to go. Money and time has been wasted in such amounts that those people have to be held accountable and better managers can take the lead. In most other businesses this would have happened ten years or so ago.
    • Why, because different bothers you? You aren’t using the OS per your own admission so why is it a shame? It’s a great way to focus imo.
    • People often hate on what they don’t understand. It’s not stupid, it’s different. That said, ignorance more often than not rules the roost, so it is seen as stupid instead. How much time have you spent learning how to use macOS as intended before making your proclamation?
    • Though, to be fair, maybe I'm biased and maybe my trust would eventually turn out to be misplaced, but I'd be certainly inclined to trust Microsoft's solution a lot more than I trust Opera's, for a multitude of reasons. Hell, I trust Microsoft more than I trust say Google lately.
  • Recent Achievements

    • Reacting Well
      SteveJaye earned a badge
      Reacting Well
    • One Month Later
      MadMung0 earned a badge
      One Month Later
    • One Month Later
      Uranus_enjoyer earned a badge
      One Month Later
    • Week One Done
      Philsl earned a badge
      Week One Done
    • Week One Done
      Jaclidio hoy earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      434
    2. 2
      ATLien_0
      158
    3. 3
      +FloatingFatMan
      146
    4. 4
      Nick H.
      65
    5. 5
      +thexfile
      62
  • Tell a friend

    Love Neowin? Tell a friend!