Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 26.04.2005, 13:54   #1
nepsquare
Архивный участник
 
Join Date: Apr 2005
Posts: 256
Default Securing the server?

Pretty soon my dedicated-hosted server is up, and I'd like to secure it to the notch. Only, I got ONE machine and would like to know if there's a resource-friendly firewall out there which can block all ports but three...? Maybe even input rules?

Also heard something about NCsoft crashing private servers (flooding and such) and that there would be specific ports on where they do this on.
Can anybody share info on this?

I didn't know where to post this to be honest, I felt this would be the right spot in the end...

Thanks in advance!
nepsquare is offline  
Old 26.04.2005, 14:37   #2
yellowperil
Архивный участник
 
Join Date: Mar 2005
Posts: 114
Default

ok having everything on one server aint the most ideal situation.
breaking it down over serveal machines is perfect, your sql dont need to be all singing and dancing. the SERVER machine needs that.
plus when you seperate them, locking them down is so much easier.

for example only your webserver and game server need access to the net, not your sql server.

so direct attacks on the sql side become near to impossible unless they compromise either the webserver or you game server.

Only port required on your game server are 2106 and server.exe, only allow them the ports and only them APPS access to the net, otherwise you gonna have people trying to access other APPS through them ports you have open.

Now the webserver, will most likely be the one that will be tried to hack into most. a badly conmfigured firewall and webserver could be instant death.

SQL injectio attacks, etc.
only open port 80 for the web server NOTHING else, and pray you havent got any security holes in it, if your not sure, dont have a web server, do it manually via email, etc.

basically thats it, LOCK DOWN is the key here, and having everything on one machine aint the ideal situation as I said above.

If your not sure of how to lock down your webserver, I suggest you do some searching and read up on webserver security.

Final note: dont matter how good your firewall is, if you leave a security hole, in one of your apps that access the net, your firewall aint gonna work. Also turn off all those extra services your not gonna need, eg workstn, server, etc.

Yellowperil

hope this helps
yellowperil is offline  
Old 26.04.2005, 15:30   #3
nepsquare
Архивный участник
 
Join Date: Apr 2005
Posts: 256
Default

Thanks for the feedback! I understood all you said, the only thing I can separate is the webserver; which someone else can host for me.

My problem is that I only own ONE powerfull machine, a Dual Xeon 2,8 4GB Raid1 set on a 100mbit line with a 500Gb/m datalimit. I thought it would take the load. But I didn't think it would be more risky -security wise-...

So now, knowing what you said, I have one webserver which runs the site/forum/registration... And one 2k3server which runs CacheD, AuthD, Server, NPC aaaaaaaannd MSSQL... I still know it's not the ideal setup *sigh* but it's the best I can get.

The webserver will be behind a good firewall, which only communicates the registration to the l2server (hole#1)... The server itself is now everything but LOCKED DOWN... But I'm looking for a solution to do so.

Thanks again for your input Yellowperil, I still want to know if there's a nice resource-friendly firewall for w2k3... Cause it CAN NOT be behind a dedicated firewall... Unless I grow money from tree's

Thanks in advance for additional feedback!
nepsquare is offline  
Old 26.04.2005, 15:50   #4
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

lol.. i'll chip in abit then
as u have said, i take it that ur looking for a s/w firewall right?
then maybe blackice defender would do the job.
it's sleek and resource friendly... i even did a script to handle it a long time ago. lol...
perhaps it's just the tool ur looking for
Digital is offline  
Old 26.04.2005, 15:53   #5
nepsquare
Архивный участник
 
Join Date: Apr 2005
Posts: 256
Default

Thx Digital!

I got that thingie you needed for HIEW btw...
In the meantime I'll search the web for SQL injectio and blackice...

Greetz,
Moi.
nepsquare is offline  
Old 26.04.2005, 16:39   #6
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Make sure you get the BlackIce Server Edition. :P
flakka is offline  
Old 26.04.2005, 17:22   #7
nepsquare
Архивный участник
 
Join Date: Apr 2005
Posts: 256
Default

Wasn't the licensing the only diff at the mo? Will do bro...
nepsquare is offline  
Old 17.05.2005, 07:02   #8
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

Agains SQL injection u can fight with limiting the input lenght in all ur input fields to max 11 chars and of course to add anti injection strings.

[hr:b0c405963d]
Post edit: u dont need any firewall software. u can set pretty well firewall settings under winxp or higher.
go start/run and type gpedit.msc
Aaaaahh i will post screen shots how to do this. It is just too much to write.

Expect post post edit of this later this afternoon ....
BiGBoY is offline  
Old 29.03.2006, 16:03   #9
ApeX12345
Архивный участник
 
Join Date: Mar 2006
Posts: 2
Default

Bigboy how do you limit the length of those fields and how do you add anti injection strings?
ApeX12345 is offline  
Old 29.03.2006, 19:56   #10
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Ok. I cannot stress this enough. Ensure you have a Hardware Firewall.

www.l2-paradise is now one of the biggest Private servers hosts (Not the biggest, but getting close). Yesterday, we had a huge DDOS attack on our line. I quickly had to null route the IP Address (Meaning, take my servers offline). They are still down, I bought a 2000$ firewall today, in attempts that this fixes it. If your DC does NOT have a Firewall Hardware, I would suggest buying one right away. I was getting hit so hard, They used almost 600Mbits of Bandwidth on my 1000Mbit line. So again, I say, PROTECT IT WITH MORE THAN SOFTWARE FIREWALLS. IT WILL HAPPEN TO YOU.

I just want to know who interupted my 3 Day perfect uptime. Bastards.
Kenster is offline  
Old 30.03.2006, 00:15   #11
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

Then again, some datacenters will help you with DDoS attacks, depending on their network layout and setup. I hate scriptkiddies who get pissed off because they got banned for their own ignorance then ruin everyone elses fun, as well as cause work for admins.
Shawnmb is offline  
 


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:58.