文档介绍:MSN Protocol协议发送文件原理
调查报告
调查人:王丰
日期
版本
描述
备注
2007-01-17
初稿
新建
2003-01-19
增加P2P传输文件名解析原理
修改
目录
业务需求 5
版本信息 5
微软客户端支持种类 6
MSNFTP-官方客户端提供支持的第三方协议 6
MSNC1…X 6
MSN 6
一、 MSNFTP协议 6
使用MSNFTP发送文件过程: 6
发送邀请 6
授权登录 7
发送文件 8
结束发送 8
使用MSNFTP发送文件原理: 8
确认连接 9
二进制数据 9
协议-文本段 9
协议-二进制段 10
Example sessions 11
总结 11
二、 MSN 3,4, 5传输方式 12
概述 12
发送邀请 12
协议 12
命令字段 13
邀请示例 14
总结 15
三、 MSNC1..X 16
P2P消息头: 16
发送流程 16
示例和解释 17
1. Invitation Message:SC -> RC 17
2. BaseIdentifier message 18
3. 200 OK/Error Message: RC -> SC 18
4. 200 OK acknowledged message 19
5. Directed Connection Invitation Message: SC->RC 19
6. Direct connection invitation acknowledged message 19
7. Direct Connection 200 OK/Error Message: RC->SC 20
8. Direct connection: Handshake 20
9. Direct connection handshake message 21
10. Direct connection handshake reply message 21
11. File data message(s) 21
12. Data acknowledged message 22
13. Bye message 22
14. Bye acknowledged message 22
协商会话头key值变化表 23
总结 24
文件内容传输通过客户端协商的端口传输,因此需要对协商消息作实时分析,得到连接IP和端口,得到传输内容。 24
参考资料 25
业务需求
实现基于行为的记录,包括用户信息、双方MSN标识、开始时间、结束时间、持续时间、文件标题、文件大小、文件类型、发送站点等信息的记录;
实现文件内容恢复与展现(可选);
支持允许MSN使用,允许或禁止接受附件,禁止发送附件的方式;(可选)
版本信息
Microsoft MSN Messenger版本
协议版本
功能改进
Introduced with Windows Live Messenger
MSNP15
Roaming Objects
Location
Introduced with Windows Live Messenger
MSNP14
Plug-In State
Introduced with Windows Live Messenger
MSNP13
Introduced with Windows Live Messenger
MSNP12
Dynamic Backgrounds
Voice Clip
Introduced with MSN
MSNP11
Deluxe Display Pictures
Winks3
Map File
Introduced with MSN
MSNP10
Nothing new has been added in this version.
Introduced with MSN
MSNP9
Avatar
Custom
moticons
User Tile
Shared File
Backgrounds
Most of the changes in MSNP9 exist solely to support MSNC1
Msn Messenger version
MSNP8
…不再支持
MSNP7
不再支持
…不再支持
MSNP6
不再支持
…不再支持
MSNP