Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [SHARE] C4 HDAuth multiserver/floodprotected/bruteprotected (https://postpacific.mmorpg-game.online/showthread.php?t=8307)

humordwarf 18.08.2007 21:56

Quote:

Originally Posted by Kenjiro (Post 94884)
But i think it should be (documentation bug?):
example2: 1xx.xx8.1.0/24 means network 1xx.xx8.1.1 - 1xx.xx8.1.255
24 instead of 8 - this is correct CIDR notation (1xx.xx8.1.0/8 means 192.0.0.0 - 1xx.xx5.2xx.xx5).

u know what is most funny... i implemented inversed CIDR notation %)
fuck... what the mistake...

have to fix that o_O

*confused*

humordwarf 18.08.2007 22:06

Quote:

Originally Posted by hel (Post 94875)
... then any bad guy may ban everyone with bad password attempts, with knowing only his acc name... right? i think, temp ip banning better here.
/rus
тогда каждый ушлепок-хацкер может простым флудом авторизацией любого чувака, даже админа забанить на три минуты, а если хацкер напишет прогу для цикличного посыла по 4 пакета левой авторизации - так бедный владелец акка не зайдет в игру пока эту прогу не выключат, весело - правда? :)
лучше реализовать ип-бан, вместо аккаунтобана. /

[eng]
yes. u right, i'll fix it, but solution will be different: i'll add to this thing ip checking... should be like 3 password try per ip per account@server... e.g. per each IP@account@server own counter

[rus]
ты прав, надо пофиксить, но решение будет таким: я в это добавлю проверку адреса... должно быть типа три попытки с одного IP на акк на сервере... т.е. на каждый IP@account@server свой счетчик

humordwarf 18.08.2007 22:13

Quote:

Originally Posted by emanuel (Post 94866)
How can i change the auth port?? ( 2016 )


what for ?

humordwarf 18.08.2007 22:20

Quote:

Originally Posted by Aikeleer (Post 94858)
Cool, written in C#?

yeah, last months i love this language more and more =) somewhy...
any language is good, but speed of developing in C# is faster than on Java from Sun, same as resulting binary code execution speed...

humordwarf 19.08.2007 03:19

x.x1 now available, first post updated

- new parameter in .ini: ClientPort - Port number for clients (players) connections (emanuel's idea)
- fixed errors in net/mask functions (IPBans related) (thanks Kenjiro)
- changed logic in TempoBano for wrong passwords (see docs changes) (thanks hel)
- added info into docs about SQL queries (see below)

petre1980 19.08.2007 04:04

Verry good HD. Thanks.

FidoW 19.08.2007 09:06

Good job!

A suggestion: the blowfish maybe possible the be written in HEX format instead as string ?

Phantom2005 19.08.2007 10:15

Amazing as always. I suggest the same thing as FidoW says, blowfish in HEX format, it'll make things alot easier.

emanuel 19.08.2007 11:40

Quote:

Originally Posted by Phantom2005 (Post 94919)
Amazing as always. I suggest the same thing as FidoW says, blowfish in HEX format, it'll make things alot easier.

For the blowfish key you can use Lineage II Script maker v4 ( system part )

Xari0n 19.08.2007 12:07

Humordwarf thanx for share
Can u make your auth support C5 client
/rus если не сложно и есть желание, сделай пожалуйста возможность подключения ц4 клиентом, уже очень хорошая штука /rus

Forcer 19.08.2007 12:23

Hmmm...would be nice, if hd will create "switch" for chronicles, C4\C5.
It will be nice multiplatform auth server %)
No more hexing, or questions "auth c5 plix plox".

Certainly, if it possible...

humordwarf 19.08.2007 13:46

Quote:

Originally Posted by Forcer (Post 94927)
Hmmm...would be nice, if hd will create "switch" for chronicles, C4\C5.
It will be nice multiplatform auth server %)
No more hexing, or questions "auth c5 plix plox".

Certainly, if it possible...

its impossible right now... main problem: i know nothing about C5 protocol, have no such C5 server, etc...

l2online 19.08.2007 15:01

C4: http://www.l2jserver.com/svn/branche...serverpackets/

C5: http://www.l2jserver.com/svn/branche...serverpackets/

T0(AKA INTERLUDE NOT C6): http://www.l2jserver.com/svn/trunk/L...serverpackets/

~Marquis~ 19.08.2007 15:03

humordwarf = god
Your share is neat, great, it's become an habit now.. :)

petre1980 19.08.2007 15:20

One small sugestion, i have created a personalized "Terms and Conditions" for my server and it seems that a player will automatically login without accepting the Terms. HD can you make the player login only by clicking to "Accept" and disconect if not ?

humordwarf 19.08.2007 16:04

have to say.... first stress test passed =)

(first post updated)

1.02
- global crash fix and "red messages" cleanup (thanks Aida)
- fixed server reconnect thing (thankgs Aida)
- added date and time before each message into text log files
- new optional parameter in .ini for [ServerXX]: LocIP - address that will be used for local network connections
this feature uses LocalNet.txt (format same as IPBan.txt) for local networks
when it tuned auth works like a "router" and sends to clients IP of GS depends on client location
for more details about this feature ask Aida @ PP
- now u can use hex format too for BlowFish keys (see .ini for details)

humordwarf 19.08.2007 16:08

Quote:

Originally Posted by petre1980 (Post 94942)
One small sugestion, i have created a personalized "Terms and Conditions" for my server and it seems that a player will automatically login without accepting the Terms. HD can you make the player login only by clicking to "Accept" and disconect if not ?

i'll try in next version

kikuchi 19.08.2007 16:13

absolute fukin great work! thx dude

Xari0n 19.08.2007 16:18

Quote:

Originally Posted by humordwarf (Post 94928)
its impossible right now... main problem: i know nothing about C5 protocol, have no such C5 server, etc...

maybe i can help?

Ma4o 19.08.2007 16:29

[rus]Может сразу интерлюд авторизацию[/rus]

[eng]May be interlude Auth[/eng]

humordwarf 19.08.2007 17:40

2 C5 or C6 or C7 or C8 owners
two simple question:
how your client connects to your server?
why it needs another auth?

Xari0n 19.08.2007 18:05

Quote:

Originally Posted by humordwarf (Post 94959)
2 C5 or C6 or C7 or C8 owners
two simple question:
how your client connects to your server?
why it needs another auth?

coz your auth is really good
for me few parametres: like a bruteprotected and floodprotected

madar 19.08.2007 18:10

Quote:

Originally Posted by humordwarf (Post 94959)
2 C5 or C6 or C7 or C8 owners
two simple question:
how your client connects to your server?
why it needs another auth?

every server uses the same dll that has coded by testdude to get the cxxdh loginformat so there will be no problem to connect with those clients

humordwarf 19.08.2007 18:39

Quote:

Originally Posted by madar (Post 94963)
every server uses the same dll that has coded by testdude to get the cxxdh loginformat so there will be no problem to connect with those clients

well, then run this HDAuth with C5...
it uses "cxxdh" too...

or im wrong?

emanuel 19.08.2007 20:04

Quote:

Originally Posted by humordwarf (Post 94893)
what for ?


Thx again HD, because i have another port on server - client.
Another question : you can make something to read the BAN IPs with no restart of server , something like that : every 60sec the aplication will reload IPBan.txt ??
It is only a idea.


All times are GMT. The time now is 16:41.