2024-10-11 15:40:21 -04:00
|
|
|
# Introduction
|
2024-10-10 15:38:51 -04:00
|
|
|
MSNP11 is the tenth released version of the Mobile Status Notification Protocol.
|
|
|
|
It was introduced officially in Client Version 7.0.0777.
|
|
|
|
|
2024-10-11 15:40:21 -04:00
|
|
|
# Command information
|
2024-10-10 15:38:51 -04:00
|
|
|
It introduces the notification service commands:
|
2024-10-22 16:40:16 -04:00
|
|
|
* [GCF](../commands/gcf.md)
|
2024-10-10 15:38:51 -04:00
|
|
|
* SBS
|
2024-10-28 08:20:47 -04:00
|
|
|
* [UBX](../commands/ubx.md)
|
|
|
|
* [UUX](../commands/uux.md)
|
2024-10-10 15:38:51 -04:00
|
|
|
|
|
|
|
*No switchboard or dispatch service commands were known to be introduced in this version*
|
|
|
|
|
|
|
|
*No error codes were known to be introduced in this version*
|
|
|
|
|
|
|
|
*No commands were known to be removed in this version*
|
|
|
|
|
2024-10-11 15:40:21 -04:00
|
|
|
# Known changes
|
|
|
|
(from [MSNP10](msnp10.md)):
|
2024-10-26 06:56:17 -04:00
|
|
|
* [QRY](../commands/qry.md): Challenge response generation has been drastically overhauled.
|
|
|
|
TODO: Write annotated source code explaning new algorithm.
|
2024-10-11 15:40:21 -04:00
|
|
|
* [OUT](../commands/out.md) RCT `TimeBeforeRetry` now exists.
|
|
|
|
`TimeBeforeRetry` is a numerical value in minutes that specifies the amount
|
|
|
|
of time in minutes the client should wait before reconnecting.
|
2024-10-26 06:56:17 -04:00
|
|
|
* All `ABCHMigrated` changes are now the default - `ABCHMigrated: 0` is Undefined Behaviour from now on.
|
2024-10-22 16:40:16 -04:00
|
|
|
* [ADC](../commands/adc.md): Now supports a telephone address (`tel:`) for `N=`.
|
|
|
|
* Official Client: Feature blocks are implemented using the [GCF](../commands/gcf.md) command
|
|
|
|
to download `Shields.xml`. For more information read the [Shields Configuration Data](../files/shields.md) article.
|
2024-10-10 15:38:51 -04:00
|
|
|
* Official Client: WebMessenger now canonically exists - Client Capability 512 is used for this.
|
2024-10-26 06:56:17 -04:00
|
|
|
* Official Client: Notifications ([NOT](../commands/not.md) commands) with encoded
|
|
|
|
[`<NotificationData>`](../files/notification.md) sub-documents are supported for spaces (blogs).
|
2024-10-10 15:38:51 -04:00
|
|
|
* Official Client: Messenger Config requests now support regional arguments via SOAP.
|
2024-10-11 15:40:21 -04:00
|
|
|
* Official Client: [OUT](../commands/out.md) SSD is actually implemented now.
|
2024-10-23 16:47:02 -04:00
|
|
|
* Official Client: Error code 913 is handled again after being removed last version. Why?
|
2024-10-10 15:38:51 -04:00
|
|
|
|
2024-10-11 15:40:21 -04:00
|
|
|
# Client-server communication example
|
2024-10-15 13:14:20 -04:00
|
|
|
*NOTE: This has been line-breaked.
|
|
|
|
Lines beginning with `..` followed by a space are continuations of the previous line.*
|
2024-10-10 15:38:51 -04:00
|
|
|
```
|
|
|
|
C: VER 1 MSNP10 MSNP9 CVR0
|
|
|
|
S: VER 1 MSNP10
|
|
|
|
C: CVR 2 0x0409 winnt 5.1 i386 MSNMSGR 6.0.0602 MSMSGS example@hotmail.com
|
2024-10-13 17:03:57 -04:00
|
|
|
S: CVR 2 6.1.0211 6.1.0211 6.1.0155
|
|
|
|
.. http://download.microsoft.com/download/8/3/C/83C4B2DB-AC1C-4B56-8144-4472C0982F21/SetupDl.exe
|
|
|
|
.. http://messenger.msn.com
|
2024-10-10 15:38:51 -04:00
|
|
|
C: USR 3 TWN I example@hotmail.com
|
|
|
|
S: XFR 3 NS 10.0.0.5:1863 0 10.0.0.1:1863
|
|
|
|
```
|
|
|
|
Client disconnects from server
|
|
|
|
|
|
|
|
Client opens a connection to 10.0.0.5:1863 (from stored server)
|
|
|
|
```
|
|
|
|
C: VER 4 MSNP10 MSNP9 CVR0
|
|
|
|
S: VER 4 MSNP10
|
|
|
|
C: CVR 5 0x0409 winnt 5.1 i386 MSNMSGR 6.0.0602 MSMSGS example@hotmail.com
|
2024-10-16 16:12:41 -04:00
|
|
|
S: CVR 5 6.1.0211 6.1.0211 6.1.0155
|
2024-10-13 17:03:57 -04:00
|
|
|
.. http://download.microsoft.com/download/8/3/C/83C4B2DB-AC1C-4B56-8144-4472C0982F21/SetupDl.exe
|
|
|
|
.. http://messenger.msn.com
|
2024-10-10 15:38:51 -04:00
|
|
|
C: USR 6 TWN I example@hotmail.com
|
|
|
|
S: USR 6 TWN S passport=parameters,neat=huh,lc=1033,id=507
|
2024-10-23 16:47:02 -04:00
|
|
|
```
|
|
|
|
*The HTTPS interlude is described in the [Passport 1.4](../services/passport14.md) article.*
|
|
|
|
```
|
2024-10-10 15:38:51 -04:00
|
|
|
C: USR 7 TWN S $(pp14response.headers.authenticationInfo["from-PP"])
|
|
|
|
S: USR 7 OK example@hotmail.com 1 0
|
|
|
|
S: SBS 0 null
|
|
|
|
S: MSG Hotmail Hotmail 465
|
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/x-msmsgsprofile; charset=UTF-8
|
|
|
|
LoginTime: 1726321960
|
|
|
|
EmailEnabled: 1
|
|
|
|
MemberIdHigh: 1
|
|
|
|
MemberIdLow: 2
|
|
|
|
lang_preference: 1033
|
|
|
|
PreferredEmail: example@hotmail.com
|
|
|
|
country: US
|
|
|
|
PostalCode:
|
|
|
|
Gender:
|
|
|
|
Kid: 0
|
|
|
|
Age:
|
|
|
|
BDayPre:
|
|
|
|
Birthday:
|
|
|
|
Wallet:
|
|
|
|
Flags: 1027
|
|
|
|
sid: 507
|
|
|
|
kv: 11
|
|
|
|
MSPAuth: whatever+t+is+in+your+passport+login+ticket+that+you+sent+for+USR+TWN+S$
|
|
|
|
ClientIP: 192.168.1.111
|
|
|
|
ClientPort: 18183
|
|
|
|
ABCHMigrated: 1
|
|
|
|
|
|
|
|
C: SYN 8 2024-09-28T17:18:18.6400000-07:00 2024-09-28T17:18:18.6400000-07:00
|
|
|
|
S: SYN 8 2024-09-28T17:18:18.6400000-07:00 2024-09-28T17:18:18.6400000-07:00
|
|
|
|
C: GCF 9 Shields.xml
|
|
|
|
S: GCF 9 Shields.xml 145
|
|
|
|
<?xml version= "1.0" encoding="utf-8" ?><config><shield><cli maj="7" min="0" minbld="0" maxbld="9999" deny="" /></shield><block></block></config>
|
|
|
|
C: CHG 10 NLN
|
|
|
|
S: CHG 10 NLN
|
2024-10-29 17:58:42 -04:00
|
|
|
C: UUX 11 53
|
2024-10-28 08:20:47 -04:00
|
|
|
<Data><PSM></PSM><CurrentMedia></CurrentMedia></Data>
|
2024-10-10 15:38:51 -04:00
|
|
|
S: UUX 11 0
|
|
|
|
S: ILN 10 NLN anotheruser@hotmail.com another%20user 1073791084
|
2024-10-29 17:58:42 -04:00
|
|
|
S: UBX anotheruser@hotmail.com 67
|
2024-10-28 08:20:47 -04:00
|
|
|
<Data><PSM>new feature :P</PSM><CurrentMedia></CurrentMedia></Data>
|
2024-10-22 16:40:16 -04:00
|
|
|
C: ADC 11 FL N=tel:15551111222 F=john
|
|
|
|
S: ADC 11 FL N=tel:15551111222 F=john C=a47e39cf-312c-4100-94a6-f2b33adf5b68
|
|
|
|
C: ADC 12 AL N=tel:15551111222
|
|
|
|
S: ADC 12 AL N=tel:15551111222
|
2024-10-26 06:56:17 -04:00
|
|
|
S: NOT 1249
|
|
|
|
<NOTIFICATION id="2" siteid="45705" siteurl="http://storage.msn.com/">
|
|
|
|
<TO pid="0x00000001:0x00000002" name="example@hotmail.com">
|
|
|
|
<VIA agent="messenger"/>
|
|
|
|
</TO>
|
|
|
|
<MSG id="0">
|
|
|
|
<ACTION url="a.htm" />
|
|
|
|
<SUBSCR url="s.htm" />
|
|
|
|
<BODY>
|
|
|
|
<NotificationData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
|
<SpaceHandle>
|
|
|
|
<ResourceID>example1!101</ResourceID>
|
|
|
|
</SpaceHandle>
|
|
|
|
<ComponentHandle>
|
|
|
|
<ResourceID>example2!101</ResourceID>
|
|
|
|
</ComponentHandle>
|
|
|
|
<OwnerCID>4294967298</OwnerCID>
|
|
|
|
<LastModifiedDate>2024-10-26T09:33:27.1020000-08:00</LastModifiedDate>
|
|
|
|
<HasNewItem>true<HasNewItem>
|
|
|
|
<ComponentSummary>
|
|
|
|
<Component xsi:type="MessageContainer">
|
|
|
|
<ResourceID>example2!102</ResourceID>
|
|
|
|
</Component>
|
|
|
|
<Items>
|
|
|
|
<Component xsi:type="Message">
|
|
|
|
<ResourceID>example2!101</ResourceID>
|
|
|
|
</Component>
|
|
|
|
</Items>
|
|
|
|
</ComponentSummary>
|
|
|
|
</NotificationData>
|
|
|
|
</BODY>
|
|
|
|
</MSG>
|
|
|
|
</NOTIFICATION>
|
2024-10-10 15:38:51 -04:00
|
|
|
C: OUT
|
|
|
|
```
|
|
|
|
Client disconnects from server
|
|
|
|
```
|
|
|
|
S: OUT
|
|
|
|
```
|
|
|
|
Server disconnects client
|