Solved Plugin codes needed?

http://risserver.ddns.net/forum/resources/dos-protect-for-cssv34-windows-server.91/

My base plugin that i am going to use is the above one.

I am making a plugin such that whenever someone ddos a server, any client in server can type !ddos and then the plugin automatically detects the attacker's ip through dosp_status in server console and ban him automatically.

I am lacking a code that will execute dosp_status and copy the output into a character

I have tried command ServerCommandEx but was unable to do so.
 
Last edited:

Vertigo

⍥𝖜𝖞𝖊𝖗
Staff member
Administrator
Use this to simply block any single IP DoS attack :
Code:
iptables -A INPUT -p udp -m udp --dport 27015 -m state --state NEW -m recent --set --name DEFAULT --rsource
iptables -A INPUT -p udp -m udp --dport 27015 -m state --state NEW -m recent --update --seconds 20 --hitcount 20 --name DEFAULT --rsource -j DROP
Execute these commands on putty one by one. Not game server console.
Replace 27015 in above commands with your port of the server.
Once you do this, no need of that plugin you are looking for.[/code]
 
Use this to simply block any single IP DoS attack :
Code:
iptables -A INPUT -p udp -m udp --dport 27015 -m state --state NEW -m recent --set --name DEFAULT --rsource
iptables -A INPUT -p udp -m udp --dport 27015 -m state --state NEW -m recent --update --seconds 20 --hitcount 20 --name DEFAULT --rsource -j DROP
Execute these commands on putty one by one. Not game server console.
Replace 27015 in above commands with your port of the server.
Once you do this, no need of that plugin you are looking for.[/code]
Can i type this both cammands in server.cfg
 

Vertigo

⍥𝖜𝖞𝖊𝖗
Staff member
Administrator
As I said these are not gameserver commands.
So you cannot use them in cfg files.

So you need to execute them on putty.
 
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock