![]() |
|
|
#1 |
|
Архивный участник
Join Date: Apr 2007
Posts: 17
|
Today I got a very big problem in my server!! Players complaining their chars simply dissapeared from their accs.
I checked in sql server and the table user_data was cleaned!! There was jus one char on that!!! Other tables appear to be normal. In my server the opened ports are only the gameserver and auth ports, and the logins on the pc are normal too. I checked at amped log and found something very strange on that (i hided the ips and names for security): Code:
[22:42:17] packet flood: IP[*.*.*.*] packet[0x0] *****[1657ms] action[100] [22:44:39] Pausing parent threads [22:44:39] CConfigMonitor::~CConfigMonitor [22:44:39] DestroyWndSink [22:44:39] Closed interproc thread [22:44:39] Trying to unregistered class [22:44:39] Unregistered class [22:44:39] Resuming parent threads [22/Apr/2007 00:16:07] char already in world (EnterWorld) IP: IP[*.*.*.*] UID[*****] [22/Apr/2007 00:30:40] packet flood: IP[*.*.*.*] packet[0xb] *****a[562ms] action[1] [22/Apr/2007 00:40:00] invalid list size: IP[*.*.*.*] UID[*****] 76 > 50 [22/Apr/2007 00:48:55] packet flood: IP[*.*.*.*] packet[0x2b] *****[0ms] action[2] [22/Apr/2007 01:01:38] packet flood: IP[*.*.*.*] packet[0xb9] *****[0ms] action[2] The only thing i can do at this time is restore de database and make backups more times. |
|
|
|
|
#2 | ||
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
Quote:
please check your event viewer... more or less in that moment I had the following: Quote:
|
||
|
|
|
|
#3 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Maybe SQL injection in website ? Are u using L2CP ?
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Apr 2007
Posts: 17
|
Thank you guys for the helping me. I got the problem.
I use l2cp but now is offline and the problem repeated. the problem is not sql injection but is something like this, it happend due to the database script i used was "very well written". I got a better script and now it seems to be solved. Thank you guys for the support. |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Apr 2006
Posts: 461
|
What script if you don't mind asking? Maybe we have the same issue? Was it custom? What did it do?
Glad you got it fixed. |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Apr 2007
Posts: 17
|
the problem i had from the database script was due to it was from a non trusted source, i found a malicious code on it.
whith this new script i this problem was solved. unfortunately the code i posted is not related to that problem, so the error reported on amped log isnt fixed at this time. now im whithout enought time to investigate it propperly, so if someone knows how to fix and give us a clue. if i find the fix for it i will report here how to correct. |
|
|
|
|
#7 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Quote:
If u are talking about this: Code:
[22:44:39] Pausing parent threads [22:44:39] CConfigMonitor::~CConfigMonitor [22:44:39] DestroyWndSink [22:44:39] Closed interproc thread [22:44:39] Trying to unregistered class [22:44:39] Unregistered class [22:44:39] Resuming parent threads |
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: May 2006
Posts: 237
|
ya what script are you talking about ? with out any info about it doubt anyone will be able to help
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Apr 2007
Posts: 17
|
Thanks Fidow, im new on l2server administration/development world and dont know everything about the error report messages and other stuff related.
Summing up, i had a problem in my server that the user_data table was deleted and post a part of amped log that i was suspecting about it. About the user_data table the problem was caused by malicious code included in one of my dbscripts, i got new(clen) scripts and the problem was solved. About the amped log, if its written everytime l2server is closed i have to investigate better, try to fix, and if i coulnt be able to fix make a new post asking your help again. (at this time i have a suspect red message in auth window but ill investigate it first before posting) Thank you guys! |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Mar 2006
Posts: 685
|
You don't have anythin' to fix there. It is just AmpeD's internal operation..as it unloads the dll due to l2server closing..and loads again.
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|