Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
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 4268 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)
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 757
Projects: 4
Exp: 16 years


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
Offline jonjava
« 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
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 757
Projects: 4
Exp: 16 years


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
Offline jonjava
« 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?

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 757
Projects: 4
Exp: 16 years


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
Offline Oskuro

JGO Knight


Medals: 39
Exp: 6 years


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).

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 757
Projects: 4
Exp: 16 years


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
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?
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 757
Projects: 4
Exp: 16 years


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
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Pickleninja

JGO Coder


Medals: 10
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  
 
 
You cannot reply to this message, because it is very, very old.

 

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

The first screenshot will be displayed as a thumbnail.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (26 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (13 views)
2014-07-29 10:59:34

E.R. Fleming (34 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (44 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

List of Learning Resources
by SilverTiger
2014-07-31 18:26:06

List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!