Raised This Month: $32 Target: $400
 8% 

[ANY] Connection Flood Protection


Post New Thread Reply   
 
Thread Tools Display Modes
Author
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Plugin ID:
2516
Plugin Version:
1.5b
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    5 
    Plugin Description:
    Ban players who flood connections to your server.
    Old 08-25-2011 , 02:39   [ANY] Connection Flood Protection
    Reply With Quote #1

    What does this do?
    If a player connects (by default) 6 times to your server in (again, by default) 12.4 seconds, they're banned for connection flooding.

    There's already a standalone plugin that does this!
    Awesome. Just PM me or post a link to it in this thread and I'll remove this. I know there's one from a while back that used static arrays (I can't find it, honestly I've looked). So if two players were constantly flooding they wouldn't be banned due to array limitations.

    Why are there no cvars!
    I originally wrote this for internal usage. However, since I can't find the existing one on here anymore. I figured I may as well post it on AM. If you (genuinely) want to configure a part of it, I can add cvars. However, modifying the defines at the top of the plugin is the easiest way. It's more of a set it and forget it plugin.
    Attached Files
    File Type: sp Get Plugin or Get Source (ConnectionFloodProtection.sp - 1845 views - 2.3 KB)

    Last edited by KyleS; 09-03-2011 at 16:14.
    KyleS is offline
    Fearts
    ferts of daeth
    Join Date: Oct 2008
    Old 08-25-2011 , 05:58   Re: [ANY] Connection Flood Protection
    Reply With Quote #2

    I think SMAC has antispamconnect but it just stops people from rejoining I think. Nothing this complex.

    Looks good will give it a try
    __________________
    Fearts is offline
    GrO
    Veteran Member
    Join Date: Jun 2010
    Location: Poland
    Old 08-25-2011 , 06:15   Re: [ANY] Connection Flood Protection
    Reply With Quote #3

    I think it duplicates one of the functions of Forlix Floodcheck:

    http://forums.alliedmods.net/showthread.php?t=87553
    GrO is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 08-26-2011 , 10:59   Re: [ANY] Connection Flood Protection
    Reply With Quote #4

    this will still allow 2 or more people to connect from lan right?
    the one in SMAC unfortunetly blocks everything.

    Last edited by Visual77; 08-26-2011 at 11:01.
    Visual77 is offline
    KyleS
    SourceMod Plugin Approver
    Join Date: Jul 2009
    Location: Segmentation Fault.
    Old 08-26-2011 , 17:18   Re: [ANY] Connection Flood Protection
    Reply With Quote #5

    Quote:
    Originally Posted by Visual77 View Post
    this will still allow 2 or more people to connect from lan right?
    the one in SMAC unfortunetly blocks everything.
    Indeed. However, they'll be limited to three connections each (in 12.4s). I could add a work around for this (It would require either CBaseServer Tools or 'Connect').
    KyleS is offline
    Velture
    Senior Member
    Join Date: Jan 2011
    Location: Poland, Warsaw
    Old 08-26-2011 , 20:19   Re: [ANY] Connection Flood Protection
    Reply With Quote #6

    Quote:
    Originally Posted by GrO View Post
    I think it duplicates one of the functions of Forlix Floodcheck:

    http://forums.alliedmods.net/showthread.php?t=87553
    the forlix doasn't work well. one time it works and another time i doasn't ban anyone.
    __________________
    Velture is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 08-27-2011 , 10:35   Re: [ANY] Connection Flood Protection
    Reply With Quote #7

    Quote:
    Originally Posted by KyleS View Post
    Indeed. However, they'll be limited to three connections each (in 12.4s). I could add a work around for this (It would require either CBaseServer Tools or 'Connect').
    it's cool with how it is now.
    finaly a good plugin
    Visual77 is offline
    GrO
    Veteran Member
    Join Date: Jun 2010
    Location: Poland
    Old 08-31-2011 , 15:48   Re: [ANY] Connection Flood Protection
    Reply With Quote #8

    Quote:
    Originally Posted by Velture View Post
    the forlix doasn't work well. one time it works and another time i doasn't ban anyone.
    Works fine for me, maybe You're not using the latest (1.71) version.
    GrO is offline
    KyleS
    SourceMod Plugin Approver
    Join Date: Jul 2009
    Location: Segmentation Fault.
    Old 09-03-2011 , 16:14   Re: [ANY] Connection Flood Protection
    Reply With Quote #9

    I made a mistake with the sm_banip command. Fixed in 1.5b
    KyleS is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 07-05-2014 , 08:59   Re: [ANY] Connection Flood Protection
    Reply With Quote #10

    memory leak or normal? When the plugin first loaded it showed 8512 and 12 hours later increased that much.

    Code:
    0x00b700b7    ConnectionFloodProtection.    Trie                    36928

    Last edited by Visual77; 07-05-2014 at 09:24.
    Visual77 is offline
    Reply



    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


    All times are GMT -4. The time now is 19:42.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode