summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Authenticator.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Authenticator: avoid move assignments to self (#5315)Tiger Wang2021-10-031-8/+14
| | | If authentication was off cClientHandle::m_Username ended up moved into itself. Add a copy to avoid this. Thanks @Seadragon91!
* Authentication flow: move construction, slim down classes (#5312)Tiger Wang2021-10-021-13/+12
| | | - Remove extra members in ForgeHandshake
* Use more URL-Encoding when sending API requests.Alexander Harkness2021-08-231-2/+2
|
* Fix Windows XP to 7 compatibility (#5167)Tiger Wang2021-03-281-1/+1
| | | | | * Partially reverts 01a4e696b * Unify thread names - Remove use of GetThreadId API
* Some emplace_back replacements (#5149)12xx122021-03-071-1/+1
| | | * replace push_back with emplace_back when a new object was created in the function call
* Update submodules (#4727)peterbell102020-05-091-2/+2
| | | | | | | | | | | | | Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version.
* Using Super.Mattes D2020-04-161-3/+3
|
* Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell102018-08-291-1/+1
| | | | | | | Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
* cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258)peterbell102018-07-221-2/+1
| | | | | This allows threads to be restarted after stopping. Fixes #4257
* Update mbedtls to 2.5.1 (#3964)peterbell102017-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Renaming changes: * macro prefix "POLARSSL" -> "MBEDTLS" * functions now prefixed with "mbedtls_" * rename PolarSSL++ -> mbedTLS++ * rename polarssl submodule * Use mbedtls' AES-CFB8 implementation. * Add cSslConfig to wrap mbedtls_ssl_config * Update cTCPLink and cBlockingSslClientSocket to use cSslConfig * Use cSslConfig in cHTTPServer * Use cSslConfig for cMojangAPI::SecureRequest * CI Fixes * Set -fomit-frame-pointer on the right target
* Add cUUID class (#3871)peterbell102017-08-251-4/+9
|
* Bulk clearing of whitespaceLogicParrot2016-02-051-1/+1
|
* Namechange to CuberiteMattes D2015-09-251-2/+2
|
* Added Equifax root CA.Mattes D2015-05-211-0/+8
| | | | | | Fixes #2076. Closes #2081. Ref.: #2072.
* Initial implementation of IniFile overloadingtycho2015-05-161-6/+6
|
* Merged IniFile into main MCS sources.Mattes D2014-10-231-1/+1
|
* cMojangAPI: Added UUID-to-Name lookup.madmaxoft2014-08-031-2/+2
| | | | Also fixed the bindings, now all functions are static-like.
* MojangAPI: Implemented UUID shortening and dashing.madmaxoft2014-07-301-10/+1
|
* Added a cMojangAPI class for PlayerName -> UUID lookups, with cache.madmaxoft2014-07-301-211/+5
| | | | The cache is persisted into a SQLite DB file on server shutdown.
* cAuthenticator: Added GetUUIDsFromPlayerNames().madmaxoft2014-07-281-3/+96
|
* Authenticator.cpp: Killed a global destructor warningarchshift2014-07-191-53/+56
|
* Basic style fixes.madmaxoft2014-07-171-1/+1
|
* Function renameTiger Wang2014-07-161-2/+2
|
* Unified functionsTiger Wang2014-07-161-28/+23
| | | | Thanks @Howaner!
* Store properties as Json::ValueTiger Wang2014-07-161-5/+10
|
* Player properties are now retrievedTiger Wang2014-07-141-101/+180
|
* Implemented trapped chests & othersTiger Wang2014-07-071-2/+2
| | | | | | | + Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
* Hotfixed Chunked transfer encoding in Yggdrasil.madmaxoft2014-05-031-1/+1
| | | | By using HTTP/1.0, we're disabling the support for the Chunked encoding on the server. This is a hotfix for #979, a proper parser implementation is still needed.
* Removed the unused cBlockingTCPLink class.madmaxoft2014-04-301-1/+0
|
* Removed unneeded #includes.madmaxoft2014-04-291-6/+0
|
* Added the G1 root cert.madmaxoft2014-04-281-2/+29
| | | | Now the authenticator finally works.
* Rewritten cAuthenticator to use the new PolarSSL++ wrapper classes.madmaxoft2014-04-271-91/+45
|
* Authenticator uses some C++ SSL objects.madmaxoft2014-04-241-19/+40
|
* Merge remote-tracking branch 'origin/master' into fixesjfhumann2014-04-181-3/+4
| | | | | | | | Conflicts: src/Authenticator.cpp src/ClientHandle.cpp src/Entities/Minecart.cpp src/Protocol/Protocol17x.cpp
* Implemented the 1.7.6 protocol and authenticator.madmaxoft2014-04-141-80/+67
| | | | Server works both in online and offline modes with 1.7.9.
* Fixed mistakedaniel09162014-04-131-1/+1
|
* Fixed Error?daniel09162014-04-131-2/+2
|
* Code Updatedaniel09162014-04-131-4/+5
|
* Added Yggdrasil Authentication Systemdaniel09162014-04-131-0/+325
Code by Howaner. Fixes/Changes by me.