deflood - Page 2
 

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.

blackwings

#25
Anyway, to have that ConnectToMe thingie is more dangerous than not haveing it, when you have a small reg hub as me (it's public, but you need to be regged to dl from users and to be able to chat).

So I have removed it from the script now.


plop

---------------------------------------------
-- V4.3.3
-----
-- changed the $ConnectToMe check now disconnects private ip ranges, and tells them the right IP to use
-- changed reason msg send to the kicked/banned users matches the kick/ban type.
----------------------------------------------------------------------

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

#27
---------------------------------------------
-- V4.3.4
-----
-- fixed bug on not kicking/banning (thx reefa)
-- fixed bug on level checking (thx reefa)
----------------------------------------------------------------------

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

plop, you should add a option, that can turn the ConnectToMe On or Off, sure it easy to dl the part of the code, but instead of getting users asking how to remove it, they will see that the simple can use th option in the script to turn it off.


plop

QuoteOriginally posted by blackwings
plop, you should add a option, that can turn the ConnectToMe On or Off, sure it easy to dl the part of the code, but instead of getting users asking how to remove it, they will see that the simple can use th option in the script to turn it off.
removing it would leave a security leak, while the users themself are the blame for getting kicked.
deflood tells them how 2 fix it, now i can't feel sorry because they don't read this msg.
if they complain, your reaction should be 2 give them there IP.

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 <----<<

NightLitch

//NL

plop

---------------------------------------------
-- V4.3.5
-----
-- quick fix for the !me flooder from TE
---------------------------------------------
-- V4.3.6
-----
-- added filter for the scrolling statusbar flooder (thx "unknown"/plop/sUiCiDeMAniC)
----------------------------------------------------------------------
it can be found on the usual place.

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

really tiny bug was found in 4.3.5 and 4.3.6.
both are fixed under the same version numbers.

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 <----<<

UwV

found this in V4.3.6
--------------------------------
-- explain the script what seconds, minutes, hours and day's are
sec = 1000
min = 60 * sec
hour = 60 * min
day = 12 * hour
---------------------------------

* what happened ran out of coffee and called it a day ? .. ;0)  

why only 12 hours in a day ?

*childish remarks ignore if you dont think it's funny ..
\NL   The knowledge and skills you have achieved are meant to be forgotten so you can float comfortably in emptiness, without obstruction.
" Holly loves me,...  . "      ;o)

& don't forget, the motto is :
  -- SUPPORT YOUR LOCAL DJ'S --

Herodes

cause its 12 * hours day and another 12* hours for the night  loly :)

plop

QuoteOriginally posted by UwV
found this in V4.3.6
--------------------------------
-- explain the script what seconds, minutes, hours and day's are
sec = 1000
min = 60 * sec
hour = 60 * min
day = 12 * hour
---------------------------------

* what happened ran out of coffee and called it a day ? .. ;0)  

why only 12 hours in a day ?

*childish remarks ignore if you dont think it's funny ..
lol didn't even see it, i blindfully copyed it from another script.
beside it isn't used @ all, so it won't cause any problem.
but i'll stick 2 herodes excuse. lol

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

change  
-- maximum msg's stored from the user
MaxStored = 3
to
-- maximum msg's stored from the user
MaxStored = 6
now it filters meka_meka's flava destroyer.

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
-----
-- added filter for the OpZone hub flooder.
-- this way filters all flooders which use a new connection for every chat/pm msg
it can be found on my site.

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 <----<<

Dj_OcTaGoN

#38
Hi,

seems even if i change the tIPs to my local loop 127.0.0.8 it whont let me in..... (DeFlood v4.4)
I can get in sometimes though but will get kicked whenever i try to download any filelist...
I had no problems with this while using deflood 4.3.6

cheers// Dj_OcTaGoN




hornblower

Im having exactly the same problem as Dj_OcTaGoN
any help appreciated

Thanks

plop

QuoteOriginally posted by Dj_OcTaGoN
Hi,

seems even if i change the tIPs to my local loop 127.0.0.8 it whont let me in..... (DeFlood v4.4)
I can get in sometimes though but will get kicked whenever i try to download any filelist...
I had no problems with this while using deflood 4.3.6

cheers// Dj_OcTaGoN
i didn't change anything on that part, sounds like a config error.
the loopback on windows is always 127.0.0.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 <----<<

Dj_OcTaGoN

well the only thing i did in v4.4 was exactly same thing i did in 4.3.6
changed:

tIPs = { ["127.0.0.1"] = 1, ["127.0.0.8"] = 1 }


hornblower

again i did only what Dj_OcTaGoN did and it still kicked me out.
I did however notice that you had introduced two references to the tIP table elswhere in the script which were not in 4.3.6
I removed them and it works ok - maybe not functioning properly but at least I can stay in my own hub!
Any ideas anyone.
Its still a great script plop:)

plop

check which ip ptokax sees your on, and add that 2 the 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 <----<<

hornblower

Thanks for that Plop but Ive done that. I even copy and pasted the table from 4.3.6 but still no joy. In all other hubs im in Ptokax reports my external IP in my own hub it reports the local IP of my router. Honestly Ive done nothing else to 4.4 except put exactly the same internal IP addresses in the table.
As I said there are other references to the tIPs in 4.4 that are not in 4.3.6

-- the tables needed
msgTable= {}
tShare = {}
tNames = {}
tMyInfo = {}
tGetNick = {}
tIPs = {}

function OnTimer()
   msgTable= nil
   tShare = nil
   tNames = nil
   tMyInfo = nil
   tGetNick = nil
   tIPs = nil
   msgTable= {}
   tShare = {}
   tNames = {}
   tMyInfo = {}
   tGetNick = {}
   tIPs = {}
end

function NewUserConnected(user)
   if tIPs[user.sIP] then
      tIPs[user.sIP] = tIPs[user.sIP] +1
      if tIPs[user.sIP] >= iMaxCon then
         msg = user.sName.." - "..user.sIP.." - "..date().." - banned for using a hub flooder!! (IP connected more then "..iMaxCon.."x within "..(time / 1000).." seconds)"
         StoreLog(user.sName, msg)
         return ByeBye(user)
      end
   else
      tIPs[user.sIP] = 1
   end
end

function UserDisconnected(user)

I dont understand scripting only the bits i need for it to work I leave that to you the experts. But these are the parts which are different to 4.3.6 which contain references to tIPs. Whether they are causing the problem I dont know. In the meantime Ive gone back to 4.3.6

Dj_OcTaGoN

Im connecting to my hub via 127.0.0.8 so PtokaX sees me with that IP, or do u mean anything else?


cheers // Dj_OcTaGoN


blackwings

#46
QuoteOriginally posted by Dj_OcTaGoN
Im connecting to my hub via 127.0.0.8 so PtokaX sees me with that IP, or do u mean anything else?


cheers // Dj_OcTaGoN

:S

I think he meant this Dj_OcTaGoN =

You know that on the ptokax software, you can see the list of everyone that is logged into the hub. When you are in the hub, then go to this list of user that is logged in, in ptokax and right click on your username and choose "user info" There you will see what IP ptokax software sees you as.

But at the same time, I don't think it's deflood that is doing this, I think that like your firewall or router is causing this(if you have one of these).


Dj_OcTaGoN

#47
Well then i understood right.
Well i cant get it to work...i tried connecting with 127.0.0.1 instead of 127.0.0.8 but still same thing...
But i guess Deflood 4.3.6 is almost as good as 4.4 so i will keep to 4.3.6, btw really great script! Keep goodwork going   :)
[11:59]  You have the wrong IP in the active settings from your DC client!!
You have set it to 81.226.x.x, the IP you should have set it on is: 127.0.0.1.
For Safety reasons you are now banned for 8 minutes
For more info about how to setup active mode you should look at the next website's:
Default router setup manual: --->  [URL]http://www.plop.nl/lua_tools/dc-active.zip[/URL]
Specialized router manuals: ---> [URL]http://www.portforward.com[/URL]
Official dc++ faq: ---> [URL]http://dcplusplus.sourceforge.net/faq/faq.php?display=faq&faqnr=11&catnr=2&prog=1&lang=en&onlynewfaq=1[/URL]


plop

---------------------------------------------
-- V4.4.1
-----
-- fixed conflict on double used table (tIPs changed to tUIPs on the hammer check).
found the bug, used the same table for 2 things.
sorry for the stupid mistake.

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 <----<<

Dj_OcTaGoN

Yes working perfectly, thanx!

cheers // Dj_OcTaGoN


SMF spam blocked by CleanTalk