Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (407)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  New feature: downtime  (Read 3034 times)
0 Members and 1 Guest are viewing this topic.
Offline Regenuluz
« Reply #30 - Posted 2013-01-28 14:15:49 »

I doubt that opening 20 tabs at once will get you banned. Maybe if you opened 20 tabs every .5 seconds for some time, you'd get banned(Or placed in the firewall table as someone to ignore packets from Tongue)
Online Riven
« League of Dukes »

JGO Overlord


Medals: 438
Projects: 4


Hand over your head.


« Reply #31 - Posted 2013-01-28 15:09:00 »

A super secret addon thwarts DoS attacks, by capping the amount of hits you can make over a certain period.

Keep in mind that opening 20 tabs with JGO causes 20 page loads, which due to the sluggish nature of SMF take up to 0.3s per page, thus you are causing 100% load for approximately 6 seconds.

Please don't do that.


Oh, and everybody feeling all hackery, trying to find the threshold of this anti-DoS feature, will face the consequences. Bringing down a server with SMF (or apache in general) is trivial.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline jonjava

JGO Knight


Medals: 32



« Reply #32 - Posted 2013-01-28 15:46:09 »

Hmm. Capping the amount of "hits" you can make isn't really thwarting DoS attacks since you can't really thwart anything unless you shut down the server. You're still going to need to listen to and handle every incoming connection and deal with it.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online Riven
« League of Dukes »

JGO Overlord


Medals: 438
Projects: 4


Hand over your head.


« Reply #33 - Posted 2013-01-28 15:46:47 »

Stage 1 involves blocking 1 user from making the site unresponsive for all other users.

Stage 2 involves iptables to cut out the middle man (apache).

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline jonjava

JGO Knight


Medals: 32



« Reply #34 - Posted 2013-01-28 15:53:10 »

Hmm but DoS attacks are just about bombarding you with requests and you can't really block that from happening, no?

Am I missing something here? :V

Or are you talking about silly registered users opening 20 tabs at once to slow down the server?

Online Riven
« League of Dukes »

JGO Overlord


Medals: 438
Projects: 4


Hand over your head.


« Reply #35 - Posted 2013-01-28 16:00:50 »

DoS = 'Denial of Service'

This can take many forms. From most highlevel to most lowlevel:
  • requesting (the slowest) pages on a website (say: a search function) at a rate slighly higher than the server is able to respond. this may mean once per 2 seconds is enough to bring down a server.
  • creating many extremely throttled connections to a server, making perfectly valid requests, but so slowly that the server runs out of processes/threads to handle them, so other users are blocked out due to a limited pool of resources (apache processes, mysql connections, etc)
  • flooding a server with network data, at a rate that the server cannot handle, like sending SYN packets or ICMP packets (ping), overloading the NIC or the IP stack.

The more targeted (highlevel) the attack, the less I/O you have to do to trigger an interruption of service.

FYI: I can bring JGO down for hours with a single HTTP request, which qualifies as a DoS attack, in my book.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline Oskuro

JGO Coder


Medals: 16


Coding in Style


« Reply #36 - Posted 2013-01-28 16:49:49 »

Keep in mind that opening 20 tabs with JGO causes 20 page loads, which due to the sluggish nature of SMF take up to 0.3s per page, thus you are causing 100% load for approximately 6 seconds.

Please don't do that.

This only happens when I launch my browser, as I usually keep several tabs for reference... So might happen once per day tops. Or at least until I find how to make Chrome no load tabs until I click on them, like Firefox does.

I doubt that opening 20 tabs at once will get you banned. Maybe if you opened 20 tabs every .5 seconds for some time, you'd get banned(Or placed in the firewall table as someone to ignore packets from Tongue)

Riven's comment above is what I was afraid of. Also, depending on the filter's sensitivity, someone doing something crazy like clicking (accidentally, even!) on the 'Open All in Tabs' option in a JGO Bookmarks folder could be caught as attempting to overload the server.

Knowing what Riven stated, I'll try to be careful with having too many JGO tabs at once (right now I only have 5 JGO tabs open).

Online Riven
« League of Dukes »

JGO Overlord


Medals: 438
Projects: 4


Hand over your head.


« Reply #37 - Posted 2013-01-28 16:53:45 »

Absolute worst thing that can happen is getting banned for 3 days, but by then you already have been warned 10 times for flooding the server.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Offline Best Username Ever

Junior Member





« Reply #38 - Posted 2013-01-28 23:10:43 »

So..... If I open chrome and have like 20 JGO tabs open and they all load at once, I'll be forced to wear the dunce cap and sent into a corner?

Does loading a whole bunch of threads I don't plan to read but want marked read count?
Online Riven
« League of Dukes »

JGO Overlord


Medals: 438
Projects: 4


Hand over your head.


« Reply #39 - Posted 2013-01-28 23:16:03 »

No, my code figures out your intent. Oh wait.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Projects: Revenge of the Titans, Titan Attacks, Droid Assault, and Ultratron
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Pickleninja

JGO Coder


Medals: 9
Projects: 1


I'm tired of working for someone else.


« Reply #40 - Posted 2013-01-28 23:24:55 »

The webpage scrolling is kind of annoying since I'm at work and can't control the adblocker that's been put on here...

I guess I'll have to suffer lol Smiley




-Pickle

Pages: 1 [2]
  ignore  |  Print  
 
 

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Try the Free Demo of Revenge of the Titans

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (85 views)
2013-05-17 21:29:12

alaslipknot (93 views)
2013-05-16 21:24:48

gouessej (125 views)
2013-05-16 00:53:38

gouessej (118 views)
2013-05-16 00:17:58

theagentd (128 views)
2013-05-15 15:01:13

theagentd (115 views)
2013-05-15 15:00:54

StreetDoggy (159 views)
2013-05-14 15:56:26

kutucuk (181 views)
2013-05-12 17:10:36

kutucuk (181 views)
2013-05-12 15:36:09

UnluckyDevil (188 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.085 seconds with 20 queries.