Shauren
585e170ad6
Core/Network: Refactor AsyncAcceptor to use async_accept overload producing sockets through argument instead of having to preallocate it
...
* Also improve main() cleanup to fully process all queued async operations (including their cancellations)
2026-01-12 20:59:19 +01:00
Shauren
546d23264c
Core/Misc: Make string and string_view literal suffixes globally available
2025-05-13 11:41:54 +02:00
Jason Dove
5ee93f177d
Core/Network: Update LoginRESTService to check all addresses together ( #30927 )
2025-05-12 18:20:16 +02:00
Shauren
71b681bbf0
Core/Network: Move to separate project
2025-04-09 21:02:31 +02:00
Shauren
e8b2be3527
Core/Network: Socket refactors
...
* Devirtualize calls to Read and Update by marking concrete implementations as final
* Removed derived class template argument
* Specialize boost::asio::basic_stream_socket for boost::asio::io_context instead of type-erased any_io_executor
* Make socket initialization easier composable (before entering Read loop)
* Remove use of deprecated boost::asio::null_buffers and boost::beast::ssl_stream
2025-04-08 19:15:16 +02:00
Shauren
27860c3316
Core/Database: Added std::span based functions to Field and PreparedStatement
2025-01-03 13:04:19 +01:00
Shauren
af4dcc93ed
Core/Networking: Support IPv6
2024-11-12 13:54:43 +01:00
Shauren
ac5aee6a98
Core: Updated to 10.2.6.53840
2024-03-21 21:07:23 +01:00
Shauren
5cc1b97fc1
Core/Bnet: Added SRP http endpoints
2024-01-18 00:31:57 +01:00
Shauren
8b54205778
Build fix
2023-12-26 15:11:11 +01:00
Shauren
623202d68e
Core/Bnet: Implemented new SRP6 variants, and migrate old sha_pass_hash in battlenet_accounts to separate salt and verifier columns
...
* passwords can now be case sensitive and up to 128 characters long
2023-12-26 14:55:15 +01:00
Shauren
15fce17c1a
Core/Bnet: Add new loggers to config file template, fixed request/response content logging and fixed setting keep_alive on responses
2023-12-18 12:19:10 +01:00
Shauren
acb5fbd48b
Core/Bnet: Rewrite LoginRESTService using boost::beast instead of gsoap as http backend and extract generic http code to be reusable elsewhere
2023-12-17 23:21:10 +01:00
Shauren
78bcc3f52a
Core/Misc: Minor code modernization - kill std::bind
2023-12-08 20:27:41 +01:00
Shauren
cc6dba1376
Core/Realms: Minor refactor to realm address storage (remove LocalSubnetMask as it is now unused, db field kept for table structure compatibility with 3.3.5 branch)
2023-08-03 11:18:11 +02:00
Shauren
8b426af763
Core/Bnet: Send hostnames in portal requests for launcherlogin
2023-07-20 00:38:07 +02:00
Shauren
6be536a73b
Core/Network: Refactor local/remote ip address selection code and allow using hostnames in LoginREST bnetserver config options
2023-07-15 00:45:16 +02:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Shauren
becc9ba1fc
Core/Misc: Fix mac build
2022-03-12 18:35:59 +01:00
Shauren
439b027d48
Core/Misc: Cleanup unused includes
2022-02-13 15:07:00 +01:00
Shauren
98939d258a
Dep/Boost: Partial support for boost 1.74 - asio
...
Ref #25470
(cherry picked from commit 155e37831e )
2020-12-12 18:50:13 +01: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
Peter Keresztes Schmidt
bab5fd87a3
Core/Misc: Replace Trinity::make_unique with std ( #24869 )
2020-06-23 08:54:12 +02:00
Shauren
7272508cb4
Core: Fix clang 10 warnings
2020-04-26 01:25:50 +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
f6e2b8cdc1
Core/DBLayer: Prevent committing transactions started on a different database
2019-07-27 10:52:33 +02:00
Shauren
e8e89f58fb
Core/DBLayer: Prevent using prepared statements on wrong database
2019-07-27 01:00:37 +02:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
fe04f2388f
Core/Bnet: Fixed crash that can happen when sending malformed requests
2018-01-21 19:04:14 +01:00
Shauren
dfd2660a85
Core/Misc: Added compatibility layer for boost 1.66 and future std:: networking stuff
...
* Based on work done by @dimiandre in PR #21173
Closes #21171
Closes #21173
2018-01-06 01:21:59 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
b09bd8d702
Core/Bnet: Fixed uninitialized value
2017-10-10 23:08:54 +02:00
Shauren
e9d3d2c3a2
Warning fix
2017-10-03 21:04:58 +02:00
Shauren
4d5eacd3af
Core/Bnet: Added support for -launcherlogin logins (external client launcher required)
2017-10-03 18:03:57 +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
0feb56e2c7
Core/Bnet: Fixed login after gSOAP update
2017-07-21 00:36:03 +02:00
Shauren
57fcc9edcd
Build fix for boost 1.55
2017-07-15 01:43:42 +02:00
Shauren
274c45e548
Core/Bnet: Changed login REST service to use async db queries instead of spawning a thread for each request
2017-07-14 19:18:42 +02:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Kevin Plestan
30d006f98b
Core/Bnetserver: Re-enable ban on wrong password
...
Closes #17937
Closes #17969
2016-09-24 15:02:34 +02:00
Shauren
c8b3ee3dd6
Core/Bnet: Fixed LoginREST.* address selection
2016-04-16 00:20:20 +02:00
Shauren
2babb00143
Core/Bnet: Add return LoginREST.ExternalAddress when LoginREST.LocalAddress is configured to localhost but client connects from a different machine in the network
2016-04-04 10:01:07 +02:00
Shauren
adc7b5e1f1
Core: Fixed VS 2013 build
2016-03-28 22:32:54 +02:00
Shauren
335a1e495c
Clang build fixes
2016-03-28 19:32:33 +02:00
Shauren
ea652fbedd
Build fixes
2016-03-28 18:47:13 +02:00
Shauren
dde620c402
Core: Updated to 6.2.4
...
* Rewrite bnetserver for new authentication protocol
2016-03-28 17:12:57 +02:00