Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-25-2005, 05:28 AM   #1
goom
ioFTPD Professional License
ioFTPD Foundation User
 
Join Date: Oct 2005
Posts: 32
Default [Old] ident and ip bans

hello guys, i was reading readme.txt again, and i saw that:

#########
## ban ##
#########
#
# 1 rule per line
# you can put as many line as you want
# if ANY line is matched, the command won't be executed
#
# Syntax:
# ^ means start with
# $ means ends with
#
# Eg: ^127. means starts with 127.; will match 127.*.*.*
# 127 means contains 127; will match 127.*.*.* and *.127.*.* and *.*.127.* and *.*.*.127
# .1$ means ends with .1; will match *.*.*.1
# ^127.0.0.1$
# means IS 127.0.0.1; will match 127.0.0.1 only
# !!! Same applies to ident matching !!!

ip=^80.230.140.66$
ident=^RPG$
ip_ident=^RPG$@^80.230.
#ip=^127.0.0.1$



So, that means, i can ban and ip or a host from my site using ioBanana ?

if yes, how can i set a ban ??

thx
goom is offline   Reply With Quote
Old 11-25-2005, 03:30 PM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

It looks like you're answering it yourself. Have a look to the excerpt of the readme file you've pasted, everything is there.
Harm is offline   Reply With Quote
Old 11-25-2005, 11:21 PM   #3
goom
ioFTPD Professional License
ioFTPD Foundation User
 
Join Date: Oct 2005
Posts: 32
Default

Quote:
Originally Posted by Harm
It looks like you're answering it yourself. Have a look to the excerpt of the readme file you've pasted, everything is there.

Harm look

i don't know if i'm correct, but if i set


^ 200.200.200.200 <-- so this IP will be banned ? that's it ?

and what i do not understood is, what command should i use to set the ban ??

like

setban ^ 200.200.200.200 ??
goom is offline   Reply With Quote
Old 11-26-2005, 10:45 AM   #4
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

What command ? I suggest "notepad ioBanana.ini" (or "vim ioBanana.ini"). It's only a configuration setting.
You only add lines to ioBanana.ini specifying what you want to match (ident, ip or both) and the regular expression used.
Harm is offline   Reply With Quote
Old 11-26-2005, 11:17 AM   #5
goom
ioFTPD Professional License
ioFTPD Foundation User
 
Join Date: Oct 2005
Posts: 32
Default

Quote:
Originally Posted by Harm
What command ? I suggest "notepad ioBanana.ini" (or "vim ioBanana.ini"). It's only a configuration setting.
You only add lines to ioBanana.ini specifying what you want to match (ident, ip or both) and the regular expression used.
Harm:

i know u're trying help, and aslo know it's real hard chat with a noob. But could u be a little more specific ??

in iobanana.ini i have the option:

## ban ##

so if i add the line
ip=^192.168.1.1$

means it will ban 192.168.1.1 ???


And look, under ioFTPD.ini i added a line like:

[FTP_Pre-Command_Events]
;pass = EXEC C:\Program Files\ioFTPD\scripts\scripts\ioBanana.exe ban

is that right ?
goom is offline   Reply With Quote
Old 11-27-2005, 02:59 PM   #6
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Quote:
Originally Posted by goom
Harm:
I'm not Harm, but I care about his mental health, so allow me to try to help you with that.

Quote:
Originally Posted by goom
in iobanana.ini i have the option:

## ban ##

so if i add the line
ip=^192.168.1.1$

means it will ban 192.168.1.1 ???
Yes. As the .ini comments says:
# ^127.0.0.1$
# means IS 127.0.0.1; will match 127.0.0.1 only

So yes, replacing 127.0.0.1 by any IP address will ban this exact IP address.

Quote:
Originally Posted by goom
And look, under ioFTPD.ini i added a line like:

[FTP_Pre-Command_Events]
;pass = EXEC C:\Program Files\ioFTPD\scripts\scripts\ioBanana.exe ban

is that right ?
Read the ioFTPD installation guide here: http://www.inicom.net/pages/en.ioftp...tation.php?s=2
Under the point 2. there's a note that explains what does ";" mean in ioFTPD.ini
Quote: ...disabled options/settings are preceeded by a semicolon ";"

So if you want to DISABLE the ioBanana ban option, then yes, leave a ; before that line.
If you want to use it, then remove the ;

Hope this helps.
Mouton is offline   Reply With Quote
Old 11-27-2005, 08:16 PM   #7
goom
ioFTPD Professional License
ioFTPD Foundation User
 
Join Date: Oct 2005
Posts: 32
Default

JESUS...

Mouton

Thank You SOOO MUCH MAN.

Really many thx. I finally got it all working now :PPPPPP

Thx again man !!!!
goom is offline   Reply With Quote
Reply

Tags
ban, ends, line, match, means

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 Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:07 AM.

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