Register for your free account! | Forgot your password?

You last visited: Today at 14:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



An idea against DDOS

Discussion on An idea against DDOS within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
victorsalido's Avatar
 
elite*gold: 100
Join Date: Jan 2008
Posts: 763
Received Thanks: 535
An idea against DDOS

I had this idea few days ago, im not sure if im wrong on everything or if this can be a good idea:

Custom Antiddos:

Player enter on website with his game account, go to control panel and click on button: LET ME PLAY.

This button (LET ME PLAY) will get automatic the IP from the web browser and add on the table of database: SRO_VT_ACCOUNT._AllowedIP.

This query wont work as INSERT INTO, will work as UPDATE and WHERE (when a guy register new account, the ID + IP are added to this table)

Then, with a virtual host with linux (and iptables):
Script for make a text file with all the IPs from SRO_VT_ACCOUNT._AllowedIP.
Iptables DENY ALL except IPs from that text file.
Make iptables redirect ALL to the host where files are. So this should work as 'proxy'.

And from the host where server files are need configure firewall for deny all and just accept ports (normally 15779,15881,15884) from the proxy linux host.

OR/AND:
Then, a little program as launcher, with a simple 'iframe' to the website where we added that button (LET ME PLAY). So when a player enter with user and password, his IP update at AllowedIP table and START button of launchers appear.
(This wont be a problem for Mbot or others since after login at launcher, you can open bot without problem (ports are open then).

That mean, no more DDOS, maybe DOS (but thats not hard to block), lets say we add a max petitions per IP (at iptables ofcourse).
Also, a procedure at the sql that is executed every 24h (it checks the last logout, if it happen 24hours ago, then delete it from AllowedIP table).
And also, only 1 IP per Account are allowed at _AllowedIP table (That mean every account will have his own allowed IP [Remember we are talking about the iptables, so actually we are talking about ports not about login ingame]).

(For prevent a program to create random accounts for example on infected pcs (with troyan), we add Captcha at create account.)

This custom antiddos will stop also the exploits from example on Agentserver?: ofcourse no, thats just for prevent 'botnets' and things like that. So you will still need to fix those bugs anyway.

And my noby question: Firewall (iptables) will be able to do this for example at Transport Layer? (I think yes but im not sure).
victorsalido is offline  
Thanks
2 Users
Old 07/05/2013, 05:59   #2
 
elite*gold: 0
Join Date: Jan 2013
Posts: 480
Received Thanks: 95
Hello,

It will not work to avoid DoS/DDoS, this will only avoid in certain cases, an exploit.

The DoS/DDoS will happen in a Layer above Layer 7 (which is the layer you can control in your server), however all the traffic you receive in Layer 4 will still make your server crash and go down, during a DoS or DDoS attack.

Don't confuse software solutions in a regular server / pc, with any other solutions regarding this.

Also what you have to understand is that a 'linux proxy' is weak, it can barely handle 70~100 Kpps, imagine a regular tcp attack which over than 500 Kpps or over 1 Mpps ? No way, a regular server / PC doesn't have enough I/O for this and it will be your bottleneck.

For small things, it works.

For the idiots paying booters/stressers against your IP, it won't work.

Also don't forget that many users don't have a real IP, many ISPs are doing NAT or concentrating connections with different IPs for different purposes, like in philippines or turkey, where a user have an IP for 'http/80' traffic and another yet IP for other ports such as FTP, or Games...

It will be really troubleful, while working around 80-85% still many guys won't be able to play your server, due to problems with their ISPs (Internet Service Providers).

The only way to avoid this, is really letting who knows, do this job for you, so you don't have to worry with anything regarding that .

But anyways, good initiative .
MaximumDark is offline  
Thanks
1 User
Old 07/05/2013, 06:30   #3
 
victorsalido's Avatar
 
elite*gold: 100
Join Date: Jan 2008
Posts: 763
Received Thanks: 535
Quote:
Originally Posted by MaximumDark View Post
Hello,

It will not work to avoid DoS/DDoS, this will only avoid in certain cases, an exploit.

The DoS/DDoS will happen in a Layer above Layer 7 (which is the layer you can control in your server), however all the traffic you receive in Layer 4 will still make your server crash and go down, during a DoS or DDoS attack.

Don't confuse software solutions in a regualr server / pc, with any other solutions regarding this.

Also what you have to understand is that a 'linux proxy' is weak, it can barely handle 70~100 Kpps, imagine a regular tcp attack which over than 500 Kpps or over 1 Mpps ? No way, a regular server / PC doesn't have enough I/O for this and it will be your bottleneck.

For small things, it works.

For the idiots paying booters/stressers against your IP, it won't work.

Also don't forget that many users don't have a real IP, many ISPs are doing NAT or concentrating connections with different IPs for different purposes, like in philippines or turkey, where a user have an IP for 'http/80' traffic and another yet IP for other ports such as FTP, or Games...

It will be really troubleful, while working around 80-85% still many guys won't be able to play your server, due to problems with their ISPs (Internet Service Providers).

The only way to avoid this, is really letting who knows, do this job for you, so you don't have to worry with anything regarding that .

But anyways, good initiative .
Alright, seems like you know about this subject, i like to see replies like this one! Thank you ^^
Lets see what other people think about it
victorsalido is offline  
Old 07/05/2013, 06:44   #4
 
elite*gold: 0
Join Date: Jan 2013
Posts: 480
Received Thanks: 95
Quote:
Originally Posted by victorsalido View Post
Alright, seems like you know about this subject, i like to see replies like this one! Thank you ^^
Lets see what other people think about it
I just try to contribute, the idea is cool, but in pratice it won't be effective (not in server / pc level).

It will only be effective as I said, in small circunstances.

Probably other people, which aren't skilled on this subject might say, "Yes, cool", "It will work" and so on, but they must observe all the elements around what is proposed :

- Resource Usage (OS tied, Hardware tied).
- Processing Capability (OS tied, Hardware tied).
- Bottlenecks (Network Card, Network Connection, Datacenter Switch, Datacenter Router Threshoulds and so on).
- External Issues (such as ISP Limitations, NAT and so on).

So it is much more complicated than it really seems.
MaximumDark is offline  
Thanks
1 User
Old 07/05/2013, 10:17   #5
 
dimkacool's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 3,448
Received Thanks: 2,330
Idea is good against exploits, not against botnets.

And what about people with dynamic IP?
dimkacool is offline  
Old 07/05/2013, 10:31   #6
 
Shane¸'s Avatar
 
elite*gold: 100
Join Date: May 2010
Posts: 1,948
Received Thanks: 1,635
Quote:
Originally Posted by dimkacool View Post
Idea is good against exploits, not against botnets.

And what about people with dynamic IP?
vpn.
and even dynamic ips don't refresh until the pc, router or modem was restarted.
Shane¸ is offline  
Old 07/05/2013, 12:49   #7
 
elite*gold: 0
Join Date: Feb 2008
Posts: 339
Received Thanks: 72
Why not paying someone who know how to avoid DDoS,DoS and other skript kiddies attack? I mean DDoS protection.
Any way you have to get here one extra dedicated to setup it for all this job, why not spending this money for protection?
I was in silkroad server thing and I know that sometime you can get this money in one day, why people are so greedy... Just spend few buks and stay cool.
pushipu is offline  
Old 07/05/2013, 12:56   #8
 
victorsalido's Avatar
 
elite*gold: 100
Join Date: Jan 2008
Posts: 763
Received Thanks: 535
Quote:
Originally Posted by pushipu View Post
Why not paying someone who know how to avoid DDoS,DoS and other skript kiddies attack? I mean DDoS protection.
Any way you have to get here one extra dedicated to setup it for all this job, why not spending this money for protection?
I was in silkroad server thing and I know that sometime you can get this money in one day, why people are so greedy... Just spend few buks and stay cool.
Why we can't try to learn or find new ways?, why we should always depend from someone? is not just about money
victorsalido is offline  
Old 07/05/2013, 13:16   #9
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,748
Received Thanks: 2,010
you can just attack the website, not to say you could still attack the firewall (it's called Denial of Service for a reason)
Nezekan is offline  
Thanks
2 Users
Old 07/05/2013, 14:11   #10
 
victorsalido's Avatar
 
elite*gold: 100
Join Date: Jan 2008
Posts: 763
Received Thanks: 535
Well of course the website need be at another host, anyway seems like i was wrong.. thank for the replies
victorsalido is offline  
Thanks
1 User
Old 07/05/2013, 15:38   #11
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 5
Join Date: May 2008
Posts: 16,309
Received Thanks: 6,470
Quote:
Originally Posted by victorsalido View Post
Well of course the website need be at another host, anyway seems like i was wrong.. thank for the replies
not to mention, that getting a server's ip is quite simple
I dont think someone will bother with the website if they can take down your server
PortalDark is offline  
Old 07/05/2013, 16:05   #12


 
Callum's Avatar
 
elite*gold: 5
Join Date: Mar 2008
Posts: 6,223
Received Thanks: 3,766
Quote:
Originally Posted by PortalDark View Post
not to mention, that getting a server's ip is quite simple
I dont think someone will bother with the website if they can take down your server
some people just do it to be pain in the ***** though, like taking down the website so users can't access registration, so users then blame it on the owner, when really, they're getting ddosed.
Callum is offline  
Old 07/05/2013, 16:41   #13
 
elite*gold: 0
Join Date: Feb 2008
Posts: 339
Received Thanks: 72
Quote:
Originally Posted by victorsalido View Post
Why we can't try to learn or find new ways?, why we should always depend from someone? is not just about money
I understand your point, but in this case it's like Don Quixote and Windmills.
With such problems you should search for professional solutions in my opinion
pushipu is offline  
Old 07/07/2013, 04:13   #14
 
elite*gold: 19
Join Date: Jul 2013
Posts: 223
Received Thanks: 290
Quote:
Originally Posted by pushipu View Post
I understand your point, but in this case it's like Don Quixote and Windmills.
With such problems you should search for professional solutions in my opinion
I wonder if anyone else understood what you meant with don quixote.
Royalblades is offline  
Old 07/07/2013, 06:54   #15
 
elite*gold: 0
Join Date: Jan 2013
Posts: 480
Received Thanks: 95
Quote:
Originally Posted by Royalblades View Post
I wonder if anyone else understood what you meant with don quixote.
I did haha...
MaximumDark is offline  
Reply


Similar Threads Similar Threads
[DDOS PROTECTED] Dedicated Servers with Free Proprietary DDoS Protection up to 10 Gbs
03/14/2014 - WoW Private Server - 7 Replies
INCLOUDIBLY - http://incloudibly.com is a Zurich-based web hosting company offering DDoS Protected Dedicated Servers, DDoS Protected Cloud Hosting, DDoS Protected Colocation in Europe, DDoS Protected Camfrog room hosting and professional DDoS Protection service from all types of DDoS attacks. ★ Order a Dedicated Server and get 10 Gb/s (4 Mpps) lifetime DDoS protection free-of-charge. This level of protection is enough to mitigate against 90% of DDoS attacks known. ★ What you get with...
New Bypass Idea *IDEA NOT A HACK*
01/19/2009 - Soldier Front - 5 Replies
Think about it..xfire to bypass GameGuard. I dunno about anyone else or why it hasn't been mentioned ..or maybe it has. But let me give you an example of what i mean. You would Inject your "wallhack.dll" into the xfire.exe process. Then Login to xFire.Then login to SF and let your Xfire ingame Load up. Since xfire layers its chat windows over the SF screen freely without causing the ALT+TAB error that means its has some kind of control over the D3D.
Idea:Possibly good potential idea!
10/26/2005 - Conquer Online 2 - 3 Replies
Well today I was thinking and it was stated that it's impossible to view if you have a +1 item unless you look in your inventory, but it is generated before its picked up. This could be a big job, could be worth it if it was possible and done correctly though. Turn the items on the floors into items in your inventory images, I should probably explain a bit more. The images that are used in your inventory, put those on the floor. That way if you moused over the image it'd show the +1...



All times are GMT +2. The time now is 14:56.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.