aboutsummaryrefslogtreecommitdiff
path: root/src/server/bnetserver
AgeCommit message (Collapse)Author
2022-03-13Core/Config: Implement config override with env vars (#26811)Anton Popovichenko
* Core/Config: Implement config override with env vars Implement overriding of configuration from the .conf file with environment variables. Environment variables keys are autogenerated based on the keys defined in .conf file. Usage example: $ export TC_DATA_DIR=/usr $ TC_WORLD_SERVER_PORT=8080 ./worldserver * Core/Config Fix typo in logs Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> * Core/Config Fix code style in EnvVarForIniKey Co-authored-by: Shauren <shauren.trinity@gmail.com> * Update tests/common/Config.cpp * Apply suggestions from code review Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com> * Apply suggestions from code review Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com> Co-authored-by: Anton Popovichenko <anton.popovichenko@mendix.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> Co-authored-by: Shauren <shauren.trinity@gmail.com> Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com> (cherry picked from commit 1ddd9dc19cc1df1a1ab8c6123283999f9dea6760)
2022-03-12Core/Misc: Fix mac buildShauren
2022-03-11Core/Network: Add option to allow/disallow saving IP addresses to database ↵Giacomo Pozzoni
(#26723) Add config option AllowLoggingIPAddressesInDatabase to authserver and worldserver to specify if IP addresses can be logged or not to the database (cherry picked from commit 68bf7e6d12e1689d688db32c05066b8832922c67)
2022-02-13Core/Misc: Cleanup unused includesShauren
2022-02-05Core/Authserver: Removal of sha_pass_hash, compatibility fields, and ↵Treeston
everything that uses them (PR #25156) (cherry picked from commit bcdbdd6f23ce65cc0e381e61d2840140dce79311)
2022-01-26Core/CrashHandler: #ifdef cleanup to make VS not choke when parsing, fixed ↵Shauren
file being all red in editor (cherry picked from commit 39c5e03b749d44df346b8f37aed3eb898526365a)
2022-01-26Core/Authserver: Deprecation of sha_pass_hash (PR #25138)Treeston
see also #25157 (cherry picked from commit 44a3aad0af4bdd132b8761761dc83df2d7d6c601)
2022-01-06Core/Misc: Properly close database connections when using ↵Shauren
--update-databases-only arg (cherry picked from commit a9f9f737b2c93d8f9fcb435f7a2b164a84cbc684)
2022-01-06Additional cmake entry for configsipriver
Closes #24812 Co-authored-by: Carbenium <carbenium@outlook.com> (cherry picked from commit dc467ee0f6d0a49be4bd20b621f141228dfec736)
2022-01-01Added the ability to use TLS when connecting to a database. (#24348)myuzhobcplidtkieno
* Added the ability to use TLS when connecting to a database. * Trying to kickstart CI checks * Revert the kickstart change Co-authored-by: myuzhobcplidtkieno <myuzhobcplidtkieno@github.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit ae553f89664a4baade80020856c9ff66323de963)
2021-12-18Core/Bnetserver: Added --update-databases-only console argument to bnetserverShauren
2021-12-18[3.3.5] Core/Authserver: TOTP rewrite: (PR #23633)Treeston
- Proper management commands (.account 2fa) - Secrets can now be encrypted (set TOTPTokenSecret in .conf) - Secret now stored in binary - Argon2 and AES primitives - Base32/64 support (cherry picked from commit 4211645834c467a03c60248e80818d3607be9ea7)
2021-12-02Core/conf: conf.dist typo & grammar corrections (#23190)Trond B. Krokli
- Typo and spelling corrections - Grammar corrections, English grammar - Minor adjustments in example code readability - Capitalization adjustments to keep consistency with existing idioms, phrases and concepts (cherry picked from commit f9b1e4a03259c39af0d24e63f877455944b8af2e)
2021-08-08Core/Misc: ASSERT() cleanup - followup of cherry pick ↵Shauren
572eab1c355d9298ee640ebd7439f55366224fb8
2021-05-24Core/Misc: Add another boost hack. Fixes bnetserver/worldserver -c command ↵Shauren
line parameter when path contains spaces
2020-12-12Dep/Boost: Partial support for boost 1.74 - asioShauren
Ref #25470 (cherry picked from commit 155e37831e9c581c6a8ebba34fe70d3459301d0a)
2020-09-04Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup ↵Shauren
port
2020-08-03Core/Authserver: Re-organize the `accounts` table (PR #25135)Treeston
- no longer use sha_pass_hash for anything else core-side (.account, SOAP, RA) - salt/verifier/session_key are now binary - old s/v/sha_pass_hash fields kept around for backwards compatibility - sha_pass_hash is still updated (for now), s/v are not - sha_pass_hash is only read if s/v have been manually changed - SRP6 b now uses the full 32 bytes of randomness (instead of randomly only using 19) (cherry picked from commit 3164b58c7d170810b69378950c0891e5f5b8678b)
2020-08-03Core/Authserver: Authserver cleanup (PR#25093)Treeston
- Fix a handful of 1/256 bugs with most significant byte zero in BigNumber - Get rid of (most of) the C-style arrays in authserver - CryptoRandom as a unified source for cryptographic randomness - Bring our other crypto APIs into 2020 - BigNumber usability improvements - Authserver is now actually readable as a result of all of the above (cherry picked from commit 210176fd915cf4ba16f428d3c1a249a71f4aa7a7)
2020-06-30Core/Misc: Changed GetLocaleByName to return invalid value on invalid input ↵Shauren
instead of LOCALE_enUS * Also added IsValidLocale helper function
2020-06-23Core/Misc: Replace Trinity::make_unique with std (#24869)Peter Keresztes Schmidt
2020-06-22DB/Account: update account_access table (#24788)ForesterDev
* DB/Account: update account_access table: - rename fields id -> AccountID, gmlevel -> SecurityLevel - add Comment field - rename command .acc set gmlevel to .acc set seclevel * Update auth database * Fix primary key * Temporary restore old command account set gmlevel with same handler as account set seclevel Use Optional for realmID - if not set, use -1 (for all realms) * Rename 2020_XX_XX_00_auth.sql to 2020_06_20_00_auth.sql * Update auth_database.sql * Rename 2020_XX_XX_00_world.sql to 2020_06_20_06_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 8e0365d8a6ca5628ad17e6684743d9ab2138c068)
2020-05-09Core/Battlenet: Add club servicesShauren
2020-04-26Core: Fix clang 10 warningsShauren
2020-04-14Core/DBLayer: Implement async transaction completion callbacksShauren
2020-01-02New YearAokromes
2019-07-27Core/DBLayer: Prevent committing transactions started on a different databaseShauren
2019-07-27Core/DBLayer: Prevent using prepared statements on wrong databaseShauren
2019-07-21Core/bnetserver: Fixed crash happening when sending packets larger than 4096 ↵Shauren
bytes
2019-04-14Core/Dep: Boost 1.70 compatibilityShauren
2019-01-09Core/Misc: Improved ip2location code and set it to disabled by defaultShauren
(cherry picked from commit 0ead73516adfeaff96292685592085e20737d535)
2019-01-09Common: Replace ip2nation by ip2location. (#21957)Gooyeth
Replace ip2nation by ip2location. Download: https://lite.ip2location.com/database/ip-country (cherry picked from commit 2fe4ab94c52ad2fa90189ecd9c053da49f06561e)
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-12-09Merge branch 'bfa'Shauren
2018-11-05Core/Bnet: Updated protobuf messages and servicesShauren
2018-10-22Core/Bnet: Safeguard auth process against bad external db modificationsShauren
2018-04-18Core/Bnet: Improve client ban messages (#21837)Roc13x
* Don't hide banned game accounts from list. * Display proper ban messages with suspension time remaining. * More appropriate error codes for bans and locks
2018-01-21Core/Bnet: Fixed crash that can happen when sending malformed requestsShauren
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
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-12-20Build: Inherit the features and warning flags privatelyNaios
2017-12-20Build: 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 (cherry picked from commit 92f96fc10e70b2d62cce832837477d958e2afbe3)
2017-10-17Core/Bnet: Fixed another uninitialized variable (just to shut up static ↵Shauren
analysis tools, its never uninitialized when used)
2017-10-10Core/Bnet: Fixed uninitialized valueShauren
2017-10-03Warning fixShauren
2017-10-03Core/Bnet: Added support for -launcherlogin logins (external client launcher ↵Shauren
required)
2017-09-22Warning fixesShauren
2017-09-22Core/Bnet: Moved loading account info from rest service to sessionShauren
* This improves concurrency by removes thread synchronization when checking login tickets * Also allows users to use external (web based) login systems
2017-09-21Build fixShauren
2017-09-21Core/Bnet: Implement a way to handle turn protobuf service calls into async ↵Shauren
requests