deflood - Page 3
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

deflood

Started by plop, 05 July, 2004, 05:52:44

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hornblower

Thanks Plop Im working OK now too!
Beginning to think I was going mad
Great script!

BoJlk

Hi plop I got an Error on
Deflood v4.4.1

Syntax error: `for' table must be a table
stack traceback:
   1:  function `Main' at line 172 [file `...UB [v0.330 build15.25]\scripts\deflood4.4.1.lua']

plop

QuoteOriginally posted by BoJlk
Hi plop I got an Error on
Deflood v4.4.1

Syntax error: `for' table must be a table
stack traceback:
   1:  function `Main' at line 172 [file `...UB [v0.330 build15.25]\scripts\deflood4.4.1.lua']

seems like the badTable is missing from the top of the script.
try a fresh install.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

BoJlk

#53
plop
And another Weird Error i got the other day...
well it's probably a commond BOT action that defined by the Deflood as Spam...

[04:11:17] *** MyINFO Spam detected!! from user: ?RoboCop?
[04:11:17] *** MyINFO Spam detected!! from user: -ChatOP-


And about the Deflood v4.4.1
I've tried to unregister the BOT so it would not appear In the user list...maybe i did it wrong?
And that whats caused the error?!

[color=green]-- name of the bot.
-- Bot="deflood"[/color]

blackwings

QuoteOriginally posted by BoJlk
I've tried to unregister the BOT so it would not appear In the user list...maybe i did it wrong?
And that whats caused the error?!

[color=green]-- name of the bot.
-- Bot="deflood"[/color]

remove this line from "function Main()", then it won't appear in the userlist =
frmHub:RegBot(Bot)


plop

QuoteOriginally posted by BoJlk
plop
And another Weird Error i got the other day...
well it's probably a commond BOT action that defined by the Deflood as Spam...

[04:11:17] *** MyINFO Spam detected!! from user: ?RoboCop?
[04:11:17] *** MyINFO Spam detected!! from user: -ChatOP-


And about the Deflood v4.4.1
I've tried to unregister the BOT so it would not appear In the user list...maybe i did it wrong?
And that whats caused the error?!

[color=green]-- name of the bot.
-- Bot="deflood"[/color]
keep the bot registered in the list, so it notifies potential flooders that it's useless 2 flood your hub.
the myinfo spams are triggered by some other script, prob something which gives your bot's a description/tag/email etc...
either reduce the amount of times that scripts sends that stuff or remove the  whole script.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Optimus

Quote[04:11:17] *** MyINFO Spam detected!! from user: ?RoboCop?
[04:11:17] *** MyINFO Spam detected!! from user: -ChatOP-

Yups Plop is right is a bug in RoboCop it's sending to much MyInfo's hehe. Things are solved in my new Version. I will release it this week. lol :D

BoJlk

#57
Thank you Both

well plop
Quotekeep the bot registered in the list, so it notifies potential flooders that it's useless 2 flood your hub.
About that I would like to use the tactic of You don't know what you don't see  :D
Because if some Spamer will think it's safe! he'll be wrong and his ASS will be BANNED! and not kicked for trying. He,HE...

And how do i change the number of times message posted for Deflood to react????

And Optimus I'll surely will wait for your new release...

bolamix

Heya,
I'd need a few pointers on using Deflood: I haven't yet had our hub flooded (currently knocking on my table leg), should I use Deflood just in case, or should I wait until we actually get flooded? It looks like a pretty memory-intensive script, and I don't have too much of that particular currency, unfortunately.

Another thing is, I don't have a clear idea of what this script actually does during a hub's normal activity (ie. no flooder present). Should I warn users of hitherto unseen messages? Of previously authorized clients becoming suspects? In short, what to expect? Our userbase is rather solid, but small ;)

Thanks for any answers!
Sharing is of the essence!

Live music >> Aiwadirock! live music hub
PtokaX knowledge >> The PtokaX Wiki

plop

QuoteOriginally posted by bolamix
Heya,
I'd need a few pointers on using Deflood: I haven't yet had our hub flooded (currently knocking on my table leg), should I use Deflood just in case, or should I wait until we actually get flooded? It looks like a pretty memory-intensive script, and I don't have too much of that particular currency, unfortunately.

Another thing is, I don't have a clear idea of what this script actually does during a hub's normal activity (ie. no flooder present). Should I warn users of hitherto unseen messages? Of previously authorized clients becoming suspects? In short, what to expect? Our userbase is rather solid, but small ;)

Thanks for any answers!
thats like speeding with a car on a road for 50KM/h with a speed of 150KM/s.
sooner or later you run into trouble and your bound 2 respond 2 late (if you can respond).

the only way's a user can get harmed is if they ignore the warnings or do something wrong.

how much resources it uses i don't know, maby some folks could show some specs.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

BoJlk

I don't know but that's the only Stat i can see about the Deflood MEM usage

deflood4.4.1.lua   C: 109   T: 116

bolamix

#61
Dank u plop i spassiba BoJlk :))
Quoteplop wrote:
thats like speeding with a car on a road for 50KM/h with a speed of 150KM/s.
sooner or later you run into trouble and your bound 2 respond 2 late (if you can respond).
I like your analogy with speeding, but I haven't even seen a flooder in over 2 years, that's why I'm wondering if this is really needed for my small and unregged hub... I can't really say that I'm speeding, I'm more like a kid riding his bicycle along the highway, not on it ;)

And I was wondering about mem usage cause I've been using one big mother of a bot, very nice and useful I found (chilla's L.I.S.), but now I've put the hubsoft on a PI@166 with 128 Mb RAM, and L.I.S. numbers where more like "C:12000 T:15000" and the hub was painfully slow (with around 30 users on average). So I had to remove LIS, and now I'm more careful about which scripts I install 8)
Admittedly Deflood is a lot smaller (less code and external files) than LIS, but I don't know enough lua --or programming in feneral-- to guess how much that impacts mem usage.
Tell you what, I'll test it out and report :P l8er...
Sharing is of the essence!

Live music >> Aiwadirock! live music hub
PtokaX knowledge >> The PtokaX Wiki

imby

#62
QuoteOriginally posted by BoJlk
Thank you Both

well plop
Quotekeep the bot registered in the list, so it notifies potential flooders that it's useless 2 flood your hub.
About that I would like to use the tactic of You don't know what you don't see  :D
Because if some Spamer will think it's safe! he'll be wrong and his ASS will be BANNED! and not kicked for trying. He,HE...

And how do i change the number of times message posted for Deflood to react????

And Optimus I'll surely will wait for your new release...

This might be a useful suggestion for you, might not be. Two bots can have the same user name. so you can set deflood to have the same nick as your main bot or robocop. I've done the same here and it's working perfectly.

Open deflood in notepad, find this line:

-- name of the bot.
Bot="deflood"

and you just write between the " " the exact name of your main bot. so

]-- name of the bot.
Bot="?Robocop?"

for example.

save it in notepad. and close the hub completely then reopen it and it should work. I hope this is what you are asking for.

as for some more figures,

deflood4.4.1.lua Mem: 60-140 GC:122
comparable to:
Robocopv9.0a.lua 300-600 GC: 683

i dunno what these figures mean. just know everything runs perfectly and have an average uptime of 10 or more days. only reboot cuz someone needs the pc or downloading updates.

plop

---------------------------------------------
-- V4.4.2
-----
-- removed the cleaning of the table in UserDisconnected on the hammer
----------------------------------------------------------------------

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

mke

hi plop,

i have tried ur script and is probably on the best, that is though when i connect as passive. whenever i try switch to active it justs kicks me out of my hub. dunno. have tried everything and all recommendations that are on the post but it doesnt seem to work. i have setup my router to forward a port with my internal ip, and when i connect to other hubs i log in as active with no problems and can search everything. when i connect to my hub it justs disconnects me. defloof reports me that i should config my settings in dc to point the internal ip instead of the external ip of the router. when i do that, i can connect to my hub as active, but i cant search anything. as much as i know dc settings should have the external ip and the port that is forwarded, instead the internal lan ip. dunno what to do. any ideas?

plop

QuoteOriginally posted by mke
hi plop,

i have tried ur script and is probably on the best, that is though when i connect as passive. whenever i try switch to active it justs kicks me out of my hub. dunno. have tried everything and all recommendations that are on the post but it doesnt seem to work. i have setup my router to forward a port with my internal ip, and when i connect to other hubs i log in as active with no problems and can search everything. when i connect to my hub it justs disconnects me. defloof reports me that i should config my settings in dc to point the internal ip instead of the external ip of the router. when i do that, i can connect to my hub as active, but i cant search anything. as much as i know dc settings should have the external ip and the port that is forwarded, instead the internal lan ip. dunno what to do. any ideas?
add your local lan ip here.
-- don't check the next IP's on fake $ConnectToMe's 
-- (for hub owners who are behind a NAT router)
tIPs = { ["127.0.0.1"] = 1, ["127.0.0.2"] = 1 }
plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

mke

do u ever sleep??? its 6:30 in the morning!!! anywayzz

thx i got it to work now as active. was using 4.3 and didnt seem to work. dunno, 4.4 works like it was ment to work.


by the way, i have to congratulate u on this excellent remark u have made!  :D nescafe by day, espresso by night.

>>----> coffee is more important then oxygen, I can hold my breath for 2 minutes. <----<<

BoJlk

#67
QuoteOriginally posted by imby
QuoteOriginally posted by BoJlk
Thank you Both

well plop
Quotekeep the bot registered in the list, so it notifies potential flooders that it's useless 2 flood your hub.
About that I would like to use the tactic of You don't know what you don't see  :D
Because if some Spamer will think it's safe! he'll be wrong and his ASS will be BANNED! and not kicked for trying. He,HE...

And how do i change the number of times message posted for Deflood to react????

And Optimus I'll surely will wait for your new release...

This might be a useful suggestion for you, might not be. Two bots can have the same user name. so you can set deflood to have the same nick as your main bot or robocop. I've done the same here and it's working perfectly.

Open deflood in notepad, find this line:

-- name of the bot.
Bot="deflood"

and you just write between the " " the exact name of your main bot. so

]-- name of the bot.
Bot="?Robocop?"

for example.

save it in notepad. and close the hub completely then reopen it and it should work. I hope this is what you are asking for.

as for some more figures,

deflood4.4.1.lua Mem: 60-140 GC:122
comparable to:
Robocopv9.0a.lua 300-600 GC: 683

i dunno what these figures mean. just know everything runs perfectly and have an average uptime of 10 or more days. only reboot cuz someone needs the pc or downloading updates.
[/size]

Forgot to Thank you 4 ur reply...

it was a good idea...

plop

QuoteOriginally posted by mke
do u ever sleep??? its 6:30 in the morning!!! anywayzz

thx i got it to work now as active. was using 4.3 and didnt seem to work. dunno, 4.4 works like it was ment to work.


by the way, i have to congratulate u on this excellent remark u have made!  :D nescafe by day, espresso by night.

>>----> coffee is more important then oxygen, I can hold my breath for 2 minutes. <----<<
i just woke up 2 go 2 work. lol
but i sleep about 4-6 hours a day.
who needs sleep when there is coffee.
good 2 hear that you got it running now.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

plop

---------------------------------------------
-- V4.4.3
-----
-- added bad share table

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

blackwings

is [166430355311] = 1 the only share size that could point out a hubflooder?


plop

QuoteOriginally posted by blackwings
is [166430355311] = 1 the only share size that could point out a hubflooder?
there are probably more vallue's, thats why i added the table instead of a single integer.
this way deflood is ready for the future.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

blackwings

QuoteOriginally posted by plop
QuoteOriginally posted by blackwings
is [166430355311] = 1 the only share size that could point out a hubflooder?
there are probably more vallue's, thats why i added the table instead of a single integer.
this way deflood is ready for the future.

plop

can't people be mistaken for using a hubdestroyer when they aren't? I mean, someone might have the exact share size value as the value in deflood and not using a hubdestroyer


BoJlk

#73
hehe...

plop i consider your script as HUB Firewall...GOOD WORK

One little request: can you include in your script AntuHammering Feature?

Actually i remembered that you have that feature, but can do something like...when TimeBaned for Hammering
it resets the time, it's a problem thou because if user banned for 20 min. and the DC Client Reconnects every 2 min. So he'll banned 4 ever :)))

Meka][Meka

QuoteOriginally posted by plop
QuoteOriginally posted by blackwings
is [166430355311] = 1 the only share size that could point out a hubflooder?
there are probably more vallue's, thats why i added the table instead of a single integer.
this way deflood is ready for the future.

plop

just so everyones share size doesnt get banned..thought i'd let u know, my new Nemesis Project has a random share value...
Do you know what \'nemesis\' means? A righteous infliction of retribution manifested by an appropriate agent. Personified in this case by an \'orrible cunt... me.



SMF spam blocked by CleanTalk