Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Live Messenger > MSNP12: disconnecting after UUX or QRY

Reply
Thread Tools Display Modes

MSNP12: disconnecting after UUX or QRY

 
 
mynetx
Guest
Posts: n/a

 
      10-30-2008
While working on an implementation of MSNP12 for PHP, I found that the
Notification Server is disconnecting me (signing me out) as soon as I
send a UUX command with the PSM and MachineGuid. It does not sign me out
if I do not try to set my PSM etc, by omitting the UUX.

>>> = Send, <<< = Receive


[ Tweener Authentication etc, then: ]
>>> SYN 7 2008-10-28T19:51:36.0000000+01:00

2008-10-28T19:51:36.0000000+01:00
<<< SYN 7 2008-10-29T11:19:50.61-07:00 2008-10-26T04:41:38.46-07:00 5 2
<<< GTC A
<<< BLP AL
<<< PRP MFN My%20Name
<<< PRP MBE N
<<< PRP WWE 0
<<< LSG Favorites dc12d58c-dee9-44d3-****-0d93e****d50
<<< LST N= F=mynetx
C=8418cb1c-e95c-4810-****-49909****213 11 1
3d4ad801-712a-4a0a-****-ed203****655
>>> CHG 8 BSY 1073741856

<<< CHG 8 BSY 1073741856
<<< MSG Hotmail Hotmail 289\r\n
MIME-Version: 1.0\r\nContent-Type: text/x-msmsgsinitialmdatanoti...
<<< ILN 8 NLN mynetx 2520567852 %3Cmsnobj%20C...
<<< UBX 620\r\n
<Data><PSM>Minor WLMStatus update</PSM><CurrentMedia></CurrentMe...
>>> UUX 9 88\r\n

<Data><PSM>Last test: 30 Oct 2008 21 23 57</PSM><CurrentMedia>
</CurrentMedia><MachineGuid>11EBCC45-6F60-4BBB-****-FCC61****CF7
</MachineGuid></Data>
<<< UUX 9 0
[ Server closes connection ]


I also get disconnected after having received a confirm command of a
successfully completed QRY challenge:


[ Normal protocol connection, including switchboard invites, etc.,
everything just working fine... until now: ]

<<< CHL 0 21078281041487922537
>>> QRY 15 PROD0114ES4Z%Q5W 32\r\n

24ae42ad2504abd89f67997146c293c7
<<< QRY 15
[ Server closes connection ]


Note:
I do calculate the hash correctly, as I am *not* receiving
a 540 error, but a successful "QRY" reply before the notification server
disconnects.

Any ideas why the server is disconnecting me in these 2 cases?
Thanks for your research,
mynetx
 
Reply With Quote
 
 
 
 
mynetx
Guest
Posts: n/a

 
      10-30-2008
Solved.
Jonathan Kay pointed me to a thread at Fanatic stating that problems
will arise when I add an additional \r\n to a payload command, like UUX
and QRY are.

Thanks mate!
mynetx


mynetx wrote:
> While working on an implementation of MSNP12 for PHP, I found that the
> Notification Server is disconnecting me (signing me out) as soon as I
> send a UUX command with the PSM and MachineGuid. It does not sign me out
> if I do not try to set my PSM etc, by omitting the UUX.
>
> >>> = Send, <<< = Receive

>
> [ Tweener Authentication etc, then: ]
> >>> SYN 7 2008-10-28T19:51:36.0000000+01:00

> 2008-10-28T19:51:36.0000000+01:00
> <<< SYN 7 2008-10-29T11:19:50.61-07:00 2008-10-26T04:41:38.46-07:00 5 2
> <<< GTC A
> <<< BLP AL
> <<< PRP MFN My%20Name
> <<< PRP MBE N
> <<< PRP WWE 0
> <<< LSG Favorites dc12d58c-dee9-44d3-****-0d93e****d50
> <<< LST N= F=mynetx
> C=8418cb1c-e95c-4810-****-49909****213 11 1
> 3d4ad801-712a-4a0a-****-ed203****655
> >>> CHG 8 BSY 1073741856

> <<< CHG 8 BSY 1073741856
> <<< MSG Hotmail Hotmail 289\r\n
> MIME-Version: 1.0\r\nContent-Type: text/x-msmsgsinitialmdatanoti...
> <<< ILN 8 NLN mynetx 2520567852 %3Cmsnobj%20C...
> <<< UBX 620\r\n
> <Data><PSM>Minor WLMStatus update</PSM><CurrentMedia></CurrentMe...
> >>> UUX 9 88\r\n

> <Data><PSM>Last test: 30 Oct 2008 21 23 57</PSM><CurrentMedia>
> </CurrentMedia><MachineGuid>11EBCC45-6F60-4BBB-****-FCC61****CF7
> </MachineGuid></Data>
> <<< UUX 9 0
> [ Server closes connection ]
>
>
> I also get disconnected after having received a confirm command of a
> successfully completed QRY challenge:
>
>
> [ Normal protocol connection, including switchboard invites, etc.,
> everything just working fine... until now: ]
>
> <<< CHL 0 21078281041487922537
> >>> QRY 15 PROD0114ES4Z%Q5W 32\r\n

> 24ae42ad2504abd89f67997146c293c7
> <<< QRY 15
> [ Server closes connection ]
>
>
> Note:
> I do calculate the hash correctly, as I am *not* receiving
> a 540 error, but a successful "QRY" reply before the notification server
> disconnects.
>
> Any ideas why the server is disconnecting me in these 2 cases?
> Thanks for your research,
> mynetx

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
disconnecting Nicknames Windows Vista General Discussion 1 01-12-2009 07:19 AM
MSN keeps disconnecting mattman Windows MSN Messenger 1 05-26-2005 02:58 PM
MSN 7.0 keeps disconnecting me! Megan Windows MSN Messenger 4 04-21-2005 10:31 PM
msn keeps disconnecting Ray Windows MSN Messenger 1 04-15-2005 10:05 PM
MSN 6.2 disconnecting crackpott Windows MSN Messenger 3 10-02-2004 11:58 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59