Solved

More MSN mischief

Posted on 2003-11-02
6
316 Views
Last Modified: 2010-04-05
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....
0
Comment
Question by:henrythacker
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 6

Expert Comment

by:GloomyFriar
ID: 9671982
>Why does it disconnect?
It disconnect because you need to complete the authentication process firstly.
0
 
LVL 1

Author Comment

by:henrythacker
ID: 9672077
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.
0
 
LVL 6

Expert Comment

by:GloomyFriar
ID: 9672950
"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.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Expert Comment

by:GloomyFriar
ID: 9672961
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."
0
 
LVL 6

Accepted Solution

by:
GloomyFriar earned 125 total points
ID: 9672991
As I advised you earlier, look attentively at the following link:
http://www.hypothetic.org/docs/msn/research/msnp8-example.php
0
 
LVL 1

Author Comment

by:henrythacker
ID: 9673332
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!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi selector screen 2 97
How to renew a Delphi rad-studio licence? 5 92
Create a path if not exists 7 120
Performance of SQL statement 37 143
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question