Raised This Month: $ Target: $400
 0% 

Auto ban when console prints


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 01-29-2013 , 00:49   Auto ban when console prints
Reply With Quote #1

Hey. Just as an example, my server console prints a message when a player levels up , it writes like that (Player '%s' reached 22 lvl, ip : 'ip adress'). How can I hook what console writes and make auto ban a certain ip , let's say, if he reaches lvl 23. (Dont tell me that i can hook levels in my lvl system etc.. I need exactly a console print hook.. and ban that exact ip) Please help
Podarok is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-29-2013 , 01:16   Re: Auto ban when console prints
Reply With Quote #2

Not possible.
__________________
fysiks is offline
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 01-29-2013 , 01:42   Re: Auto ban when console prints
Reply With Quote #3

Really? This sucks much. My problem is that my server is getting attacked with Jos v2 exploit, with newest defence it doesnt crash server, but freezes it (if you spam 4-5 times in a row with jos v2, server will freeze) , thats why i wanted to ban after 1st ban. Can you help me in finding another solution?
Podarok is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-29-2013 , 01:46   Re: Auto ban when console prints
Reply With Quote #4

Is your server up-to-date? Are you running any plugins/modules that claim to provide any sort of "protection" against anything? Have you tried banning his SteamID?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-29-2013 , 01:52   Re: Auto ban when console prints
Reply With Quote #5

Quote:
Originally Posted by Podarok View Post
Really? This sucks much. My problem is that my server is getting attacked with Jos v2 exploit, with newest defence it doesnt crash server, but freezes it (if you spam 4-5 times in a row with jos v2, server will freeze) , thats why i wanted to ban after 1st ban. Can you help me in finding another solution?
What does any of this have to do with player levels?
__________________
fysiks is offline
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 01-29-2013 , 01:54   Re: Auto ban when console prints
Reply With Quote #6

Yes , my server is up to date. Yes, I'm running anti jos metamod plugin, which kinda blocks this exploit and server doesnt crash, when someone uses this exploit, but , as I mentioned, if you try to spam this exploit 4-5 times in a row, server will just freeze with 100% CPU. I have not tried banning his SteamId yet, because it is pointless , i get attacked by a lot of people

EDIT1: @fysiks, I just mentioned it as an example, because the idea was the same : to hook console print and ban ip..

Last edited by Podarok; 01-29-2013 at 01:55.
Podarok is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-29-2013 , 02:01   Re: Auto ban when console prints
Reply With Quote #7

Valve already fixed this exploit, so your server is not up-to-date if you are still affected
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 01-29-2013 , 04:51   Re: Auto ban when console prints
Reply With Quote #8

Update your server with hldsupdatetool
__________________
simanovich is offline
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 01-29-2013 , 05:27   Re: Auto ban when console prints
Reply With Quote #9

It is already updated. Its new jos exploit v2, it is not fixed yet. Any help?
Podarok is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-29-2013 , 05:39   Re: Auto ban when console prints
Reply With Quote #10

Prove it, show us the output of the following commands


rcon version
rcon status
rcon meta list
rcon amxx plugins
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).

Last edited by YamiKaitou; 01-29-2013 at 05:40.
YamiKaitou 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 20:40.


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