FTP-access, one IP-address with acces, others blocked

Hello there!

I hope this treath is readed by the development of OS5.

I’m working with OS5 now, but I discover problems with a FTP-connection.
Before OS5 I used a specific port for FTP, say 3555 instead of 21.
There were no problems with a backup of my parents PC via internet.

But with OS5, I can change the FTP-port to 3555, but that’s not working.
I get many errors:
Control Channel Transfer Error 114690
and
553 User is not allowed to upload files

The only way it works, is with port 21, very unwanted en dangerous!

There is an option to block some IP-addresses, BUT, I like to give ONE IP-address access to the MyCloud and BLOCK every other IP on port 21. And that’s not possible! It there a way to revert the access-protocol like I said? I ONLY want to give ONE IP access to the MyCloud and block all of the other IP’s.

I hope this can be realised in the next update. If not, please make it possible to change the port to another number, but with the full FTP-functionality. If I change the port to 3555, I can connect to the MyCloud, but there is something wrong with the permissions or file/directory listing.

Many thanks,
Roland, the Netherlands.

@Janzzen can you provide the logs from your FTP Client Side when using port 3555 and getting the Control Channel Errors? Also, what FTP client software are you using?

Hello!

Thanks for the reply. I’m using SyncBackSE for the backup’s. It have two FTP-engines to choose, but wich one, never minds, both of them produce the same error. I thought it was maybe the firewall or something else, so I test it local on my own private network, with NO firewall or anything else, just a FTP-connection with FileZilla to my local WD MyCloud. That also doesn’t work, so I can excluded the firewall/modem/router. Below my logfiles for port 3555, as example, any other port on behave 21, has this problem I think.

2021-01-05 15:19:20 10340 1 Status: Connecting to 192.168.178.20:3555…
2021-01-05 15:19:20 10340 1 Status: Connection established, waiting for welcome message…
2021-01-05 15:19:20 10340 1 Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
2021-01-05 15:19:20 10340 1 Response: 220-You are user number 1 of 10 allowed.
2021-01-05 15:19:20 10340 1 Response: 220-Local time is now 15:20. Server port: 3555.
2021-01-05 15:19:20 10340 1 Response: 220-IPv6 connections are also welcome on this server.
2021-01-05 15:19:20 10340 1 Response: 220 You will be disconnected after 10 minutes of inactivity.
2021-01-05 15:19:20 10340 1 Command: AUTH TLS
2021-01-05 15:19:20 10340 1 Response: 234 AUTH TLS OK.
2021-01-05 15:19:20 10340 1 Status: Initializing TLS…
2021-01-05 15:19:20 10340 1 Status: Verifying certificate…
2021-01-05 15:19:20 10340 1 Status: TLS connection established.
2021-01-05 15:19:20 10340 1 Command: USER roland
2021-01-05 15:19:20 10340 1 Response: 331 User roland OK. Password required
2021-01-05 15:19:20 10340 1 Command: PASS ********
2021-01-05 15:19:20 10340 1 Response: 230 OK. Current restricted directory is /
2021-01-05 15:19:20 10340 1 Command: SYST
2021-01-05 15:19:20 10340 1 Response: 215 UNIX Type: L8
2021-01-05 15:19:20 10340 1 Command: FEAT
2021-01-05 15:19:20 10340 1 Response: 211-Extensions supported:
2021-01-05 15:19:20 10340 1 Response: EPRT
2021-01-05 15:19:20 10340 1 Response: IDLE
2021-01-05 15:19:20 10340 1 Response: MDTM
2021-01-05 15:19:20 10340 1 Response: SIZE
2021-01-05 15:19:20 10340 1 Response: MFMT
2021-01-05 15:19:20 10340 1 Response: REST STREAM
2021-01-05 15:19:20 10340 1 Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
2021-01-05 15:19:20 10340 1 Response: MLSD
2021-01-05 15:19:20 10340 1 Response: ESTP
2021-01-05 15:19:20 10340 1 Response: PASV
2021-01-05 15:19:20 10340 1 Response: EPSV
2021-01-05 15:19:20 10340 1 Response: SPSV
2021-01-05 15:19:20 10340 1 Response: ESTA
2021-01-05 15:19:20 10340 1 Response: AUTH TLS
2021-01-05 15:19:20 10340 1 Response: PBSZ
2021-01-05 15:19:20 10340 1 Response: PROT
2021-01-05 15:19:20 10340 1 Response: UTF8
2021-01-05 15:19:20 10340 1 Response: 211 End.
2021-01-05 15:19:20 10340 1 Command: OPTS UTF8 ON
2021-01-05 15:19:20 10340 1 Response: 200 OK, UTF-8 enabled
2021-01-05 15:19:20 10340 1 Command: PBSZ 0
2021-01-05 15:19:20 10340 1 Response: 200 PBSZ=0
2021-01-05 15:19:20 10340 1 Command: PROT P
2021-01-05 15:19:20 10340 1 Response: 200 Data protection level set to “private”
2021-01-05 15:19:20 10340 1 Status: Logged in
2021-01-05 15:19:20 10340 1 Status: Retrieving directory listing…
2021-01-05 15:19:20 10340 1 Command: PWD
2021-01-05 15:19:20 10340 1 Response: 257 “/” is your current location
2021-01-05 15:19:20 10340 1 Command: TYPE I
2021-01-05 15:19:20 10340 1 Response: 200 TYPE is now 8-bit binary
2021-01-05 15:19:20 10340 1 Command: PASV
2021-01-05 15:19:20 10340 1 Response: 227 Entering Passive Mode (192,168,178,20,217,30)
2021-01-05 15:19:20 10340 1 Command: MLSD
2021-01-05 15:19:20 10340 1 Response: 150 Accepted data connection
2021-01-05 15:19:20 10340 1 Response: 226-Options: -a -l
2021-01-05 15:19:20 10340 1 Response: 226 3 matches total
2021-01-05 15:19:20 10340 1 Status: Directory listing of “/” successful
2021-01-05 15:19:32 10340 2 Status: Connecting to 192.168.178.20:3555…
2021-01-05 15:19:32 10340 2 Status: Connection established, waiting for welcome message…
2021-01-05 15:19:32 10340 2 Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
2021-01-05 15:19:32 10340 2 Response: 220-You are user number 2 of 10 allowed.
2021-01-05 15:19:32 10340 2 Response: 220-Local time is now 15:20. Server port: 3555.
2021-01-05 15:19:32 10340 2 Response: 220-IPv6 connections are also welcome on this server.
2021-01-05 15:19:32 10340 2 Response: 220 You will be disconnected after 10 minutes of inactivity.
2021-01-05 15:19:32 10340 2 Command: AUTH TLS
2021-01-05 15:19:32 10340 2 Response: 234 AUTH TLS OK.
2021-01-05 15:19:32 10340 2 Status: Initializing TLS…
2021-01-05 15:19:32 10340 2 Status: Verifying certificate…
2021-01-05 15:19:32 10340 2 Status: TLS connection established.
2021-01-05 15:19:32 10340 2 Command: USER roland
2021-01-05 15:19:32 10340 2 Response: 331 User roland OK. Password required
2021-01-05 15:19:32 10340 2 Command: PASS ********
2021-01-05 15:19:32 10340 2 Response: 230 OK. Current restricted directory is /
2021-01-05 15:19:32 10340 2 Command: OPTS UTF8 ON
2021-01-05 15:19:32 10340 2 Response: 200 OK, UTF-8 enabled
2021-01-05 15:19:32 10340 2 Command: PBSZ 0
2021-01-05 15:19:32 10340 2 Response: 200 PBSZ=0
2021-01-05 15:19:32 10340 2 Command: PROT P
2021-01-05 15:19:32 10340 2 Response: 200 Data protection level set to “private”
2021-01-05 15:19:32 10340 2 Status: Logged in
2021-01-05 15:19:32 10340 2 Status: Starting upload of E:\Diversen\Verkoop\DSC_2089.JPG
2021-01-05 15:19:32 10340 2 Command: CWD /
2021-01-05 15:19:32 10340 2 Response: 250 OK. Current directory is /
2021-01-05 15:19:32 10340 2 Command: PWD
2021-01-05 15:19:32 10340 2 Response: 257 “/” is your current location
2021-01-05 15:19:32 10340 2 Command: TYPE I
2021-01-05 15:19:32 10340 2 Response: 200 TYPE is now 8-bit binary
2021-01-05 15:19:32 10340 2 Command: PASV
2021-01-05 15:19:32 10340 2 Response: 227 Entering Passive Mode (192,168,178,20,216,249)
2021-01-05 15:19:32 10340 2 Command: STOR DSC_2089.JPG
2021-01-05 15:19:32 10340 2 Response: 553 Users may not upload files
2021-01-05 15:19:32 10340 2 Error: Critical file transfer error
2021-01-05 15:19:47 10340 1 Status: Disconnected from server