peer not authenticated

The worst monsters in the Hearthlands warp the fabric of space and time...

Re: peer not authenticated

Postby Halbertz » Sun Jul 20, 2025 4:46 pm

loftar wrote:
DIhlosof wrote:The game seemingly works fine after I added HnH's IPs (46.4.95.116/32 and 91.122.56.135/32) to my version of zapret (the dpi bypass). Specifically 46.4.95.116/32 is important, as the game only works if I add it, regardless of the second IP, so I guess it's being blocked?

I'm sorry, I don't quite understand what you are talking about. Is "zapret" something that didn't make it through translation, or is it a term I should be aware of? What is it that you did to make it work, more specifically? Where did you get 91.122.56.135 from? I don't think that's any of our IP addresses.

Zapret is the software that people in russia use to avoid dpi (deep packet inspection). It's morphing network packages to bypass restrictions to services our goverment (sometimes off record) putting on western recourses.
User avatar
Halbertz
 
Posts: 435
Joined: Fri Aug 28, 2015 11:03 pm

Re: peer not authenticated

Postby DIhlosof » Mon Jul 21, 2025 4:31 pm

loftar wrote:I'm sorry, I don't quite understand what you are talking about. Is "zapret" something that didn't make it through translation, or is it a term I should be aware of? What is it that you did to make it work, more specifically? Where did you get 91.122.56.135 from? I don't think that's any of our IP addresses.

As the guy above explained, zapret is Russia-exclusive so it's not something you're expected to know, but it is what most people here use to bypass DPI, as it's quicker than a vpn since it uses WinDivert for its functions (https://github dot com/Flowseal/zapret-discord-youtube (there are other versions but this is the simplest)). It bypasses our government's blocking measures specifically, and any IP/website address can be added to the bypass list by the user. As for the IPs, I got them from some guy that wrote his solution here before me, assumed he knew both of those were HnH's.
DIhlosof
 
Posts: 2
Joined: Sun Jul 20, 2025 12:16 am

Re: peer not authenticated

Postby loftar » Sat Jul 26, 2025 4:08 pm

I think I've fixed this now, by inserting a simple XOR-based obfuscation layer into the authentication protocol, just to obfuscate the TLS packet signatures. From what I can tell, it seems to work, but I've had to abuse the TLS layers a fair bit on both the client and server side to insert this obfuscation between them and the raw transport, so I'd appreciate if people could test it and see so that I haven't broken anything else in the process.

The client needs to support this obfuscation layer, of course. The default client does so now (both on the website and on Steam), but custom clients of course need to merge the obfuscation code in order to work with it. I've pushed the c0d3z to the public repos for any custom client author that wants to merge them.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9056
Joined: Fri Apr 03, 2009 7:05 am

Re: peer not authenticated

Postby Selles » Sun Jul 27, 2025 11:11 am

loftar wrote:I think I've fixed this now, by inserting a simple XOR-based obfuscation layer into the authentication protocol, just to obfuscate the TLS packet signatures. From what I can tell, it seems to work, but I've had to abuse the TLS layers a fair bit on both the client and server side to insert this obfuscation between them and the raw transport, so I'd appreciate if people could test it and see so that I haven't broken anything else in the process.

The client needs to support this obfuscation layer, of course. The default client does so now (both on the website and on Steam), but custom clients of course need to merge the obfuscation code in order to work with it. I've pushed the c0d3z to the public repos for any custom client author that wants to merge them.


Now default client works. Authenticating takes about 20 seconds, and the character with the Cyrillic name is now nameless for me (Although this does not prevent you from logging into the network as a character with an empty name), but otherwise it works the same as before for me. Thank you very very much!
User avatar
Selles
 
Posts: 20
Joined: Tue Aug 09, 2016 11:20 am

Previous

Return to Bugs

Who is online

Users browsing this forum: Barkrowler [Bot], Claude [Bot] and 13 guests