aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver
AgeCommit message (Collapse)Author
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
2016-02-14Core/Auth: Performance/security improvementsShauren
* Changed all db queries to async * Added buffer length checks * Only allow one challenge/proof packet per socket lifetime Closes #13217 Closes #16602
2016-01-05Core/Authserver: Do not close the socket immediately when user types in ↵Shauren
invalid authenticator token to allow receiving failure packet
2016-01-01Update copyright note for 2016Rushor
2015-12-19Auth/Login: Rename config key usageGacko
Related: 193dd505
2015-12-19Config/AuthServer: Rename Wrong.Password.Login.Logging to WronPass.Logging ↵Gacko
and move to correct section.
2015-09-28Update authserver.conf.distSean Rhone
- Added new line for consistency
2015-09-21Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick ↵StormBytePP
hack to crash the core misusing assert
2015-09-08Config: Minor Typom_pan
# Updates.SourcePath > # Updates.MySqlCLIPath
2015-08-24Core/BuildSystem: Merged crypto and gitrevision into common, cleaned include ↵StormBytePP
directory lists (to mimic 6.x buildsystem)
2015-08-16Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure ↵StormBytePP
when old revision.h file is present
2015-08-16Core/BuildSystem: Merge collision, debugging, threading, utilities and ↵StormBytePP
configuration into "common" which does not depend on shared anymore and moved database out of shared library These changes enables to build tools only without even having MySQL installed
2015-08-16Build fix for WheatyExceptionReport, c++ exceptions must not be thrown in ↵Shauren
SEH handlers
2015-08-16Core/Build: Removed obsolete SystemConfig.h and made genrev be part of ↵StormBytePP
shared library, which allows cache hits to happen more likely
2015-08-16Core/Logging: Refactored appender creation to allow using logging without ↵Shauren
mysql dependency in tools (future task) Conflicts: src/server/bnetserver/Main.cpp src/server/worldserver/Main.cpp
2015-07-04Core/Executables: Add --version and -v to worldserver and authserver argumentsDDuarte
Closes #14993 (cherry picked from commit 0f082e8f925f17e585fd221b901f55581d2d68ab) Conflicts: src/server/bnetserver/Main.cpp
2015-07-01Core/Misc: Fix build warningsjackpoz
2015-06-10Core/Auth: Fixed authserver not shutting down correctly when started as ↵Shauren
windows service
2015-06-06Core/Auth: Implemented starting authserver as a windows serviceShauren
2015-03-30Core/Misc: Remove unused headersleak
2015-03-29CMake: Use source_groups to represent the source treeNaios
* It let ide's (like vs) display the source tree. * Disabled by default. * Soft requirement is cmake >= 2.8.12 . * Offers 2 modes: flat & hierarchical. * For detailed description see #14471 * Thanks @click for help and advises. * Closes #14471
2015-03-24Core/DBUpdater: Add the possibility to limit the remove of orphaned entries.Naios
* This will save you from loosing your update history if you use a repository in bad state (revision or branch) by mistake. * Also turned 1 error message into a warning (cherry picked from commit 966282fbed24a0d0cf8cb3e05b1849c3e6a0d1d6) (cherry picked from commit 3ad7776d5061308d3e2b4ff9e3cbf67d48bffdd6)
2015-03-21Core/Updates: Add an automatic database update system. Automatically detects ↵Naios
new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp Make sure you re-run cmake, because boost::iostreams was added as dependency. Maybe you need to install libboost-iostreams1.55-dev on unix as well. Import every update manual until (included) those INSERT IGNORE updates for each database. Thanks DDuarte and Shauren for your amazing ideas, help and advises. In hope that nobody gets a "Your database structure is not up to date..." anymore ,-) (cherry picked from commit 352012e53173372ebc82898e1b6854c983b01b25) (cherry picked from commit 1f7f9feafc3f5017d617634ae993d2cdf4430920) For 3.3.5: * Synchronized ConfigureBoost.cmake with 6.x, libboost-filesystem1.55-dev also added as dependency! Signed-off-by: Naios <naios-dev@live.de> Signed-off-by: Nayd <dnpd.dd@gmail.com>
2015-03-18Core/Authserver: Include cppformatCarbenium