View Full Version : Ban user
lucaz
11-12-2003, 02:51 PM
Hi,
i use ioFTPD for quite a time now, but the only thing i don't know is how u can ban a user :confused:
can someone plz help?
thnx
greets,
1uc4z
You can either use the .\etc\Host.rules file or a ban script.
To use Host.rules, the syntax is:
DENY I|H IP|HOSTNAME LOG_STRING
In example (from default Host.rules file):
DENY I 10. "Banned network address"
Note: restart the daemon after editing the Host.rules files for the changes to take place.
lucaz
11-12-2003, 03:01 PM
i want to ban 217.122.14.169, how can i do that???
# Default policy
#
# POLICY ACCEPT CONNECTIONS_PER_IP
# POLICY DENY
#
# Uncomment the ACCEPT line, and comment the DENY line
# *** when you changed the default ioFTPD password! ***
POLICY ACCEPT 2
# POLICY DENY
# Classes
#
# CLASS CLASS_NAME TOTAL_CONNECTIONS_PER_CLASS
CLASS NORDIC 25
CLASS ADMIN -1
# Rules
#
# ACCEPT I|H IP|HOSTNAME CLASS_NAME CONNECTIONS_PER_IP
# DENY I|H IP|HOSTNAME LOG_STRING
#
ACCEPT I 192.168. ADMIN -1
ACCEPT I 127.0.0. ADMIN -1
ACCEPT I 172.16. ADMIN -1
ACCEPT I 10. ADMIN -1
ACCEPT H .fi NORDIC 2
ACCEPT H .se NORDIC 1
ACCEPT H .no NORDIC 1
DENY I 16.3.4 "Banned network address"
DENY H .tw "Access from taiwan is prohibited"
Something like that:
DENY I 217.122.14.169 "Banned address"
Note: please do not create multiple threads on the same subject.
lucaz
11-12-2003, 03:04 PM
ok thnx, i hope it works...
but i can't test it now beacuse there are alot off people uploading so...
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.