Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-12-2003, 02:51 PM   #1
lucaz
Member
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 77
Default Ban user

Hi,

i use ioFTPD for quite a time now, but the only thing i don't know is how u can ban a user
can someone plz help?

thnx


greets,
1uc4z
lucaz is offline   Reply With Quote
Old 11-12-2003, 02:55 PM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

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.
Harm is offline   Reply With Quote
Old 11-12-2003, 03:01 PM   #3
lucaz
Member
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 77
Default

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"
lucaz is offline   Reply With Quote
Old 11-12-2003, 03:02 PM   #4
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

Something like that:
DENY I 217.122.14.169 "Banned address"


Note: please do not create multiple threads on the same subject.
Harm is offline   Reply With Quote
Old 11-12-2003, 03:04 PM   #5
lucaz
Member
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 77
Default

ok thnx, i hope it works...
but i can't test it now beacuse there are alot off people uploading so...
lucaz is offline   Reply With Quote
Reply

Tags
ban, confused, greets, plz, user

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash hangs during transfers slatts General Discussion 5 01-14-2005 07:50 PM


All times are GMT -5. The time now is 04:15 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)