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.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.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?
-
Halbertz
- Posts: 674
- Joined: Fri Aug 28, 2015 11:03 pm
Re: peer not authenticated
-
DIhlosof
- Posts: 2
- Joined: Sun Jul 20, 2025 12:16 am
Re: peer not authenticated
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.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.
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: peer not authenticated
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.
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
-
Selles
- Posts: 35
- Joined: Tue Aug 09, 2016 11:20 am
Re: peer not authenticated
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!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.
-
Hammerss
- Posts: 17
- Joined: Sun Sep 05, 2010 7:07 pm
Re: peer not authenticated
Unfortunately, the fix did not help to access the game. The same errorloftar 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.

-
Qohen
- Posts: 6
- Joined: Thu Apr 01, 2021 11:31 am
Re: peer not authenticated
У многих не работает этот багфикс. Все равно приходится через впн заходить.
-
Spinnner
- Posts: 19
- Joined: Wed May 25, 2016 7:09 pm
Re: peer not authenticated
Problem is bound to internet provider. For me - mobile provider allow connection without any error. But static line reqire hunderds of attempts to log in. Open 10 game windows and try-try-try. Usually within 10 minutes success happens...
Unfortunately, all those attempts not loged at server side. And cant be evaluated therefore.
Unfortunately, all those attempts not loged at server side. And cant be evaluated therefore.
-
AlexWanderer
- Posts: 14
- Joined: Mon Nov 25, 2013 1:17 pm
Re: peer not authenticated
Thank you for the fix, Loftar!
-
RenatusCartesius
- Posts: 22
- Joined: Sun Mar 27, 2016 9:19 pm
-
Broccolo
- Posts: 72
- Joined: Fri Feb 17, 2023 3:53 pm
Re: peer not authenticated
it happen sometimes to me as well also last season. i really dont remember how it got fixed. by the way i dont use any vpn or anything so..i dont know if is of any help
