地址解析协议的交互方法技术

技术编号:4176679 阅读:231 留言:0更新日期:2012-04-11 18:40
本发明专利技术提供了一种地址解析协议的交互方法,该方法包括以下步骤:步骤一,生成设备的公钥和私钥,并使设备下的所有客户端获得设备的公钥;步骤二,在设备收到来自客户端的地址解析协议请求消息时,设备使用签名算法对将发送的地址解析协议包进行私钥签名,并将所生成的签名和将发送的地址解析协议包作为地址解析协议应答消息发送给客户端;以及步骤三,在客户端收到来自设备的地址解析协议应答消息后,根据应答消息的状态决定是否刷新客户端中的地址解析协议缓存。因此,采用本发明专利技术的方法,在兼容现有设备的情况下对支持认证ARP的设备可以充分防止ARP欺骗。

Interactive method for address resolution protocol

The present invention provides an interactive method for address resolution protocol, the method comprises the following steps: step one, generating equipment of public key and private key, and all client devices under the public key equipment; step two, the device received ARP requests from the client message, using the signature algorithm to address the equipment the analytical protocol for sending packets and the generated private key signature, signature and ARP packets as ARP response messages to the client; and step three, the client received ARP reply message from the equipment after the state decided whether to refresh the response message in the client address resolution protocol according to the cache. Therefore, by adopting the method of the present invention, ARP spoofing can be fully prevented for devices supporting authentication of ARP when compatible with an existing device.

【技术实现步骤摘要】

【技术保护点】
一种地址解析协议的交互方法,其特征在于,所述方法包括以下步骤: 步骤一,生成设备的公钥和私钥,并使所述设备下的所有客户端获得所述设备的公钥; 步骤二,在所述设备收到来自客户端的地址解析协议请求消息时,所述设备使用签名算法对将发送 的地址解析协议包进行私钥签名,并将所生成的签名和所述将发送的地址解析协议包作为所述地址解析协议应答消息发送给所述客户端;以及 步骤三,在所述客户端收到来自所述设备的地址解析协议应答消息后,根据所述应答消息的状态决定是否刷新所述客户端中 的地址解析协议缓存。

【技术特征摘要】

【专利技术属性】
技术研发人员:许涛
申请(专利权)人:山石网科通信技术北京有限公司
类型:发明
国别省市:11[中国|北京]

网友询问留言 已有0条评论
  • 还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。

1