TribesNext

Welcome, Guest. Please login or register.
Did you miss your activation email?


TribesNext >  TribesNext.com Forums >  Support >  [Server] - Man in the middle attack « previous next »
Pages: [1] Print
Author Topic: [Server] - Man in the middle attack
Brandon
Nugget
Posts: 17

View Profile
January 05, 2009, 01:04:03 AM »
When a server is hosted on a secondary IP and a client tries to connect an error pops up that says.

'Potential man in the middle attack detected. Your client claims it connected to: xxx.xxx.xxx.xxx, but the server does not consider this reasonable.'

Any ideas what might cause this?

PS. Primary IP's work fine.
Krash
Administrator
Posts: 208

View Profile
1: January 05, 2009, 02:24:41 AM »
This is something I suspected would come up soon enough and is likely due to the way the IP verification determines its own address.  I'll try to make sure we address this in the next update, but for now a temporary fix that should work for servers using a different BindAddress is to use the following line to set the IP check variable manually:
$IPv4::InetAddress = $Host::BindAddress;

If you pop this into any file that loads before our scripts are run (maybe create a new .cs file to pop in autoexec if you run multiple configs) it should be fine assuming it's set to the IP the clients see. 
I'm asleep at the moment myself, but in the morning I can open the script on our end and check it out.


Edit: I've updated the installer with something that should fix this particular problem (as well as an uninstaller, but that's unrelated).  If you don't want to download the whole thing, you could just replace your existing T2csri.vl2 with this: http://www.tribesnext.com/krash/T2csri.vl2
« Last Edit: January 05, 2009, 12:37:16 PM by Krash »

Brandon
Nugget
Posts: 17

View Profile
2: January 05, 2009, 12:40:01 PM »
That did the trick.

Thanks!
DRDigital
Nugget
Posts: 1

View Profile
3: August 30, 2011, 07:20:51 AM »
That ruined my login.
Pages: [1] Print 
« previous next »
Jump to:  

irc.tribalwar.com / #TribesNext Powered by SMF 1.1.18 | SMF © 2005, Simple Machines
anything