当前位置:文档之家› 飞鸽传书(IPMSG)协议(翻译稿)

飞鸽传书(IPMSG)协议(翻译稿)

Original ipmsg protocol specification is written in Japanese. 最初的飞鸽传书协议说明书是日文书写。 This document was translated by Mr.Kanazawa. 本文档是 Mr.Kanazawa.翻译完成。 This document is not verified yet. 本文档尚未被认证。 ----------------------------------------------------------------------
6) Extended file attribute for attachment file 附件文件的扩展文件属性
IPMSG_FILE_UID IPMSG_FILE_USERNAME IPMSG_FILE_GID IPMSG_FILE_GROUPNAME IPMSG_FILE_PERM IPMSG_FILE_MAJORNO IPMSG_FILE_MINORNO IPMSG_FILE_CTIME IPMSG_FILE_MTIME IPMSG_FILE_ATIME IPMSG_FILE_CREATETIME
----------------------------------------------------------------------
About IP Messenger 关于飞鸽传书
This is a Send/Receive message service using the TCP/UDP Port. 它是基于 TCP/IP 端口的收发信息服务。 Characteristics 特点 IP Messenger can be installed in any OS if TCP/IP is used on your machine. 飞鸽传书可以安装在任一使用 TCP/IP 协议的的操作系统上。 Dynamic member recognition can be done within your network or specified network. 在网络中完成了动态用户识别机制。 You can exchange messages between all IPMsg members. 所有飞鸽用户之间可以相互交换信息。 Function description 功能描述 Use TCP/UDP port(default:2425). See the following descriptions 使用 TCP/UDP 端口(默认端口:2425)。见下述描述 (Message Send/Receive: UDP, File Send/Receive: TCP) (信息 发送/接收:UDP, 文件发送/接收:TCP) 1. Command 命令 1) Command functions (Low 8 bits from command number 32 bits) 命令功能(32位命令字的低8位) IPMSG_NOOPERATION No Operation
IPMSG_ANSENTRY 命令回发到上线新用户。 The new member gets the current member data by a IPMSG_ANSENTRY command. All members can communicate as long as an IP packet exists. 新用户通过 IPMSG_ANSENTRY 命令得到当前在线用户信息。所有用户在 IP 存在时可以互相通信。 An IPMSG_BR_ABSENCE command broadcasts absence mode cancel or nickname change to all members. However, an IPMSG_ANSENTRY command does not send a message back, which is different from an IPMSG_BR_ENTRY command.
发送离线判定 IPMSG_GETPUBKEY RSA Public Key Acquisition
公钥获取 IPMSG_ANSPUBKEY RSA Public Key Response
公钥相应 2) Option flag (High 24 bits from command number 32 bits)
主机列表发送通知 IPMSG_GETLIST Host list sending request
主机列表发送请求 IPMSG_ANSLIST Host list sending
主机列表发送 IPMSG_SENDMSG Message transmission
消息传送 IPMSG_RECVMSG Message receiving check
新版本多播 IPMSG_AUTORETOPT Automatic response(Ping-pong protection)
自动回复 IPMSG_NOLOGOPT No log files
无日志文件 IPMSG_NOADDLISTOPT Notice to the members outside of BR_ENTRY
重发位(在获取 hostlist 时使用) 3) Extended code flag (hex format combination)
扩展编码位(十六进制格式组合) IPMSG_RSA_512 IPMSG_RSA_1024 IPMSG_RSA_2048 IPMSG_RC2_40 IPMSG_RC2_128 IPMSG_RC2_256 IPMSG_BLOWFISH_128 IPMSG_BLOWFISH_256 IPMSG_SIGN_MD5
选项位(32位命令字的高24位) IPMSG_ABSENCEOPT Absence mode(Member recognition command)
离开状态(用户识别命令) IPMSG_SERVEROPT Server(Reserved)
服务器(保留) IPMSG_DIALUPOPT Send individual member recognition command
4) Extended files for attachment (fileattr low 8 bits) 文件附件扩展(文件属性低8位)
IPMSG_FILE_REGULAR IPMSG_FILE_DIR IPMSG_FILE_RETPARENT IPMSG_FILE_SYMLINK IPMSG_FILE_CDEV IPMSG_FILE_BDEV IPMSG_FILE_FIFO IPMSG_FILE_RESFORK
不在线用户通知 IPMSG_FILEATTACHOPT File attachment
文件附件选项 IPMSG_ENCRYPTOPT Code
编码 IPMSG_NOPOPUPOPT (No longer valid)
(不可用) IPMSG_RETRYOPT Re-send flag(Use when acquiring HOSTLIST)
IP Messenger communication protocol (Draft-9) 1996/02/21 飞鸽传书传书协议(草案-9) 1996/02/21
Modified 2003/01/14 修订于2003/01/14
H.Shirouzu 白水 启章
shirouzu@h.email.ne.jp (作者邮箱)
消息打开确认通知(版本8中加入) IPMSG_GETFILEDATA File Transfer request by TCP
基于 TCP 的文件传送请求 IPMSG_RELEASEFILES Discard attachment file
丢弃(取消)附件文件的接收 IPMSG_GETDIRFILES Attachment hierarchical file request
锁 IPMSG_BROADCASTOPT Broadcast message
广播信息 IPMSG_MULTICASTOPT Multi-cast(Multiple casts selection)
多播 IPMSG_NEWMUTIOPT New version multi-cast(reserved)
接收消息确认 IPMSG_READMSG Message open notice
消息打开通知 IPMSG_DELMSG Message discarded notice
消息丢弃通知 IPMSG_ANSREADMSG Message open confirmation notice(added from version-8 )
mand process overview 数据包过程总览 1) Member recognition 用户识别 An IPMSG_BR_ENTRY command notifies a new entry to the current members at start-up. 飞鸽启动时 IPMSG_BR_ENTRY 命令向当前所有用户发送上线通知。 All members add the new member to their list after getting a notification message. 所有用户当受到通知信息时把用户加入列表。 An IPMSG_ANSENTRY command sends a message back to the new member.
IPMSG_FILE_CREATOR IPMSG_FILE_FILETYPE IPMSG_FILE_FINDERINFO
IPMSG_FILE_ACL IPMSG_FILE_ALIASFNAME IPMSG_FILE_UNICODEFNAME
mand format(Use all character strings) 数据包格式(使用字符串形式)
相关主题