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

does smac protect from the dos exploit ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 08-08-2013 , 09:58   does smac protect from the dos exploit ?
Reply With Quote #1

is the scrds dos exploit protected by smac (not DDoS)
and if not can it be included ?
s.m.a.c head is offline
XAFAfterShock
Member
Join Date: Feb 2009
Old 08-08-2013 , 10:34   Re: does smac protect from the dos exploit ?
Reply With Quote #2

you mean the problem of getting spammed by 25000 connections from the same ip address? if so then no, there isn't anything that can be done to stop it except dealing with it at the router level.
XAFAfterShock is offline
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 08-09-2013 , 17:36   Re: does smac protect from the dos exploit ?
Reply With Quote #3

Quote:
Originally Posted by XAFAfterShock View Post
you mean the problem of getting spammed by 25000 connections from the same ip address? if so then no, there isn't anything that can be done to stop it except dealing with it at the router level.
i mean the dos exploit on scrds that windows is protected from with ProtectSRCDS Denial of Service (you see it can be protected against) but it does not work for linux , im wondering if it could be included in SMAC as it is an exploit and rather than wait for someone to make a new plugin I thought id ask here
s.m.a.c head is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 08-10-2013 , 17:44   Re: does smac protect from the dos exploit ?
Reply With Quote #4

SMAC does not include the DoS protection provided by those C++ addons.

Quote:
Originally Posted by s.m.a.c head View Post
i mean the dos exploit on scrds that windows is protected from with ProtectSRCDS Denial of Service (you see it can be protected against) but it does not work for linux , im wondering if it could be included in SMAC as it is an exploit and rather than wait for someone to make a new plugin I thought id ask here
Which game isn't it working for?
__________________
GoD-Tony is offline
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 08-13-2013 , 15:43   Re: does smac protect from the dos exploit ?
Reply With Quote #5

l4d2 on linux
s.m.a.c head is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 08-17-2013 , 01:55   Re: does smac protect from the dos exploit ?
Reply With Quote #6

Add this to your firewall
Code:
iptables -A INPUT -p udp --dport 27015 -m length --length 28 -j DROP
iptables -A INPUT -p udp --dport 27015 -m length --length 46 -j DROP
Just change 27015 to w/e port your server is running on.
__________________
Mavrick4283 is offline
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 08-19-2013 , 05:51   Re: does smac protect from the dos exploit ?
Reply With Quote #7

Quote:
Originally Posted by Mavrick4283 View Post
Add this to your firewall
Code:
iptables -A INPUT -p udp --dport 27015 -m length --length 28 -j DROP
iptables -A INPUT -p udp --dport 27015 -m length --length 46 -j DROP
Just change 27015 to w/e port your server is running on.
ok thanks i did use iptables and it works fine
s.m.a.c head is offline
eyes of hunter
Member
Join Date: Dec 2011
Old 08-22-2013 , 02:14   Re: does smac protect from the dos exploit ?
Reply With Quote #8

What do those commands do? We also receive attacks and are very interested in trying whatever we can find.
eyes of hunter is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 08-25-2013 , 23:10   Re: does smac protect from the dos exploit ?
Reply With Quote #9

Quote:
Originally Posted by eyes of hunter View Post
What do those commands do? We also receive attacks and are very interested in trying whatever we can find.
The Iptables commands I posted are for Linux based systems that have the userspace program installed, if you are running any major distro then you have this installed and enabled by default but it is set to allow everything. So the commands add to the netfilter kernel module anything on the INPUT steam to drop if it has a size of 28 and 46 bytes.

So in basic terms, those add 2 rules to the Linux firewall to slow down the SRCDS DoS attack.
__________________
Mavrick4283 is offline
s.m.a.c head
Senior Member
Join Date: Apr 2012
Location: Liverpool
Old 09-08-2013 , 11:12   Re: does smac protect from the dos exploit ?
Reply With Quote #10

we now use these
Code:
 
iptables -A INPUT -p udp --destination-port 27015 -m length --length 0:28 -j DROP
iptables -A INPUT -p udp --destination-port 27015 -m length --length 30:32 -j DROP
iptables -A INPUT -p udp --destination-port 27015 -m length --length 46 -j DROP
iptables -A INPUT -p udp --destination-port 27015 -m length --length 2521:65535 -j DROP

Last edited by s.m.a.c head; 09-08-2013 at 11:12.
s.m.a.c head 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 12:20.


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