aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver
AgeCommit message (Collapse)Author
2019-01-15Warning fixShauren
2019-01-15Core/Auth: Implement additional version check for modified clients during loginShauren
2019-01-01Happy New Year, folks. It's 2019!Treeston
2018-06-23Core/Misc: Improved ip2location code and set it to disabled by defaultShauren
2018-06-23Common: Replace ip2nation by ip2location. (#21957)Gooyeth
Replace ip2nation by ip2location. Download: https://lite.ip2location.com/database/ip-country
2018-01-06Core/Misc: Added compatibility layer for boost 1.66 and future std:: ↵Shauren
networking stuff * Based on work done by @dimiandre in PR #21173 Closes #21171 Closes #21173 (cherry picked from commit dfd2660a85e4f0891c63009ee8425b2796586409)
2018-01-01Update copyright note for 2018tkrokli
Best wishes for the new year.
2017-12-21Build: Inherit the features and warning flags privatelyNaios
(cherry picked from commit 12853475186569b2f47f1d69f817cbef8e590d83)
2017-12-17Build: Use the cotire library for precompiled header handlingNaios
* Required for handling flags inherited by linked projects correctly in the corresponding precompiled header. * Reduces the maintenance effort for precompiled headers
2017-12-13Buildsystem: Fixed windows pch build with ninjaShauren
(cherry picked from commit a6e46c1c2ef491cd4cce39be47445e9da194e84e)
2017-11-11Core/Misc: Fix static analysis issuesjackpoz
2017-07-21Core/Auth: Fixed client getting stuck on login or realm changeShauren
2017-07-12Core/Auth: Prevent queueing more than one realmlist query at the same timeShauren
2017-06-22Buildsystem: Minor PCH building changesShauren
* *PCH.cpp are now only compiled with MSVC, other compilers use custom helper commands to generate the precompiled header * Don't call the linker for pch helpertargets (cherry picked from commit 137f5e78877ef1b81f4dca68dd43268e325aeeed)
2017-06-19Core: ported headers cleanup from master branchariel-
2017-06-19Core/Misc: Cleanup worldserver/authserver main() functions to run ↵Shauren
destructors in predictable order * world/auth servers will now fail to startup if listen ports are in use * Restored "Network.OutUBuff" config option lost during boost transition (cherry picked from commit 6c92a481a34eb19c7ba751a1f7547a39c3d3a088)
2017-05-23Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ ↵Shauren
to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib) (cherry picked from commit b8db320bf14e327bcd12279871b914d8635ef122)
2017-03-15Core/Auth: Per SRP6a protocol, terminate connection of A % N == 0. This ↵Shauren
resolves another authentication bypass issue (cherry picked from commit cmangos/mangos-wotlk@ea3e08a8123fbce0082b8aae8eb9b2541f083a9c)
2017-01-29Build Fix (#19004)Gildor
2017-01-26Core/Auth: Use QueryCallbackProcessor insted boost::optional. Fixes build ↵Tonghost
for boost 1.55.0
2017-01-25Core/DBLayer: Convert async queries to new query callbacks and remove old ↵Shauren
callback handling (cherry picked from commit 8e2634b2b49eb814b8cc425a060b2f160dbb49b7) Conflicts: src/server/bnetserver/Server/Session.cpp src/server/bnetserver/Server/Session.h src/server/database/Database/QueryCallback.cpp src/server/game/Handlers/CharacterHandler.cpp src/server/game/Handlers/SocialHandler.cpp 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/World/World.cpp src/server/game/World/World.h
2017-01-02Update Copyright notice for 2017tkrokli
Happy new year!
2016-11-10Core/Auth: Resolved authentication bypassChaosvex
2016-09-25Core/Auth: removed unneeded sub queryjoschiwald
2016-09-24Core/Auth: fixed logic in FailedLogins checkjoschiwald
2016-08-11Core/Logs: Fine tune more logsAokromes
And move others to more logical appenders
2016-08-03Common/Crypto: Reduce differences between 3.3.5 and 6.x branchesjackpoz
Code functionality shouldn't have been modified.
2016-05-10Core/Common: Move the query callback header to the database projectNaios
* Also renames the header to it's correct name QueryCallback
2016-04-25Core/authserver.conf.dist: missing description line (#17038)Trond B Krokli
This line is missing from authserver.conf.dist : `# MySQL server and their own thread on the MySQL server.` I have copied this description text line from the matching description in `worldserver.conf.dist` (line 108 in the 3.3.5 worldserver source file). This line is also missing in bnetserver.conf.dist , but the files are different in line number, filename and folder, so bnetserver needs a separate commit.
2016-04-23Core/Authserver: removed obsolete codejoschiwald
2016-04-18Core/Scripting: Use the path of the worldserver executable to search for the ↵Naios
scripts dir * Fixes issues when starting the worldserver not in the bin directory or the CMAKE_INSTALL_PREFIX directory using the -c option.
2016-04-11Add missing configuration key LoginDatabase.SynchThreads.Gacko
(cherry picked from commit b23a6aeaff403266491ea75207558bf9917b9cc4) # Conflicts: # src/server/bnetserver/bnetserver.conf.dist
2016-04-09Buildsystem: Initial changes to support building with vs clang toolsetShauren
(cherry picked from commit 4a3a178d7fe9d2d7e8fde2fe915cf5cec5223502)
2016-04-09Core/Misc: Moved RealmList to sharedShauren
(cherry picked from commit cfe8a6a58b37280e4ed922e4d70878579dbc8bee)
2016-03-28Core/Network: Change SocketMgr.StartNetwork to take the thread count by arg ↵DDuarte
instead of config AuthSocketMgr doesn't need "Network.Threads" config Fixes "Missing name Network.Threads in config file authserver.conf" Ref #16859
2016-03-18CMake: Use inherited dependencies in worldserver and authserverNaios
* Closes #1679
2016-03-16Dep/CppFormat: Update cppformat to cppformat/cppformat@5174b8cNaios
2016-03-12Core/Debugging: Make abort() less bad on windows by forcing crash log generationShauren
(cherry picked from commit dea7d429abe5143672154784f93e4b19020062d5) # Conflicts: # src/server/bnetserver/Main.cpp
2016-03-12Core/Auth: Fixed login for accounts with accented charactersShauren
Closes #16770
2016-03-11Core/Database: Move singleton instances into compilation unitsNaios
* Fixes issues when building shared libraries (prevents gcc and clang from providing several instance) * Also instantiate the database worker pools in DatabaseEnv.cpp now. (cherry picked from commit a8fe7f6eb7195368bbb4d0256927405f5e5c6f87)
2016-03-11Core/Common: Generalize platform specific includes in common/PlatformNaios
(cherry picked from commit 30517cb1d3b27d5abb8632d863797aa5749199a6)
2016-03-07Core/Auth: Fix the "Added realm" spamDDuarte
2016-03-06Core/Authserver: Partial port of 56cf7ff2a8f1e0a710544ec6300a21cfa44c0f73DDuarte
Change the "UpdateIfNeed" logic to a deadline_timer
2016-03-06Core: Backport 6.x realm changesDDuarte
Make acessible all the info about current realm (e.g name) anywhere, not only realm id Reduce the number of differences between the two branches Original changes by Shauren Partial port of bacc90b6baa34e6a194c93e5a7860d4041f08af7 and 63def8aa3291d0a6e5f83b289ad12c4c8a3cebd9
2016-02-22Core/Common: Add a generic config helper to access built-in overwriteable paths.Naios
* Adds CMAKE_COMMAND and CMAKE_BINARY_DIR to revision_data.h * Move the source and mysql exe path handling out of the DBUpdater. * Make some Config methods const for correctness. * Remove C & CXX flags from revision_data.h (was unused and didn't capture all cxx vars) * Reorder the link order to prevent `ld` from ignoring the file * Ref #15671 (cherry picked from commit 719159e2074ac2d0902c70bdd3c7a39e0d311bbe)
2016-02-20Core/Networking: Rewrite networking threading modelShauren
Each network thread has its own io_service - this means that all operations on a given socket except queueing packets run from a single thread, removing the need for locking Sending packets now writes to a lockfree intermediate queue directly, encryption is applied in network thread if it was required at the time of sending the packet (cherry picked from commit 97a79af4701621ec04b88c8b548dbc35d120e99e)
2016-02-16Core/Auth: Cancel ban expiry check timer on shutdownShauren
2016-02-15Build fixShauren
2016-02-15Core/Auth: Moved expiring bans to background task - no longer blocking ↵Shauren
queries during login by default running every minute (configurable)
2016-02-14Warning fixShauren