Auto-blocking whitelist?

#1

I’ve been doing some testing with ftp clients deliberately trying to transfer with invalid credentials, and I’ve found that some of them have been added automatically to the list of blocked IPs, presumably because of these failed attempts. Is there a way to ‘whitelist’ some IPs, so that they are not blocked like this?

#2

You can refer the link mentioned below and refer the steps mentioned in the My Cloud FTP Settings. In the last step given in the article you can see the list of blocked IP address. You can remove the IP address from there.

#3

thats removal from blacklist, which is not the same as adding to whitelist.

There is a file called “etc/hosts.allow” used by vsftp that you could theoretically add your whitelisted hosts to. You would have to invoke vsftpd with

tcp_wrappers=YES

in the vsftpd.conf file. I am currently on vacation, so I do not have access to my mycloud at the moment, so I cannot give further insights.

If you have a gen2 mycloud, getting persistent modifications to conf files is kludgy. You would need to install something like wdcrack, then append some stuff to its init script to modify the conf files and restart the system’s daemons. A gen1 mycloud should be easier to tweak like this.

Bear in mind that these kinds of modifications would have to be done over SSH.

#4

Thanks, I’ll look into your suggestions.