Bug #1346

Invalid cookie transmitted

Added by molator about 7 years ago. Updated about 7 years ago.

Status:New Start date:08/19/2011
Priority:Low Due date:
Assignee:- % Done:

0%

Category:Services: General
Target version:-

Description

So far only 2 peoples are concerned by that issue.
It appeared on a chinese Windows XP and an Ubuntu 10.10, x86_64.

What we get in client.log:

2011/08/18 19:57:52 INF e68 ryzom_client_r.exe network_connection.cpp 1002 CNetworkConnection::sendSystemLogin : CNET[01F4BA18]: sent LOGIN cookie=<InvalidCookie>

What we get in frontend_service.log:

2011/08/18 22:01:46 INF 8ec 192.168.128.1/FS-135 fe_receive_sub.cpp 281 CFeReceiveSub::readIncomingData : FEHACK: * User 3735928559 :8148 (127.0.0.1) --> 17 msg, reasons: Bad cookie;

A workaround, adding the following line in frontend_service.cfg:

AcceptInvalidCookie = 1;

The topics related to that issue:

Is that related to the character encoding ?
I will test on a chinese OS to see if there's a correlation.

History

#1 Updated by sfb about 7 years ago

It could be related to character encoding since the cookie is essentially a string of latin characters passed via command line.

Just FYI using AcceptInvalidCookie is a pretty poor workaround - this basically renders the SU useless since you could craft any cookie string you want on the launch CLI and the EGS will accept it. In terms of nelns/Snowballs the cookie the LS negotiates via CLoginServer in the FS is irrelevant since you can skip the LS and connect to the FS directly with a random string. It is literally ignoring the cookie which is only relevant for that initial connection handshake.

#2 Updated by molator about 7 years ago

Ok i've tested on a chinese windows xp pro.
It worked on the first try.
I didn't have to edit the settings.

Also available in: Atom PDF