Results 1 to 6 of 6

Thread: DoS Fix plugin - how to?

  1. #1
    Forlix's Avatar



    Join Date
    Jul 20, 2009
    Last Online
    Jul 22, 2009
    Posts
    2
    Threads
    1



    DoS Fix plugin - how to?


    Hey
    recently my CS:S server was DoS'd (i didnt have any fixes installed).
    Now i would like to code a plugin myself, much like the DoS Fix Plugin on this site.
    I just wonder how do i access the network communication of the server? I dont suppose there is any callback function for incoming UDP packets or stuff like that right?
    Drunken_F00l - you wrote such a plugin, maybe you can give me some insights on where to start?

  2. #2
    OmegaZero_Alpha's Avatar



    Join Date
    Jan 02, 2005
    Last Online
    Jul 16, 2019
    Posts
    4,880
    Threads
    253
    Reputation
    SourceOP Thread


        
    Steam: 76561197979925166 
    Steam join date: Dec 24, 2005
    Steam Level: 44
    Profile Status: Public




  3. #3
    Forlix's Avatar



    Join Date
    Jul 20, 2009
    Last Online
    Jul 22, 2009
    Posts
    2
    Threads
    1




  4. #4
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    It just hooks the engine code that gets packets. The hook checks the packets before passing it to the game engine (or dropping it). The problem is the game engine fails if it gets too many junk packets so filtering them out before hand works fine.

  5. #5
    Freakgood's Avatar



    Join Date
    Dec 30, 2011
    Last Online
    Nov 07, 2012
    Posts
    31
    Threads
    5




    could also need help with this cuz im not sure where to put the dos attack fix.?

  6. #6
    Freakgood's Avatar



    Join Date
    Dec 30, 2011
    Last Online
    Nov 07, 2012
    Posts
    31
    Threads
    5




    Quote Originally Posted by Freakgood
    could also need help with this cuz im not sure where to put the dos attack fix.?
    Bumb

Tags for this Thread