Warden Anticheat - Official Testing Branch

I went back to the revision i was using before… and again got a crash when a windows user logs in…

im totally confused now what it might be…

Maybe this new os ( ubunti 11.10 ) has new libs or things that warden doesnt like??

At this point im very confused how to solve it.

OKay it seems the problem lies in ACE.

On the new system i cant install ACE normally, i need ACE 6.0 or higher for some reason and then i need to disable ssl as stated in the WIKI on trinity linux install.

the problem MIGHT be that warden calls ssl for a connection and then it crashes.

this is some theory that i might have.

IS there a way to compile ace then with ssl?

i tried 5.8 and again had compile error.

As stated in the wiki then i need 6.0 but also compile error, unless i configure with the prefix --disable ssl

but then i get indeed the problem that core crashes when somebody enters world.

here the compile error on ACE:

http://pastebin.com/ttaS27cr

use ACE-5.8.3 with openssl-0.9.8

1.download and extract http://www.openssl.org/source/openssl-0.9.8r.tar.gz

  1. compile
  • cd to openssl-0.9.8r dir.

  • ./config --prefix=/home/data/.sys/ shared

  • make

  • make install

  1. compile ACE5-8.3

-download and extract http://download.dre.vanderbilt.edu/previous_versions/ACE-5.8.3.tar.gz

  • create go to ACE_wrappers/build dir

  • configure with

[CODE]

…/configure --prefix=/home/data/.sys --with-openssl=/home/data/.sys/ --with-openssl-include=/home/data/.sys/include/ \

–with-openssl-libdir=/home/data/.sys/lib/[/CODE]
-make

-make install

Warden anticheat patch from TOM_RUS and leak for TrinityCore

To apply use git:

-to check if it runs without errors:

git apply --check warden_anticheat_leak_tom-rus_for_tc_01d634ef55e2f84f22d0f8356f0e47f05913173d.diff

-to apply it:

git apply --whitespace=fix warden_anticheat_leak_tom-rus_for_tc_01d634ef55e2f84f22d0f8356f0e47f05913173d.diff[/code]

@signfinder, thanks but i allready fixed the problem, but thatnks for the share.

Is possible add in Server log a report if Player is kicked or Banned?

In my log I have only:

ERROR: WARDEN: Player Ddsafgerg (guid: 198642, account: 36921) took 2m2s to respond to warden check request

it is in fact allready…

Been testing this and all it seems to do is kick people after the “Warden.ClientResponseDelay” setting. It’s literally a “Warden.WhenShallIKickPlayer” setting. With or without hacks it just disconnects the player once that time expires.

Anyone else having this same problem? I’m using SignFinder’s patch. Perhaps I should be using the actual repo instead?

If the client takes longer than that to send the CMSG_WARDEN_DATA, it will be kicked

got in some cases ( so read rarely ) a core crashing due warden

As stated its rare, maybe once in 2 weeks or so.

here is the crashdump

http://pastebin.com/1vLLJ9jc

so basicly : https://github.com/leak/TrinityCore/blob/warden/src/server/game/Warden/WardenWin.cpp#L246

and maybe related to warden.cpp > https://github.com/leak/TrinityCore/blob/warden/src/server/game/Warden/Warden.cpp#L158

so when it fetched data from or to client??

just wanted to post it here just in case.

gr.

p.s. merry christmas!

Can this branch be synced with the master branch please?

When compiling I get this error:


3>C:\Trinity\src\server\shared\Database\Implementation\LoginDatabase.cpp(34): error C2065: 'LOGIN_SET_LOGONPROOF' : undeclared identifier

I do agree as well, this warden library is nearly finished.

I get some errors after trying to apply the patch through cmd gif comamnd

same errors when i check first

http://pastebin.com/GQWVnrxc

Anyone can help?

Branch updated.

thanks hopefully it won’t give any errors now.

it wont, just tested it with latest pull of trinitycore.

works like a charm…

thanks Leak, any way this will ever gets pushed into the main repro?? like suggested by Svannon??

Works now ; just warning messages, no errors.

We need to filter hacks from malwares before that.

I get this inside my server.log



2012-01-11 01:15:10 ERROR: WARDEN: Player Test (guid: 3, account: 7) failed Warden check 209. Action: Kick

yes, i have setup warden for kick and it works fine. I’m just curios why it says the ERROR: thing first