ADCH++ Guard for adc commands flooding and limit rules

Post finished Hubside Scripts here, known supporting hubsofts for LUA scripting.

ADCH++ | DCWatch | LUADCH
Pirre
Junior Member
Posts: 31
Joined: Tue Nov 10, 2009 11:57 am

ADCH++ Guard for adc commands flooding and limit rules

Post by Pirre » Fri Jan 14, 2011 8:43 pm

A alpha template for a ADCH++ anti flood script. There must be errors but works :) so put it out to be improved and commented.

Only works on adchpp rev 258 and above and is never used on a big hub so ....
You do not have the required permissions to view the files attached to this post.

Pirre
Junior Member
Posts: 31
Joined: Tue Nov 10, 2009 11:57 am

Re: Guard for adc commands flooding and limit rules

Post by Pirre » Sun Jan 16, 2011 3:29 pm

New version
Changelog

-solved a bug in the onMSG statsrule
-added PFR cmd in the stats
You do not have the required permissions to view the files attached to this post.

Pirre
Junior Member
Posts: 31
Joined: Tue Nov 10, 2009 11:57 am

Re: Guard for adc commands flooding and limit rules

Post by Pirre » Mon Jan 17, 2011 6:19 pm

rev: 1.0.17

Changelog:

Corrected few small errors
Added commands that are known but who can be used to flood the hub due to context
Added comments about replacing access.limit.lua
You do not have the required permissions to view the files attached to this post.

Pirre
Junior Member
Posts: 31
Joined: Tue Nov 10, 2009 11:57 am

Re: Guard for adc commands flooding and limit rules

Post by Pirre » Tue Jan 18, 2011 6:41 pm

rev: 1.0.18

Changelog:

Putted the verify_connection and its command in comment (most users don't have lua socket installed it seems , you can un-comment it if you have as its a nice tool for users to see active or passive mode should be used)

Added commands +showabout and +showrules that permits the hubowner to put a about.txt and rules.txt in the cfg folder and that content will be shown to the user in mainchat.
You do not have the required permissions to view the files attached to this post.

Toast

Re: Guard for adc commands flooding and limit rules

Post by Toast » Wed Jan 19, 2011 5:28 pm

How about some default values for the guard script ? so that regular users dont have to figure out and also something about how you concluded that those values works.

Spookie
Junior Member
Posts: 19
Joined: Wed Dec 05, 2007 4:40 pm

Re: Guard for adc commands flooding and limit rules

Post by Spookie » Wed Jan 19, 2011 5:38 pm

Good idea Toast, that would help .

Good work Pirre,Sript is still working ;)

Pirre
Junior Member
Posts: 31
Joined: Tue Nov 10, 2009 11:57 am

Re: Guard for adc commands flooding and limit rules

Post by Pirre » Thu Jan 20, 2011 2:06 pm

Its not really possible to give "golden" settings but attached HowTo explains a bit more of the scripts logic and the 2 major types of floods it intercepts,hope this helps.

And happy it still runs lol.

rev: 1.0.19

Changelog:

minor fixes.
You do not have the required permissions to view the files attached to this post.

Pirre
Junior Member
Posts: 31
Joined: Tue Nov 10, 2009 11:57 am

Re: ADCH++ Guard for adc commands flooding and limit rules

Post by Pirre » Sun Jan 23, 2011 12:22 pm

rev: 1.0.21

Changelog:

Added rule/limit to force TLS (ADC0/ADCS) support for transfers.
You do not have the required permissions to view the files attached to this post.

Spookie
Junior Member
Posts: 19
Joined: Wed Dec 05, 2007 4:40 pm

Re: ADCH++ Guard for adc commands flooding and limit rules

Post by Spookie » Sun Feb 06, 2011 10:38 pm

Missing a easy way to find what rev of this script we are running.
Perhaps it should have a right click "Show Rev" command

Pirre
Junior Member
Posts: 31
Joined: Tue Nov 10, 2009 11:57 am

Re: ADCH++ Guard for adc commands flooding and limit rules

Post by Pirre » Wed Feb 09, 2011 8:45 pm

True :)

nxt version has a about command showing version and mem usage and a few other things ...

Who is online

Users browsing this forum: Google (Crawler) and 0 guests