Shauren
193233286d
Core/Misc: ASSERT() cleanup - followup of cherry pick 572eab1c35
2021-08-08 15:22:55 +02:00
Treeston
e9392ad287
Core/Authserver: Authserver cleanup (PR#25093)
...
- 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 210176fd91 )
2020-08-03 19:39:00 +02:00
Shauren
79cd94d26d
Core/Misc: Changed GetLocaleByName to return invalid value on invalid input instead of LOCALE_enUS
...
* Also added IsValidLocale helper function
2020-06-30 00:22:25 +02:00
ForesterDev
01d098830a
DB/Account: update account_access table ( #24788 )
...
* 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 8e0365d8a6 )
2020-06-22 11:03:31 +02:00
Shauren
0f0ca3a919
Core/DBLayer: Implement async transaction completion callbacks
2020-04-14 16:23:44 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
Shauren
e8e89f58fb
Core/DBLayer: Prevent using prepared statements on wrong database
2019-07-27 01:00:37 +02:00
Shauren
3058d8c5ab
Core/bnetserver: Fixed crash happening when sending packets larger than 4096 bytes
2019-07-21 16:32:49 +02:00
Shauren
50cfeb9aa4
Core/Misc: Improved ip2location code and set it to disabled by default
...
(cherry picked from commit 0ead73516a )
2019-01-09 17:35:18 +01:00
Gooyeth
163c487be7
Common: Replace ip2nation by ip2location. ( #21957 )
...
Replace ip2nation by ip2location.
Download: https://lite.ip2location.com/database/ip-country
(cherry picked from commit 2fe4ab94c5 )
2019-01-09 17:35:13 +01:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
f94deace76
Merge branch 'bfa'
2018-12-09 14:45:03 +01:00
Shauren
31f0186d20
Core/Bnet: Updated protobuf messages and services
2018-11-05 17:41:37 +01:00
Shauren
41a7e08e43
Core/Bnet: Safeguard auth process against bad external db modifications
2018-10-22 19:06:26 +02:00
Roc13x
11c3c456b7
Core/Bnet: Improve client ban messages ( #21837 )
...
* 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-04-18 20:27:45 +03:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
4d5eacd3af
Core/Bnet: Added support for -launcherlogin logins (external client launcher required)
2017-10-03 18:03:57 +02:00
Shauren
65af89e4e6
Warning fixes
2017-09-22 19:39:04 +02:00
Shauren
91626f0339
Core/Bnet: Moved loading account info from rest service to session
...
* This improves concurrency by removes thread synchronization when checking login tickets
* Also allows users to use external (web based) login systems
2017-09-22 18:26:00 +02:00
Shauren
beb3316089
Core/Shared: Include cleanup
2017-05-13 11:49:09 +02:00
Shauren
7e538980a2
Core/Database: Include cleanup
2017-05-12 18:50:27 +02:00
Shauren
8e2634b2b4
Core/DBLayer: Convert async queries to new query callbacks and remove old callback handling
2017-01-13 21:38:03 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Shauren
def94248e1
Core/Bnet: Fixed an issue that allowed client to enter Battlenet::Session::ReadDataHandler with an invalid header
...
Closes #18312
2016-11-26 11:55:28 +01:00
Shauren
8396dabdad
Core/Misc: Fixed coverity issues
...
Uninitialized fields: CID 1354593, 1354595, 1354738
Unchecked return value: CID 1354558
Out of bounds access: CID 1352989, 1352993
Null pointer dereference: CID 1296286
2016-06-06 09:16:59 +02:00
Shauren
dde620c402
Core: Updated to 6.2.4
...
* Rewrite bnetserver for new authentication protocol
2016-03-28 17:12:57 +02:00
Shauren
97a79af470
Core/Networking: Rewrite networking threading model
...
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
2016-02-19 19:23:04 +01:00
Shauren
36a1b1ccd5
Core/Bnet: Moved expiring bans to background task running every minute by default (configurable) - no longer executed during login.
2016-02-16 00:14:59 +01:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren
783e8299cc
Core/Misc: Fix for builds linked with libc++ instead of libstdc++
2015-10-24 15:39:32 +02:00
Shauren
63def8aa32
Core/Battle.net:
...
* Changed packet structures to mirror client names
* Simplified ToString Building
* Removed deprecated structures
World: Cleaned up duplicate realm info 'realm' and 'realmHandle' variables (realmHandle was removed, that data is fully contained in realm)
2015-10-06 00:30:47 +02:00
Shauren
705e5ea5d9
Core/Battle.net
...
* Updated game account flags
* Fixed infinite loop in ReadFourCC if value in packet was 0
* Corrected ClosingReason enum in ConnectionClosing
2015-10-04 00:26:38 +02:00
Shauren
1658421403
Core/Battle.net: Only send one IP address for a realm - fixes waiting time to join realm if the wrong address gets picked by the client first (local address for external client)
...
Closes #14891
2015-07-09 10:26:30 +02:00
Shauren
0e49eefe85
Core/DBLayer: Sprinkle some async magic on worldserver auth/session load process
...
* Implemented base for loading account wide data
2015-06-20 00:59:31 +02:00
Shauren
ee6e060be8
Core/Battle.net: Fixed accessing freed memory
2015-04-18 17:01:02 +02:00
Shauren
ff101cd100
Core/Battle.net: Query optimizations part2 - made all queries asynchronous
2015-04-11 18:58:13 +02:00
Shauren
685a310103
Core/Battle.net: Query optimizations part1 - reduced the amount of queries during authentication
2015-04-11 16:25:21 +02:00
Shauren
c9ca81f806
Core/Auth: Fixed clients being disconnected if taking too long to select game account for login
...
Closes #13782
2015-02-11 15:35:51 +01:00
Vincent-Michael
ab90f74486
Update copyright note for 2015
...
Happy new year
2015-01-01 00:28:09 +01:00
Shauren
911d0cf400
Core/Battle.net: Fixed client crashes happening when reconnecting too soon after being kicked
2014-12-24 13:48:52 +01:00
Shauren
c3e959b9db
Core/Battle.net: Decrypt remainder of the packet that arrives together with EnableEncryption
2014-12-20 00:25:11 +01:00
Shauren
0c27ffaa49
Core/Commands: Battle.net account command changes
...
* All commands renamed from "battlenetaccount" to "bnetaccount"
* bnetaccount create now also creates and links initial game account
* Added new commands bnetaccount link/unlink to manage relations between existing accounts
2014-11-10 01:19:24 +01:00
Shauren
ddc549518f
Core/Battle.net: Added more logs to auth process
2014-11-09 19:18:54 +01:00
Shauren
e401f9c9e2
Core/PacketIO: Added SMSG_REDIRECT_CLIENT/ConnectTo packet structure
2014-11-06 18:49:19 +01:00
Shauren
6584995c11
Auth/Battle.net Added missing build check to JoinRequest handler
2014-11-01 11:40:17 +01:00
Shauren
8936723291
Merge branch '4.3.4' of https://github.com/TrinityCore/TrinityCore into 6.x
...
Conflicts:
dep/PackageList.txt
src/server/bnetserver/Packets/WoWRealmPackets.cpp
src/server/bnetserver/Server/Session.cpp
2014-10-18 17:03:30 +02:00
Shauren
1ef31ba752
Battle.net: Implemented cache stream items
2014-10-13 17:22:24 +02:00
Shauren
cf521de9cb
Battle.net/Packets: Added packet name mapping for logging
2014-10-12 20:58:25 +02:00
Shauren
7679ecd7b3
Core/Battle.net: Improved logging - use separate filters instead of throwing everything to one logger
2014-10-12 15:34:01 +02:00
Shauren
cbabfe9920
Core/Battle.net: Handle ConnectionClosing
2014-10-11 22:45:01 +02:00