Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 13.01.2006, 13:53   #1
AgeNT2005
Архивный участник
 
Join Date: Aug 2005
Posts: 10
Default [HEX] AuthD

Anybody know How I can block another protocol connection to AuthD?

For example: i need block all OpenSocket connection by 413 version protocol
AgeNT2005 is offline  
Old 13.01.2006, 14:43   #2
zcold
Архивный участник
 
Join Date: Nov 2005
Posts: 146
Default

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
zcold is offline  
Old 13.01.2006, 14:59   #3
barabashka
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default next

[rus] Проблема состоит в следующем. При переходе с Ц1 на Ц3 протокол сервера был изменен с 413 на 530. Но существует некое количество ботов, которые пытаються коннектиться на 413. при коннекте бота, на сервере открываеться соккет, который потом не закрываеться. при достаточно большом онлайне, количество открытых соккетов превышает все допустимые рамки, что приводит к крашу сервера. И я так понял суть этого топика создана для того, чтобы найти способ, который бы не позволял боту с 413 протоколом коннекта открывать соккет на сервере. Думаю эта проблема решаеться на уровне хекса AuthD.exe. /[rus]

Please translate to English, and sorry for my Bad english.
barabashka is offline  
Old 13.01.2006, 19:00   #4
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default Re: next

interessing...
Quote:
Originally Posted by barabashka
Please translate to English, and sorry for my Bad english.
Old C1 L2Auth protocol has been changed to 530 (C3). But, some l2walker (bot) try connect with use 413 protocol. Server open user socket, but cant close it later. And... big server online can have a lot amount bad "ghost" user socket sessions and server cause 2 problem:
- server crash
- "login server" failed. You can connect, autorize on server, but cant select character (you cant see select char window).
I think, this problem can fix in AuthD.exe. For example, need block 413 autorize protocol.
HF is offline  
Old 13.01.2006, 19:02   #5
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default Re: next

need waiting C4.
We need change all. Authorize protocol, server features and etc.
HF is offline  
Old 13.01.2006, 22:14   #6
Dmytro
Архивный участник
 
Join Date: Nov 2005
Posts: 215
Default

Yep, maybe C12 ?

2 barabashka, zcold answer on your question.
<rus>Просто установи флаг в l2server.ini : AcceptLowerProtocol=false
по идее должно помочь</rus>
Dmytro is offline  
Old 14.01.2006, 11:33   #7
zcold
Архивный участник
 
Join Date: Nov 2005
Posts: 146
Default

Quote:
Originally Posted by Pipec
Yep, maybe C12 ?

2 barabashka, zcold answer on your question.
<rus>Просто установи флаг в l2server.ini : AcceptLowerProtocol=false
по идее должно помочь</rus>
No, my answer will not help, because AuthD will open socket and pass connection to l2server, and only then connection will be denied.

<rus>Короче не поможет мой ответ, потому что authd все равно будет открывать сокет и передавать "клиента" дальше - на l2server. А надо "рубать" левые протоколы еще на уровне authd, чтоб не оставались висеть открытые сокеты</rus>
(it was almost same text in russian)
zcold is offline  
Old 14.01.2006, 12:23   #8
barabashka
Архивный участник
 
Join Date: Jan 2006
Posts: 55
Default

[rus] А может стоит думать в сторону хексинга winsock.dll? Добавить одну строку в OnRecieveSocketPacket: if (RecievePacket=='413 protocol firstpacket string') CloseSocket. может кто-то сталкивался с такого рода модификациями? [/rus]
barabashka is offline  
Old 15.01.2006, 18:49   #9
maxwell
Архивный участник
 
Join Date: Jan 2006
Posts: 5
Default

[rus]А может проще прокси написать, который будет только 530 протокол пускать?[/rus]
Maybe easy write Proxy, wich accept only 530 protocol?

Sry, for my bad english.
maxwell is offline  
Old 15.01.2006, 20:02   #10
Wishmaster
Архивный участник
 
Join Date: Dec 2005
Posts: 62
Default

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!!!
Wishmaster is offline  
Old 15.01.2006, 20:05   #11
Wishmaster
Архивный участник
 
Join Date: Dec 2005
Posts: 62
Default

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
Wishmaster is offline  
Old 15.01.2006, 20:48   #12
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

what are you trying to tell us? :|
won the red-lightning weapon effect? :roll:
toolpunk is offline  
Old 29.01.2006, 08:17   #13
Validator
Архивный участник
 
Join Date: Dec 2005
Posts: 88
Default

Bump
Validator is offline  
Old 29.01.2006, 09:36   #14
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

HuH? Maybe he means that at the login screen the weapon is not showed as red colored or yellow or green.
Flamestrike is offline  
Old 29.01.2006, 13:02   #15
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

hm what if we allow 413 protocol in l2server.ini ?
Mirror is offline  
Old 29.01.2006, 13:13   #16
Wishmaster
Архивный участник
 
Join Date: Dec 2005
Posts: 62
Default

I said about glow effect of non-enchanted weapon.
Wishmaster is offline  
Old 29.01.2006, 13:18   #17
drzoom
Архивный участник
 
Join Date: Aug 2005
Posts: 428
Default

413 - it's not protocol version... It's encrypt algorythm version...
Protocols are 530, 535 ... 560
drzoom is offline  
Old 29.01.2006, 13:39   #18
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

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 ?
Mirror is offline  
Old 31.01.2006, 00:36   #19
Livid
Архивный участник
 
Join Date: Apr 2005
Posts: 314
Default

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 =\
Livid is offline  
Old 31.01.2006, 09:33   #20
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

yes yes true. didn't work :/
Mirror is offline  
Old 31.01.2006, 22:47   #21
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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..
rodier is offline  
Old 31.01.2006, 22:57   #22
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

HIEW (decode mode) .0050105C
top-gear is offline  
Old 31.01.2006, 23:02   #23
drzoom
Архивный участник
 
Join Date: Aug 2005
Posts: 428
Default

What's it? What there?
drzoom is offline  
Old 03.02.2006, 17:03   #24
AgeNT2005
Архивный участник
 
Join Date: Aug 2005
Posts: 10
Default

[RUS]
WindowsServer2003-KB898060-v2-x86-enu.exe

Для 2003 заплатка помогла. Как только останавливаются UserConected сервер начинает закрывать лишние сокеты.
[/RUS]

Решение
AgeNT2005 is offline  
Old 03.02.2006, 17:29   #25
Validator
Архивный участник
 
Join Date: Dec 2005
Posts: 88
Default

After this patch, my system crached. So... ahtung ^_^.
MS sas what's MTU problem.
Validator is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 19:49.