![]() |
|
|
#1 |
|
Архивный участник
Join Date: Aug 2005
Posts: 10
|
Anybody know How I can block another protocol connection to AuthD?
For example: i need block all OpenSocket connection by 413 version protocol |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Nov 2005
Posts: 146
|
Block another?
Set your server's protocol to 413 (as i understand you want this protocol), in ini-file disallow to connect client with lower protocol... then, go to 10105D in l2server.exe and change 2 bytes to any protocol nuber you want... 1C 02 - is 540 proto 12 02 - 530 9D 01 - will be 413 proto |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jan 2006
Posts: 55
|
[rus] Проблема состоит в следующем. При переходе с Ц1 на Ц3 протокол сервера был изменен с 413 на 530. Но существует некое количество ботов, которые пытаються коннектиться на 413. при коннекте бота, на сервере открываеться соккет, который потом не закрываеться. при достаточно большом онлайне, количество открытых соккетов превышает все допустимые рамки, что приводит к крашу сервера. И я так понял суть этого топика создана для того, чтобы найти способ, который бы не позволял боту с 413 протоколом коннекта открывать соккет на сервере. Думаю эта проблема решаеться на уровне хекса AuthD.exe. /[rus]
Please translate to English, and sorry for my Bad english. |
|
|
|
|
#4 | |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
interessing...
Quote:
|
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Aug 2005
Posts: 1,531
|
need waiting C4.
We need change all. Authorize protocol, server features and etc. |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Nov 2005
Posts: 215
|
Yep, maybe C12 ?
![]() 2 barabashka, zcold answer on your question. <rus>Просто установи флаг в l2server.ini : AcceptLowerProtocol=false по идее должно помочь</rus> |
|
|
|
|
#7 | |
|
Архивный участник
Join Date: Nov 2005
Posts: 146
|
Quote:
<rus>Короче не поможет мой ответ, потому что authd все равно будет открывать сокет и передавать "клиента" дальше - на l2server. А надо "рубать" левые протоколы еще на уровне authd, чтоб не оставались висеть открытые сокеты</rus> (it was almost same text in russian) |
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Jan 2006
Posts: 55
|
[rus] А может стоит думать в сторону хексинга winsock.dll? Добавить одну строку в OnRecieveSocketPacket: if (RecievePacket=='413 protocol firstpacket string') CloseSocket. может кто-то сталкивался с такого рода модификациями? [/rus]
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jan 2006
Posts: 5
|
[rus]А может проще прокси написать, который будет только 530 протокол пускать?[/rus]
Maybe easy write Proxy, wich accept only 530 protocol? Sry, for my bad english. |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Dec 2005
Posts: 62
|
Just analyze C4 client files by sniffing and make AuthD and L2server for C4...I think it's better than anything doing with C3....
Because C4 is on!!! |
|
|
|
|
#11 |
|
Архивный участник
Join Date: Dec 2005
Posts: 62
|
Also we did it!!!!!!
We won the red-lighting weapon effect in the Char Selection menu!!!! After few time i;ll put there an l2server.exe |
|
|
|
|
#12 |
|
Архивный участник
Join Date: May 2005
Posts: 2,033
|
what are you trying to tell us? :|
won the red-lightning weapon effect? :roll: |
|
|
|
|
#13 |
|
Архивный участник
Join Date: Dec 2005
Posts: 88
|
Bump
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Aug 2005
Posts: 434
|
HuH? Maybe he means that at the login screen the weapon is not showed as red colored or yellow or green.
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
hm what if we allow 413 protocol in l2server.ini ?
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: Dec 2005
Posts: 62
|
I said about glow effect of non-enchanted weapon.
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: Aug 2005
Posts: 428
|
413 - it's not protocol version... It's encrypt algorythm version...
Protocols are 530, 535 ... 560 |
|
|
|
|
#18 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
i mean this : if what barabashka says is true, then if we set acceptlowerprotocl=true then connections from bots will not leave ghost sockets...so..
..what do you think ?
|
|
|
|
|
#19 |
|
Архивный участник
Join Date: Apr 2005
Posts: 314
|
The problem is not in ghosts sockets, eh... You can make ghost sockets close after some time and yet you wills till have same problems. No idea how to fight that one =\
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: Oct 2005
Posts: 330
|
yes yes true. didn't work :/
|
|
|
|
|
#21 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
pls can anyone share c3 authD? I used one from PP pack.. but Im getting too much problems ;-( after 10-12h of running with 400 ppl... invalid socket.. invalid user..
sometime ago when we have another server software [our disk crash and no backup..so we start from nothing..] we dont have that much problems.. win2003 server enteprise..fully updated.. |
|
|
|
|
#22 |
|
Архивный участник
Join Date: Aug 2005
Posts: 605
|
HIEW (decode mode) .0050105C
|
|
|
|
|
#23 |
|
Архивный участник
Join Date: Aug 2005
Posts: 428
|
What's it? What there?
|
|
|
|
|
#25 |
|
Архивный участник
Join Date: Dec 2005
Posts: 88
|
After this patch, my system crached. So... ahtung ^_^.
MS sas what's MTU problem. |
|
|
|
|