Raised This Month: $51 Target: $400
 12% 

A2S Spam Ban (18/05/17)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
SM9
Veteran Member
Join Date: Sep 2013
Location: United Kingdom
Plugin ID:
5392
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    unapproved due to request of author (unsupported)
    Old 11-01-2016 , 13:16   A2S Spam Ban (18/05/17)
    Reply With Quote #1

    A2S Spam Ban v0.2

    A2S Anti Spam is a plugin which automatically IP bans an A2S Query attacker thus preventing your server from crashing.

    What games are supported?
    It has only been tested in CSGO and I believe that is the only game which is supported as of now, because we rely on the PTAH extension (Thanks, komashchenko)

    Installation is easy, Just click download repository here to get the latest version and copy to your server in the correct same structure.

    WhiteList file
    In the sourcemod/configs folder you will see a2s-whitelist.txt, here you can add IPs or Hostnames which won't get banned. This can be useful for people who use HLSW for example. If you have a Dynamic IP, then I would suggest getting something like NO-IP and then you can add your hostname to the whitelist instead of updating it each time your IP changes.

    Cvars

    As of now, there is only one cvar, this allows you to specify how long an attacker gets banned for. By default, it's 5 mins. sm_a2s_bantime

    Requirements

    Source
    Download (Click download Repository)

    Last edited by SM9; 05-18-2017 at 21:53.
    SM9 is offline
    sneaK
    SourceMod Moderator
    Join Date: Feb 2015
    Location: USA
    Old 11-01-2016 , 13:41   Re: A2S Spam Ban
    Reply With Quote #2

    Nice release!

    Question, does running this Metamod plugins negate the need for this plugin? Or vice versa?
    __________________
    sneaK is offline
    SM9
    Veteran Member
    Join Date: Sep 2013
    Location: United Kingdom
    Old 11-01-2016 , 13:46   Re: A2S Spam Ban
    Reply With Quote #3

    Quote:
    Originally Posted by blackhawk74 View Post
    Nice release!

    Question, does running this Metamod plugins negate the need for this plugin? Or vice versa?
    I run both, While the MM plugin probably helps, it does not seem to be very effective.

    This simply detects when an attack is printed to server console then bans that IP to prevent it from further spamming and eventually crashing your server.
    SM9 is offline
    SM9
    Veteran Member
    Join Date: Sep 2013
    Location: United Kingdom
    Old 11-01-2016 , 19:52   Re: A2S Spam Ban
    Reply With Quote #4

    Anyone that has downloaded this, Please redownload again, I have made some fixes.
    SM9 is offline
    Mikado
    Senior Member
    Join Date: Nov 2012
    Location: don't know where :/
    Old 12-02-2016 , 06:28   Re: A2S Spam Ban
    Reply With Quote #5

    Quote:
    L 12/02/2016 - 12:24:49: SourceMod error session started
    L 12/02/2016 - 12:24:49: Info (map "de_dust2") (file "errors_20161202.log")
    L 12/02/2016 - 12:24:49: [SMRCon] Invalid detour address passed - Disabling detour to prevent crashes
    L 12/02/2016 - 12:24:49: [SMRCon] Error setting up WriteDataRequest detour
    L 12/02/2016 - 12:24:49: [SM] Unable to load extension "smrcon.ext": Unknown error
    L 12/02/2016 - 12:24:53: [SM] Unable to load plugin "A2S-Spam-Ban.smx": Required extension "smrcon" file("smrcon.ext") not running
    Not working, all files uploaded and using lastest sourcemod 1.8
    Mikado is offline
    winter96
    Member
    Join Date: Oct 2013
    Old 12-02-2016 , 18:55   Re: A2S Spam Ban
    Reply With Quote #6

    This plugin will not interfere with work statistics gameme and gametracker?
    winter96 is offline
    root88
    Senior Member
    Join Date: May 2016
    Old 12-03-2016 , 09:31   Re: A2S Spam Ban
    Reply With Quote #7

    Are you sure it's still possible to lag/crash CSGO server with A2S spam?
    __________________
    root88 is offline
    SM9
    Veteran Member
    Join Date: Sep 2013
    Location: United Kingdom
    Old 05-18-2017 , 21:51   Re: A2S Spam Ban
    Reply With Quote #8

    0.4 -
    • Make SMRcon Optional.
    • Use .FindString method instead to check if IP banned or Whitelisted.

    Also thanks to the latest CSGO update, this should work much more effectively:
    "Server ban list filter is now enforced in early stages of client connection packet handling."

    Quote:
    Originally Posted by Mikado View Post
    Not working, all files uploaded and using lastest sourcemod 1.8
    Try 0.4, Download from link first post again. (EDIT try 0.5)

    Quote:
    Originally Posted by winter96 View Post
    This plugin will not interfere with work statistics gameme and gametracker?
    Just add the IP to the whitelist file and it will be fine.

    Quote:
    Originally Posted by root88 View Post
    Are you sure it's still possible to lag/crash CSGO server with A2S spam?
    Yes it is.

    Last edited by SM9; 05-18-2017 at 22:31.
    SM9 is offline
    SM9
    Veteran Member
    Join Date: Sep 2013
    Location: United Kingdom
    Old 05-18-2017 , 22:32   Re: A2S Spam Ban
    Reply With Quote #9

    0.5 -
    • Updated PTAH include and callback.
    SM9 is offline
    wolvez04
    Senior Member
    Join Date: Feb 2016
    Location: Andora
    Old 01-07-2018 , 20:38   Re: A2S Spam Ban (18/05/17)
    Reply With Quote #10

    I use this and ha e banned hundreds of offending IPs except they just keep attacking. It seems the ban is ineffective. I have the ban time set to a large amount of time but I can see the banned IP continue to ping even when banned?

    Last edited by wolvez04; 01-07-2018 at 20:39.
    wolvez04 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 02:01.


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