Thread: Custom DoS/DDoS protection.

Page 1 of 5 123 ... LastLast
Results 1 to 10 of 49
  1. #1 Custom DoS/DDoS protection. 
    Registered Member

    Join Date
    Oct 2007
    Posts
    2,413
    Thanks given
    254
    Thanks received
    479
    Rep Power
    2785
    While I was working on my networking framework, you know every back-end programmers fear is "can it withstand an attack", well this has been my top priority for the past few weeks and I finally came up with a solution, to not just DoS attacks but to DDoS attacks also. As you should know a DDoS attack is a DoS attack but is not only one person, but many people (zombies), controlled by one person. My protection is simple but effective, a DDoS attack will effect my server but it will only allow so many connections from each zombie before it locks that host out until the attack stops, and the attack will stop sometime, because there is never going to be an unlimited number of zombies.

    How my protection works is each connection is checked if it has already been connected since start time, if it has it gets it's last connection time from a stored HashMap and compares that time with the current time, if the time between them two times is under one second, then it will start to deny that host until the last connection time is not a second apart from the current connection time. This could simply be called connection throttling, because it's filtering out fast connecting sockets.

    Since JaGeX's servers do not block multi-login, that means nither am I, my attack protection doesn't deal with multiple connecting, because, all the time, that doesn't mean it's an attack, it could be two people living in the same house connecting to my server.
     

  2. #2  
    Fuckin PRO

    Tyler's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    6,023
    Thanks given
    46
    Thanks received
    507
    Rep Power
    3330
    Lol?

    What kind of host doesn't have ddos protection already?
    Free Filehost Premium Accounts
    [Only registered and activated users can see links. ]
     

  3. #3  
    XAFBX
    Guest
    Well, you didn't go into that depth with it on msn but yeah, super sexy job ;D.

    Quote Originally Posted by Tyler View Post
    Lol?

    What kind of host doesn't have ddos protection already?
    Your retarded, this is done in his FrameWork, not some fucking hosting company.
     

  4. #4  
    Registered Member

    Join Date
    Oct 2007
    Posts
    2,413
    Thanks given
    254
    Thanks received
    479
    Rep Power
    2785
    Quote Originally Posted by Tyler View Post
    Lol?

    What kind of host doesn't have ddos protection already?
    Yes, but it's still proper to have protection build in with native code.
     

  5. #5  
    Fuckin PRO

    Tyler's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    6,023
    Thanks given
    46
    Thanks received
    507
    Rep Power
    3330
    Even so, if someone really wants to take you down your not going to be able to stop them lol.

    Their systems would stop the attacks first, so why would you bother making it for your server?
    Free Filehost Premium Accounts
    [Only registered and activated users can see links. ]
     

  6. #6  
    Registered Member

    Join Date
    Oct 2007
    Posts
    2,413
    Thanks given
    254
    Thanks received
    479
    Rep Power
    2785
    Quote Originally Posted by Tyler View Post
    Even so, if someone really wants to take you down your not going to be able to stop them lol.
    I can do as best as I can do prevent it and stop as much as I can. If I ever come across a time when there's a big enough threat to my network, it's illegal can be reported. Any attack that my network framework cannot handle is not big enough to report. If someone puts a big enough force into taking it down, it's simple to report the address(es) that's attacking, even if it's not that person that was actually attacking, they can still be tracked.
     

  7. #7  
    Fuckin PRO

    Tyler's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    6,023
    Thanks given
    46
    Thanks received
    507
    Rep Power
    3330
    "the" address?

    You do realize that ddos are usually from massive botnets controlled from computers that don't even know their infected right lol?
    Free Filehost Premium Accounts
    [Only registered and activated users can see links. ]
     

  8. #8  
    Registered Member

    Join Date
    Oct 2007
    Posts
    2,413
    Thanks given
    254
    Thanks received
    479
    Rep Power
    2785
    Quote Originally Posted by Tyler View Post
    "the" address?

    You do realize that ddos are usually from massive botnets controlled from computers that don't even know their infected right lol?
    Yes, I know that and if you read my first post you could see that I explained what a DDoS attack is.
    And also, if it is a DDoS attack I can collect all of the addresses and report all of them. Since it's a botnet, the addresses from the attack will most likely be innocent people, but the police or whatever can help them get the botnet removed, or whatever they do when it comes to reporting DDoS attacks.
     

  9. #9  
    Banned
    Join Date
    May 2009
    Posts
    1,220
    Thanks given
    4
    Thanks received
    61
    Rep Power
    0
    A DDoS attack cannot be blocked, end of thread. No matter what you put on your server a 5k botnet will take you down easily.
     

  10. #10  
    brb ridin da storm

    blakeman8192's Avatar
    Join Date
    Dec 2012
    Age
    28
    Posts
    2,010
    Thanks given
    802
    Thanks received
    1,357
    Rep Power
    286
    Quote Originally Posted by austin3c View Post
    A DDoS attack cannot be blocked, end of thread. No matter what you put on your server a 5k botnet will take you down easily.
    A 5k botnet will take you down for a few minutes - until all of the zombies are banned - with Gnarly's approach.
    rest in peace Qemist, Izzy, TeChNo PuNk, Impulser, & bootnecklad
     

Page 1 of 5 123 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •