Raised This Month: $ Target: $400
 0% 

orpheu, catching NET_QueuePacket


Post New Thread Reply   
 
Thread Tools Display Modes
alexclaudiu2003
Senior Member
Join Date: Aug 2011
Location: Romania
Old 06-30-2012 , 15:00   Re: orpheu, catching NET_QueuePacket
Reply With Quote #11

With dis plugin, ban_net_packet_spammer.amxx
SERVER CRASH with Hl Boom exploit,
watch this Video
http://youtu.be/44FkOxdipRQ?hd=1
alexclaudiu2003 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-25-2012 , 11:34   Re: orpheu, catching NET_QueuePacket
Reply With Quote #12

I've updated the plugin source, since it was containing 2 errors and could not work. I don't know if it's needed with the latest update, but I figure out it could be useful. Attack is now logged in a file. Though I still have no idea if "addip" will be enough to block that attacker.
__________________
Arkshine is offline
KaranMohadkar
Senior Member
Join Date: Oct 2012
Location: Reality !
Old 08-19-2013 , 14:58   Re: orpheu, catching NET_QueuePacket
Reply With Quote #13

Quote:
Originally Posted by Arkshine View Post
Code:
#include <amxmodx> #include <orpheu> new OrpheuFunction:HandleFuncNETQueuePacket; new OrpheuFunction:HandleFuncConPrintf; new OrpheuHook:HandleHookConPrintf; public plugin_init() {     register_plugin( "Ban NET Packet Spammer", "1.0.1", "Arkshine" );         HandleFuncNETQueuePacket = OrpheuGetFunction( "NET_QueuePacket" );     HandleFuncConPrintf      = OrpheuGetFunction( "Con_Printf" );         OrpheuRegisterHook( HandleFuncNETQueuePacket, "NET_QueuePacket_Pre", OrpheuHookPre );     OrpheuRegisterHook( HandleFuncNETQueuePacket, "NET_QueuePacket_Post", OrpheuHookPost ); }   public NET_QueuePacket_Pre() {     HandleHookConPrintf = OrpheuRegisterHook( HandleFuncConPrintf, "Con_Printf" ); } public Con_Printf( const fmt[], const arg[] ) {     static const message[] = "Oversize packet from ";         if( contain( fmt, message ) >= 0 )     {         new ip[ 16 ], i, c;                 while( i < charsmax( ip ) && ( c = fmt[ i + charsmax( message ) ] ) && c != ':' )         {             ip[ i++ ] = c;         }                   ip[ i ] = EOS;         log_to_file( "NET_Packet_Spammer.log", "Blocking %s", ip );                 server_cmd( "addip 0 ^"%s^"", ip );         server_exec();     } } public NET_QueuePacket_Post() {     OrpheuUnregisterHook( HandleHookConPrintf ); }
can someone update binaries of orpheu for the newer build
__________________
KaranMohadkar is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-19-2013 , 15:03   Re: orpheu, catching NET_QueuePacket
Reply With Quote #14

Orpheu doesn't need update. Signatures of functions, maybe.

Show the full output of "orpheu config" ; something you type in the server console. If you use in the client console, use with the rcon (amx_showrcon for example).
__________________
Arkshine is offline
souvikdas95
Senior Member
Join Date: Mar 2012
Old 12-07-2013 , 14:25   Re: orpheu, catching NET_QueuePacket
Reply With Quote #15

@Arkshine - The signature is perfect. Just checked it
souvikdas95 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-07-2013 , 14:52   Re: orpheu, catching NET_QueuePacket
Reply With Quote #16

Thanks for confirming!
__________________
Arkshine is offline
Hembi
Member
Join Date: Mar 2013
Location: Hungary
Old 04-11-2015 , 10:26   Re: orpheu, catching NET_QueuePacket
Reply With Quote #17

Hy Arkshine!
This exploit is work today with HLDS 1.1.2.7 or Valve fix it?

Last edited by Hembi; 04-11-2015 at 10:27.
Hembi is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 04-12-2015 , 07:29   Re: orpheu, catching NET_QueuePacket
Reply With Quote #18

Quote:
Originally Posted by Hembi View Post
Hy Arkshine!
This exploit is work today with HLDS 1.1.2.7 or Valve fix it?
hlboom fixed a long , looooooooooooooong time ago
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
Hembi
Member
Join Date: Mar 2013
Location: Hungary
Old 04-19-2015 , 09:36   Re: orpheu, catching NET_QueuePacket
Reply With Quote #19

Thank you for the answer!
Hembi is offline
wilianmaique
BANNED
Join Date: Nov 2016
Old 03-05-2017 , 19:50   Re: orpheu, catching NET_QueuePacket
Reply With Quote #20

Arkshine Does it work yet?
wilianmaique is offline
Send a message via Skype™ to wilianmaique
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 18:34.


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