hi.
	
		
			
		
		
	
	
		
			
		
		
	
config file active modules do not change when i do this.
sample  add parameters
UseIPv6 off
<IfModule mod_ban.c>
    BanEngine on
    BanControlsACLs all allow group wheel
    BanLog /var/log/proftpd/ban.log
    BanMessage Host %a has been banned
    BanOnEvent MaxLoginAttempts 2/00:10:00 01:00:00
    # -m "mod_ban/rule"
    # -v "concat('  BanOnEvent ',event,' ',occurrence,'/',timeinterval,' ',expire)" -n
    # -b
    BanTable /var/run/proftpd/ban.tab
</IfModule>
Config file
ServerName "freenas FTP Server"
ServerType standalone
DefaultServer on
DefaultAddress localhost
UseIPv6 on
Port 21
User nobody
Group nogroup
Umask 006 002
SyslogFacility ftp
MultilineRFC2228 off
DisplayLogin /var/run/proftpd/proftpd.motd
DeferWelcome off
TimeoutIdle 600
TimeoutLogin 300
TimeoutNoTransfer 300
TimeoutStalled 3600
MaxInstances none
    MaxClients 10
    MaxConnectionsPerHost 10
    MaxLoginAttempts 10
DefaultTransferMode ascii
AllowForeignAddress off
IdentLookups off
UseReverseDNS off
    PassivePorts  50000 50100
    <Limit LOGIN>
        AllowAll
    </Limit>
<Global>
    RequireValidShell off
        DefaultRoot ~ !wheel
    AllowOverwrite on
        AllowRetrieveRestart on
        AllowStoreRestart on
    DeleteAbortedStores off
    TimesGMT off
</Global>
<IfModule mod_ban.c>
    BanEngine off
    BanControlsACLs all allow group wheel
    BanLog /var/log/proftpd/ban.log
    BanMessage Host %a has been banned
    # -m "mod_ban/rule"
    # -v "concat('  BanOnEvent ',event,' ',occurrence,'/',timeinterval,' ',expire)" -n
    # -b
    BanTable /var/run/proftpd/ban.tab
</IfModule>
UseIPv6 off
<IfModule mod_ban.c>
    BanEngine on
    BanControlsACLs all allow group wheel
    BanLog /var/log/proftpd/ban.log
    BanMessage Host %a has been banned
    BanOnEvent MaxLoginAttempts 2/00:10:00 01:00:00
    # -m "mod_ban/rule"
    # -v "concat('  BanOnEvent ',event,' ',occurrence,'/',timeinterval,' ',expire)" -n
    # -b
    BanTable /var/run/proftpd/ban.tab
</IfModule>
<IfModule mod_delay.c>
    DelayEngine on
    DelayTable /var/run/proftpd/proftpd.delay
</IfModule>
<IfModule mod_wrap.c>
    TCPAccessFiles "/etc/hosts.allow" "/etc/hosts.deny"
    TCPAccessSyslogLevels info warn
    TCPServiceName ftpd
</ifModule>