aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Cryptography
AgeCommit message (Collapse)Author
2015-08-24Core/BuildSystem: Merged crypto into common, cleaned include directory lists ↵StormBytePP
(to mimic 3.x buildsystem)
2015-08-21Core/Build: Merge common library and move database out of sharedStormBytePP
2015-07-21Core/Misc: Fixing warnings detected by Visual Studio 2015 compilerShauren
2015-05-27Remove unnecessary semicolonsDaniel M. Weeks
2015-03-08Core/Spells: Implemented multiple spell power costsShauren
2015-03-04Core/Crypto: Fixed output of BigNumber::AsByteArray when generated array is ↵Shauren
shorter than requested size (cherry picked from commit e52b46abba9250c611312a891fda0adaccce0f0c)
2015-01-01Update copyright note for 2015Vincent-Michael
Happy new year
2014-11-09Core/NetworkIO: Added second connection to WorldSession, handle ↵Shauren
AuthContinuedSession and enabled ConnectTo and ResumeComms
2014-11-06Core/PacketIO: Added SMSG_REDIRECT_CLIENT/ConnectTo packet structureShauren
2014-11-06Core/Misc: Added const qualifier to HmacHash ctor argShauren
2014-10-20Core/PacketIO: Updated packet headers to 6.0Shauren
2014-07-20Core: Fix non build (gcc)Vincent-Michael
2014-07-20Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4Vincent-Michael
Conflicts: src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_elder_nadox.cpp src/server/scripts/Northrend/zone_dalaran.cpp src/server/shared/Cryptography/Authentication/WorldPacketCrypt.cpp
2014-07-20Core: Fix non pch build (gcc)Vincent-Michael
2014-07-19Merge remote-tracking branch 'origin/master' into 4.3.4Shauren
Conflicts: src/server/authserver/Main.cpp src/server/authserver/Realms/RealmList.cpp src/server/authserver/Realms/RealmList.h src/server/authserver/Server/AuthSession.cpp src/server/authserver/Server/AuthSocket.h src/server/authserver/Server/RealmAcceptor.h src/server/game/Accounts/AccountMgr.h src/server/game/Achievements/AchievementMgr.cpp src/server/game/Achievements/AchievementMgr.h src/server/game/Battlegrounds/ArenaTeamMgr.cpp src/server/game/Conditions/ConditionMgr.cpp src/server/game/DungeonFinding/LFGMgr.h src/server/game/Entities/Object/Object.h src/server/game/Entities/Player/Player.cpp src/server/game/Entities/Player/Player.h src/server/game/Entities/Unit/Unit.cpp src/server/game/Handlers/BattleGroundHandler.cpp src/server/game/Movement/Spline/MoveSplineFlag.h src/server/game/Quests/QuestDef.cpp src/server/game/Quests/QuestDef.h src/server/game/Server/WorldSession.cpp src/server/game/Server/WorldSession.h src/server/game/Server/WorldSocket.cpp src/server/game/Server/WorldSocket.h src/server/game/Spells/Spell.cpp src/server/scripts/Commands/cs_debug.cpp src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp src/server/scripts/Spells/spell_mage.cpp src/server/scripts/Spells/spell_rogue.cpp src/server/scripts/Spells/spell_shaman.cpp src/server/scripts/Spells/spell_warrior.cpp src/server/shared/Cryptography/BigNumber.h src/server/worldserver/RemoteAccess/RASocket.cpp src/server/worldserver/worldserver.conf.dist
2014-07-09Nuked some compiler errors on LinuxSubv
2014-07-01Replaced all remaining ACE based Singletonsleak
Replaced ACE base AutoPtr class with shared_ptr Note: worldserver currently broken due to MapUpdater threading failure (ACE ofc, what else could it be)
2014-06-30Replace ACE thread/mutex in OpenSSLCryptoleak
2014-06-22Various cleanups and fixes due to feedbackleak
2014-06-21Replaced ACE_Auto_Array_Ptrleak
2014-06-03Core/Crypto: Refactored HmacHash to make it easier to use with different ↵Shauren
hash algorithms
2014-06-01Core/Authserver: Refactoring - moved GetAddressForClient to Realm structure, ↵Shauren
changed BigNumber string methods to return std::string, added missing prepared statement
2014-06-01Core/Crypto: Fixed values returned by HmacHash::GetLengthShauren
2014-05-04Core/Battle.net: Fixed encryptionShauren
2014-05-02Core/Cryptography: Added class to generate SHA256 hashesShauren
2014-04-30Core/Auth: Battle.net stuffShauren
2014-01-22Shared/OpenSSLCrypto: Add switch to fix build under MacGacko
2014-01-01Update copyright note for 2014.Vincent_Michael
Happy new year.
2013-12-01Core/Misc: Fix some static analysis issuesjackpoz
Fix some static analysis issues, mostly false positive about fields not initialized in the constructor. It's good practice anyway to always initialize them.
2013-08-30Core/Server: Fix a spammy warning in WorldSession and move code to .cppNay
2013-08-25Core/Auth: Implement time-based token for user login as described in RFC 6238.raczman
New column in account table is a base32 of token key bytes, coincidentally it is the same format Google's Authenticator Android app uses. If you want that to work, set system time on server correctly and use ntpd. Closes #10527 Signed-off-by: Nay <dnpd.dd@gmail.com>
2013-08-19Core: Fix warningVincent-Michael
2013-08-19Fix build with gcc. Thanks to McBitter for testing.QAston
2013-08-18Core: Fix warnings. Make callback symbols local.QAston
2013-08-18Fix crashed caused by using openssl from multiple threads simultanously.QAston
Note that this doesn't make BigNumber class threadsafe - it never was that way.
2013-08-18Fix BigNumber::AsByteArray function by returning Auto_Ptr.QAston
Remove mutex from BigNumber class - it didn't do what it was advertised to do - consider using the "locked" array outside of the function in which it was "locked".
2013-08-18Core: Fix a bug in BigNumber::SetBinaryQAston
2013-08-18Core: Fix a bug in BigNumber::SetQwordQAston
2013-05-17Core/Misc: Fixed a bunch of issues found by static analysisShauren
2013-03-25Core/Misc: Minor optimizations (+code changes to reduce differences with ↵Spp
4.3.4 branch) Core/Logging: Create new logger type "Cheat". Will be used to log all cheat attempts
2013-01-14Core/Misc: Apply codestyle to multiple filesSpp
2013-01-01Update copyright note for 2013.Vincent_Michael
Happy new year.
2012-12-31Core: Fixed some level 4 warnings (msvc)Shauren
2012-11-27Core/Misc: Set mode 0644 for filesSpp
2012-11-09Core/Build: Enable Clang PCH support and OS X specific featuresSpp
Core: Fix warnings here and there
2012-09-05Core/Misc: Fix some warnings and logic mistakes found by static code analysiskaelima
2012-08-30Core: Fix many "errors"/warnings and coding style (1)Nay
Extractors, worldserver, authserver, shared and collision affected Errors were found using Cppcheck, open-source static analysis tool
2012-08-03Core/Logging: Add Asyncronous logging with Loggers ("What to log") and ↵Spp
Appenders ("Where to log") system. Will allow to select to full log some parts of core while others are not even logged. - Logging System is asyncronous to improve performance. - Each msg and Logger has a Log Type and Log Level assigned. Each msg is assigned the Logger of same Log Type or "root" Logger is selected if there is no Logger configured for the given Log Type - Loggers have a list of Appenders to send the msg to. The Msg in the Logger is not sent to Appenders if the msg LogLevel is lower than Logger LogLevel. - There are three (at the moment) types of Appenders: Console, File or DB (this is WIP, not working ATM). Msg is not written to the resource if msg LogLevel is lower than Appender LogLevel. - Appender and Console Log levels can be changed while server is active with command '.set loglevel (a/l) name level' Explanation of use with Sample config: Appender.Console.Type=1 (1 = Console) Appender.Console.Level=2 (2 = Debug) Appender.Server.Type=2 (2 = File) Appender.Server.Level=3 (3 = Info) Appender.Server.File=Server.log Appender.SQL.Type=2 (2 = File) Appender.SQL.Level=1 (1 = Trace) Appender.SQL.File=sql.log Appenders=Console Server (NOTE: SQL has not been included here... that will make core ignore the config for "SQL" as it's not in this list) Logger.root.Type=0 (0 = Default - if it's not created by config, server will create it with LogLevel = DISABLED) Logger.root.Level=5 (5 = Error) Logger.root.Appenders=Console Logger.SQL.Type=26 (26 = SQL) Logger.SQL.Level=3 (2 = Debug) Logger.SQL.Appenders=Console Server SQL Logger.SomeRandomName.Type=24 (24 = Guild) Logger.SomeRandomName.Level=5 (5 = Error) Loggers=root SQL SomeRandomName * At loading Appender SQL will be ignored, as it's not present on "Appenders" * sLog->outDebug(LOG_FILTER_GUILD, "Some log msg related to Guilds") - Msg is sent to Logger of Type LOG_FILTER_GUILD (24). Logger with name SomeRandomName is found but it's LogLevel = 5 and Msg LogLevel=2... Msg is not logged * sLog->outError(LOG_FILTER_GUILD, "Some error log msg related to Guilds") - Msg is sent to Logger of Type LOG_FILTER_GUILD (24). Logger with name SomeRandomeName is found with proper LogLevel but Logger does not have any Appenders assigned to that logger... Msg is not logged * sLog->outDebug(LOG_FILTER_SQL, "Some msg related to SQLs") - Msg is sent to Logger SQL (matches type), as it matches LogLevel the msg is sent to Appenders Console, Server and SQL - Appender Console has lower Log Level: Msg is logged to Console - Appender Server has higher Log Level: Msg is not logged to file - Appender SQL has lower Log Level: Msg is logged to file sql.log * sLog->outDebug(LOG_FILTER_BATTLEGROUND, "Some msg related to Battelgrounds") - Msg is sent to Logger root (Type 0) as no Logger was found with Type LOG_FILTER_BATTLEGROUND (13). As Logger has higher LogLevel msg is not sent to any appender * sLog->outError(LOG_FILTER_BATTLEGROUND, "Some error msg related to Battelgrounds") - Msg is sent to Logger root (Type 0) as no Logger was found with Type LOG_FILTER_BATTLEGROUND (13). Msg has lower LogLevel and is sent to Appender Console - Appender Console has lower LogLevel: Msg is logged to Console
2012-07-13Core/Warden: Workaround for an OpenSSL bug in the ARC4 stream cipher ↵leak
initialization that causes crashes on some OS - Skip loading warden_action overrides when warden is disabled fixes #6486
2012-06-30Core: Minor code style correctionsShauren