aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/serverauthentication.cpp
AgeCommit message (Collapse)Author
2022-03-28More exploit fixes by KIttenPopo (#126)GeckoEidechse
* Quick fix for a bug I caused * Typo * Update kitten-fixes branch to my repo (#122) * Added string hash macro * Added convenient vtfunc macro * Made lil ConCommand creation macro * Fixed multiple NET_SetConVar exploits * Quick fixerino * Fix convar struct (and other things) * Revive clang-format (but good, i think) * Update .clang-format * Reformatted code to meet .clang-format requirements * Minor formatting fixes * Fixed Northstar "crashing" when console is closed * Update .clang-format * Quick fix for a bug I caused * Typo * NSMem Update * ExplotFixes: Only block excessive convar counts if server * Update ExploitFixes.cpp * Update ExploitFixes.cpp * Updated bytepatch format * reformatted all code for clang-format * Updated my clang-format to v13.0.0 * 3 fixes in 1 - ANTITAMPER fixed - NSMem simplification update - Fixed bad byte string in serverauthentication.cpp * Improved ExploitFixes logging and NET_SetConVar patch * clang-format unironically sabotaged my code * Made ns_exploitfixes_log on by default * Fixed IsMemoryReadable (oops) Co-authored-by: KittenPopo <Pokeberry123@gmail.com>
2022-03-23Implement KittenPopo exploit fixes (and sanity changes) (#112)KittenPopo
* Added main exploit fixes * Fixed typo in sigscanning.cpp * Fully implemented * Added proper includes for new files * Update README.md * typo * spare me my sanity (fixed ridiculous code) * Added rest of KittenMemUtils * Rename KittenMemUtils * Removed all messy memory edits, implemented NSMem instead * Update NorthstarDedicatedTest.vcxproj * [1] Move everything from securitypatches to ExploitFixes * [2] Move everything from securitypatches to ExploitFixes * Fixed module offsets in stack trace * Fixed UTF8 Parsing (Multiplayer Crash) * Implemented UT8 fix * Update NorthstarDedicatedTest.vcxproj * Update hookutils.cpp * Small fixes * all my homies hate clang-format * Temporarily restore README.md
2022-03-15move to using g_pCVar moreBobTheBob
2022-03-11Add check for player name correctness (#86)Barnaby
* Add player auth failure when username is faked * Fix the action error? * Split name check into different function allows unique error message * Oops * Fix allow_insecure and kick message * Put it back cause i'm bad at programmig * format * Fix duplicated if statement maybe? Will need testing * Fail open + change to authData.username * Change name instead of kicking * Format * Remove unecessary borked name check * fail open in VerifyPlayerName if missing authData * Fix convar stuff * limit name length when copying from master server * 63 < 64 * please bob for the love of god this is like the third time i've had to do this
2022-03-06don't kick local player for netchan limitsBobTheBob
2022-02-23ConVar class rebuild (#90)Kawe Mazidjatari
* Implement CCvar class with mapped out vtable funcs * Rebuilded ConVar class + code overhaul to use new system * ConVar class is now properly mapped out for r2 (0x80 in size). * Reimplemented and exposed all frequently used ConVar class methods to the SDK. * Implement frequently used CCvar class methods. * Implement all CCVarIteratorInternal class methods. * Performed additional cleanup over the SDK to use new system instead. * ConVar class improvements + rebuilded ConCommand struct * Fix actual struct size for ConCommand
2022-02-21Advanced chat: custom messages and client hooks (#74)Tom Barham
Co-authored-by: Emma Miler <27428383+emma-miler@users.noreply.github.com>
2022-02-15Format cherry-picked commitsBarichello
2022-02-12Fixed typo and made command line flag lowercaseEmma Miler
2022-02-12Added code for chathooksEmma Miler
This may not seem like much to a passing observer, but this commit took me 30 hours of blood, sweat, tears, IDA debugging, server crashes, and insanity.
2022-02-03Format projectNorthstar
2022-01-30Added command line option for custom northstar dirEmma Miler
Added command line option for custom northstar dir https://github.com/orgs/R2Northstar/projects/1#card-76312632
2022-01-30add FindConVar and FindConCommandBobTheBob
2022-01-28add ns_resetpersistence commandBobTheBob
2022-01-18make FCVAR_CLIENTCMD_CAN_EXECUTE checks not rely on concommand dispatch ↵BobTheBob
hooks that may be inconsistent across dlls
2022-01-15improve ConCommand__DispatchHook CLIENTCMD_CAN_EXECUTE logicBobTheBob
2022-01-13unbreak spBobTheBob
2022-01-10prevent FCVAR_GAMEDLL concommands without FCVAR_CLIENTCMD_CAN_EXECUTE from ↵BobTheBob
being called by non-local clients
2022-01-09restrict netchan limit checks to serverside calls onlyBobTheBob
2022-01-02Merge pull request #19 from p0358/mainBobTheBob
Big refactor of launching process
2022-01-02add chat ratelimits and system for hooking chat messagesBobTheBob
2022-01-02Merge upstreamp0358
2022-01-02add disconnects to ban systemBobTheBob
2022-01-02initial work for ban systemBobTheBob
2022-01-02don't enforce netchan limits during level transitions, change how limit mode ↵BobTheBob
workss
2021-12-31Merge branch 'main' of https://github.com/R2Northstar/NorthstarLauncherp0358
2021-12-30move to server auth token system for verifying gameserver auth messages, ↵BobTheBob
rather than ip
2021-12-30fix various random warningsp0358
2021-12-26add setplaylistvaroverride command for setting overrides on dedi from ↵BobTheBob
commandline
2021-12-24add logging to connectionless ratelimitsBobTheBob
2021-12-24add connectionless ratelimitBobTheBob
2021-12-21fix some timing issues on dediBobTheBob
2021-12-20fix CNetworkStringTableContainer::WriteBaselines crashBobTheBob
2021-12-19server authentication patch to allow for new url to workBobTheBob
2021-12-17change placeholder playerdata directoryBobTheBob
2021-12-14add netchan processing limitsBobTheBob
2021-12-02tier0 code cleanup and loadlibrary hook fixBobTheBob
2021-11-27more masterserver stuff and support for devonly/hidden cvarsBobTheBob
2021-10-19add reconnecting to local lobby with auth on leaveBobTheBob
2021-10-19add masterserver mod list support and fix some squirrel issuesBobTheBob
2021-10-11add server script early persistence writesBobTheBob
2021-10-01Revert "small modmanager refactors"BobTheBob
This reverts commit 1ff8e068e62d095775ef2ae54d3685d89238f28c.
2021-09-30small modmanager refactorsBobTheBob
2021-09-09fix singleplayer auth issuesBobTheBob
2021-09-09add IsValveMod patchesBobTheBob
2021-08-25deprecate clc_SetPlaylistVarOverrideBobTheBob
2021-08-18lots of launcher stuffBobTheBob
2021-08-14add authentication with local serverBobTheBob
2021-08-13add local http server for authBobTheBob
2021-08-09add mod localisation, say command and more masterserver stuffBobTheBob