Link to home
Start Free TrialLog in
Avatar of henrythacker
henrythackerFlag for United Kingdom of Great Britain and Northern Ireland

asked on

More MSN mischief

I can connect to MSNs dispatch server easily, however, i cannot issue the INF command to the server, it just simply disconnects me. I can issue CVR messages and VER messages easily. However, it simply won't accept my INF request. I issue all the commands in the correct order, add carriage returns at the end (#13#10) and include the correct TrialID. However, this stumps me everytime! Please help! I've also tried connecting to messenger.hotmail.com:1863 using Telnet Client, i issue the commands like i do in my application, and the same thing happens! Why does it disconnect?

VER 0 MSNP8 CVR0
CVR 1 0x0409 win 4.10 i386 MSNMSGR 5.0.0544 MSMSGS henrythacker@hotmail.com

these messages go fine, but as soon as i try

INF 2

the whole thing disconnects....
Avatar of GloomyFriar
GloomyFriar

>Why does it disconnect?
It disconnect because you need to complete the authentication process firstly.
Avatar of henrythacker

ASKER

Apparently you can issue the INF command before you authenticate, and infact, you need to run the INF command first as that tells you what type of hash to use for generating passwords, IE MD5. So this command MUST come before the authentification, although its not essential apparently. Can you send me a list of commands which you issue to the messenger server which connects correctly, thanks, any help would be appreciate.
"INF (optional)
After the client and server agree on a protocol version, the client may send INF with a TrID and no parameters. This asks the server what form of authentication will be used.

The server will reply with an INF, the TrID, and the type of authentication system as the parameter. In protocol versions up to and including MSNP7, it is always MD5, so it's really pretty pointless. "

It looks like there is no such a command in ver8.
I'm right. rtfm ;-)

http://www.hypothetic.org/docs/msn/research/msnp8.php
"The INF command, which was optional in MSNP7, no longer exists in MSNP8. If you attempt to send it while logging in, you will be immediately disconnected."
ASKER CERTIFIED SOLUTION
Avatar of GloomyFriar
GloomyFriar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Im sorry! as you pointed out, i was looking at totally the wrong version of the protocol, everything should work great now! thank you.. sorry for my stupidity!