This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

SRCDS Denial of Service Protect


Post New Thread Reply   
 
Thread Tools Display Modes
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 09-19-2012 , 10:18   Re: SRCDS Denial of Service Protect
Reply With Quote #331

Quote:
Originally Posted by GoD-Tony View Post
Attached a DHooks example for Swarm+ engines that I was playing around with. Maybe someone will find it useful.
omg lets just go with single detour extensions : P
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-19-2012 , 11:51   Re: SRCDS Denial of Service Protect
Reply With Quote #332

Quote:
Originally Posted by GoD-Tony View Post
Attached a DHooks example for Swarm+ engines that I was playing around with. Maybe someone will find it useful.
Nice job Ill make sure to push that change for DHooks as soon as I can (although its commented out)

Quote:
Originally Posted by Zephyrus View Post
omg lets just go with single detour extensions : P
Its only 1 sig and 1 offset (and 1 offset for the read) So its not that bad I kinda find it pretty cool that you can do it from a plugin

Last edited by Dr!fter; 09-19-2012 at 11:54.
Dr!fter is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 09-19-2012 , 12:58   Re: SRCDS Denial of Service Protect
Reply With Quote #333

you could use loadfromaddress as well to sigscan functions directly from pawn but you dont do it for a reason lol
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 09-20-2012 , 04:15   Re: SRCDS Denial of Service Protect
Reply With Quote #334

Quote:
Originally Posted by Dr!fter View Post
Nice job Ill make sure to push that change for DHooks as soon as I can (although its commented out)
You might want to check that it's standard to the rest of your extension. I think my patch only supported CharPtr, while the rest of the string natives have more options.

Quote:
Originally Posted by Dr!fter View Post
I kinda find it pretty cool that you can do it from a plugin
It's the only reason it caught my interest. Being able to manage queries to the server in pawn is very cool indeed.
__________________
GoD-Tony is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 09-27-2012 , 05:37   Re: SRCDS Denial of Service Protect
Reply With Quote #335

Working DoSProtect for CS:GO. It's an SM extension, it's from scratch, the only command it has is
dosp_attacks that will print the ip of the attacker, number of packets received and the time of the latest packet, gamedata by GoD-Tony.


Installation:
create a file called dosprotect.autoload in extensions
.so/.dll goes to extensions
.txt goes to gamedata
.zip is just for the lulz
Attached Files
File Type: zip source.zip (12.1 KB, 153 views)
File Type: so dosprotect.ext.2.csgo.so (190.2 KB, 124 views)
File Type: dll dosprotect.ext.2.csgo.dll (97.0 KB, 121 views)
File Type: txt dosprotect.txt (1.0 KB, 193 views)
__________________
Taking private C++/PHP/SourcePawn requests, PM me.

Last edited by Zephyrus; 09-27-2012 at 06:47.
Zephyrus is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 09-27-2012 , 06:00   Re: SRCDS Denial of Service Protect
Reply With Quote #336

Quote:
Originally Posted by Zephyrus View Post
Working DoSProtect for CS:GO. It's an SM extension, it's from scratch, the only command it has is
dosp_attacks that will print the ip of the attacker, number of packets received and the time of the latest packet, gamedata by GoD-Tony.
Nice! can you make for L4D2(windows) too?
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 09-27-2012 , 06:01   Re: SRCDS Denial of Service Protect
Reply With Quote #337

Quote:
Originally Posted by yokomo View Post
Nice! can you make for L4D2(windows) too?
i will check its binaries later, probably it needs just gamedata too
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 09-27-2012 , 06:05   Re: SRCDS Denial of Service Protect
Reply With Quote #338

The original already works for l4d2 windows, the one posted in this zip.

Zephyrus, could you include a project file please to build windows please
It seems like you also need to link Ws2_32.lib or otherwise it will fail to build.

Last edited by Visual77; 09-27-2012 at 06:20.
Visual77 is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 09-27-2012 , 06:22   Re: SRCDS Denial of Service Protect
Reply With Quote #339

Quote:
Originally Posted by Visual77 View Post
The original already works for l4d2 windows, the one posted in this zip.

Zephyrus, could you include a project file please to build windows please
It seems like you also need to link Ws2_32.lib or otherwise it will fail to build.
i will try, i always just copy it from some other project and ive got like 15 junk files lying around but i will try to clean it up lol
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 09-28-2012 , 03:07   Re: SRCDS Denial of Service Protect
Reply With Quote #340

Quote:
Originally Posted by Visual77 View Post
The original already works for l4d2 windows, the one posted in this zip.

Zephyrus, could you include a project file please to build windows please
It seems like you also need to link Ws2_32.lib or otherwise it will fail to build.
Oh sorry didn't notice about that post, should add into 1st post IMO. Tested and works fine with current l4d2 dedicated server. Thanks for it
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo 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 16:59.


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