Proftpd LIMIT LOGIN not working

fcmed

Verified User
Joined
Nov 16, 2016
Messages
7
I would like to limit the logins to specified IP ranges with proftpd and have not had any luck doing it.

It would seem <Limit LOGIN> has not effect in /etc/proftpd.conf - For example:

I placed the following in /etc/proftpd.conf:

<Limit LOGIN>
DenyAll
</Limit>

After restarting proftpd I can still login with FTP. I've also tried the following but it has no effect:

<Limit LOGIN>
# These are trusted addresses
Allow from 127.0.0.1 123.123.*.*
# Everyone else is denied
DenyAll
</Limit>


Perhaps I'm editing the wrong file or not understanding something correctly. I also take it that my changes to proftpd.conf will be lost when upgrading directadmin to a newer version?
 
Hi,

Yes, I'm running proftpd

The following is displayed when running: ps aux | grep proftpd

ftp 8241 0.0 0.0 149728 2120 ? Ss 09:25 0:00 proftpd: (accepting connections)
root 8438 0.0 0.0 103316 896 pts/0 S+ 09:25 0:00 grep proftpd
 
Back
Top