Raised This Month: $12 Target: $400
 3% 

Detouring OnValidateAuthTicketResponse, stopping/bypassing steamauth?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
foon
Member
Join Date: Dec 2018
Old 05-22-2020 , 17:29   Detouring OnValidateAuthTicketResponse, stopping/bypassing steamauth?
Reply With Quote #1

Ive been having SteamAuth issues (failure code 6 - meaning "Steam auth ticket has been canceled") for a while now. I've tried everything I can to fix this issue, even going to a base game install with no sourcemod, and it still happens to clients. I guess its just our server host. When it happens to a client, 99% of the time its on map change.

I went looking through the TF2 source (what im referring to is below in the spoiler) and came across:
Code:
void CSteam3Server::OnValidateAuthTicketResponse( ValidateAuthTicketResponse_t *pValidateAuthTicketResponse )
and
void CSteam3Server::OnValidateAuthTicketResponseHelper( CBaseClient *cl, EAuthSessionResponse eAuthSessionResponse )
Spoiler

Clients are always authed until the map change, then something happens and they lose it (losing connection to our server, or losing connection to steams).
I'm not sure if it is possible or not, but would there be a way to detour around OnValidateAuthTicketResponseHelper -> k_EAuthSessionResponseAuthTicketCanceled switch statement (or something to stop getting kicked for invalid auth ticket)? I know this could open up to people spoofing their ID's, but losing a bunch of people on map change isnt worth it (plus we assign admins based on IP, and ban via IP).

I'm willing to pay for a plugin if it comes to that.
foon is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-23-2020 , 14:01   Re: Detouring OnValidateAuthTicketResponse, stopping/bypassing steamauth?
Reply With Quote #2

I believe your interpretation of the problem is incorrect - the error you're seeing happens when the client crashes without leaving the server. Stopping their "ghost" being kicked from the server won't help, they'll just time out a little bit later anyway.
__________________
asherkin is offline
foon
Member
Join Date: Dec 2018
Old 05-23-2020 , 16:20   Re: Detouring OnValidateAuthTicketResponse, stopping/bypassing steamauth?
Reply With Quote #3

That's what I thought too at first. I talked to a bunch of people, and their game isn't physically crashing, they are just getting kicked to the main menu. Unless you can crash without physically crashing?

We were on Windows and moved to Linux last month, it wasn't happening on windows at all. So that was super weird, nothing changed plugin or config wise between.
foon is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode