![]() |
|
|
#1 |
|
Архивный участник
Join Date: Nov 2005
Posts: 107
|
Basically awhile back i had a problem with a certian someone logging into the servers CacheD from Telnet and a port, and running an SQL command to shut down the SQL (basically turn off sql why servers running).
srh helped me with the problem but i thought id post it in full and clear best i can for anyone else having this problem . If someone has posted this before im sorry just please delete mine, i have searched around when i had problem and couldnt find anything though.K basically as explained u can shut down SQL from telnetting a port on cacheD. (which i dont think u can block by firewall O.o *never worked for me*) they use a command like: *SELECT uid FROM user_account WITH (NOLOCK) WHERE account=''shutdown--'* Which basically makes it go kaput .The fix: Open Enterprise Manager Open (LOCAL)(WINDOWS NT) GOTO Security LOGINS RIGHT CLICK IN RIGHT WINDOW New Login Give it a name. GIVE IT SQL SERVER AUTH GIVE IT A PASSWORD (Different from SA Login *or ur default one*) Click server Roles Tab Give it ONLY BULK INSERT ADMIN (Tick the box) In Database Access tab put a Tick in lin2db & lin2world when u click on them, in the box at the bottam make sure it has public and DBOwner, BOTH OF them. Hit ok and close down enterprise. When u start up CacheD again, put the new username and password in. This will stop cock goblins shutting down ur SQL ![]() If you cant put a new username and password on cacheD because of your old one. Simply change ur Current password (SA User) *or w/e u use* then it will ask for a new user and pass on authd/cacheD/l2server/l2npc Only use the NEWLY created login with no rights on the CacheD. This will fix everything ![]() I basically noted that down very quickly in notepad for here. It basically makes it so your CacheD cant do any SQL commands. I posted this to help people who dont know about it already, so all u intelligent know it all leave it be .Also thanks for all the help on the forums alot of people have givin me and all the great shares, i always wanted to give somet backbut seems everyone beats me to the punch ;p. So this is all i got for now .Hope it helps. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Sep 2005
Posts: 455
|
Firewall for the win?
|
|
|
|
|
#3 | |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
Quote:
|
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
xerogen.
Your information - one of basic/main rules on all. Never to use the rights of the Administrator/SA for start of processes. If at the majority, admin of servers LineageII of a server present here are started with use Administrator/SA the rights, I shall not be surprised why you constantly "crack/hack". |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Nov 2005
Posts: 107
|
Quote: "
I posted this to help people who dont know about it already, so all u intelligent know it all leave it be . "I know most people know how to do this, and i know people still dont close down 2009 on CacheD so i just posted it for other peoples help. Who arent that well off and dont know all about SQL and logging into CacheD from other accounts. If you knew so well what to do, why reply? If it was at an atempt to make me look stupid i think you shown yourself up and proving you really dont read to the last line. |
|
|
|
|
#6 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
Quote:
Here that I had in view of. Anything more. Excuse, if has offended your feelings.
|
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
Correct description: "You dont need firewalls at all, just use this script so i can get free builder on your server and ruin it.... share"
|
|
|
|
|
#8 | |
|
Архивный участник
Join Date: Mar 2006
Posts: 26
|
Quote:
Og siden jeg er GM på serveren hans (lovlig måte faktisk XD) vet jeg at ingen får noe ulovlig builder på servern. Mulig du bare kødda men i så fall forsto jeg ikke spøken [/Norwegian]
|
|
|
|
|
|
#9 | ||
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
Quote:
![]() Desuden, ikke at benytte firewall er MEGET dumt.. tro mig :P [/danish] |
||
|
|
|
|
#10 |
|
Архивный участник
Join Date: Mar 2006
Posts: 26
|
[Norwegian]Rett i det, du har
Han er ikke den skarpeste kniven i skuffen, for å si det sånn ![]() Det faktum at til og med en MSSQL string som det der kan brukes til å skru av serveren beviser bare at MSSQL er hestemøkk tvers igjennom :P Hva firewall angår, vi har bare Windows Firewall AFAIK. Kult å se en annen europeer her på forumet, er som du skjønner ganske ny i L2 dev world men håper da å lære å kode AI i NASC siden det ligner på PHP, noe som er mer min greie =D Du kunne ikke tenke deg å bli med i Megatronpt's dev team? Er du så god som tittelen din tilsier, trenger vi deg Og dessuten er det allerede yttret ønsker om å ha deg der - så lenge du oppfører deg hehe[/Norwegian] So how bout it? |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Feb 2005
Posts: 307
|
That issue was mostly in-game with SQL injection, frankly if your interactive ports are unprotected I'll state that so much more can be done than just shutting down SQL. Basic security rules apply here, if you secured your setup properly you won't have these issues.
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: Jun 2006
Posts: 163
|
well... than tell us what to do.... make a guide or something... for C1-C4 Modded and C4 Retail... .
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Jun 2006
Posts: 163
|
someone can help us? with anti hacking etc...?
|
|
|
|
|
#14 | |
|
Архивный участник
Join Date: Dec 2006
Posts: 252
|
Quote:
Haven't seen any thread about this btw, think it'd help ppl in protecting their own server from "hackers". I know most of the basis, but i can forget one of 'em, or i can ignore the new ways of protecting a server decently. I really think a sticky about the different ways of protecting a server is needed. |
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Aug 2005
Posts: 23
|
Why the fuck is this post resurrected?
You can secure your server using basic Firewall rules, preventing unauthorized connections. If you dont know about this type of basic network management, then I think you are not ready to run a L2 Server, or some other shit. |
|
|
|
|
#16 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
lol half the poeple that post here arent ready to run an l2 server.. they should go host l2j where everything is done for them...
firewall + sql permissions + common sense = secure |
|
|
|
|
#17 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
I tend to agree:
Server side: -Use the lastest .dll protection available (for c4 retail ampeD by Cypher) -Secure your website if you have any running on the machine where you run the server. -Set correct SQL permissions (there's a post about that somewhere). -Set your firewall correctly, only open auth and l2server port (2106 and 7777) and nothing more. That's the basic for security. How to do it? The internet has most of the answers. |
|
|
|
|
#18 | |
|
Архивный участник
Join Date: Dec 2006
Posts: 252
|
Quote:
|
|
|
|
|
|