WO2009124444A1 - Method and apparatus for processing the arp request message - Google Patents

Method and apparatus for processing the arp request message Download PDF

Info

Publication number
WO2009124444A1
WO2009124444A1 PCT/CN2008/073789 CN2008073789W WO2009124444A1 WO 2009124444 A1 WO2009124444 A1 WO 2009124444A1 CN 2008073789 W CN2008073789 W CN 2008073789W WO 2009124444 A1 WO2009124444 A1 WO 2009124444A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
resolution protocol
address resolution
packet
response packet
Prior art date
Application number
PCT/CN2008/073789
Other languages
French (fr)
Chinese (zh)
Inventor
蔡红红
刘鹏午
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2009124444A1 publication Critical patent/WO2009124444A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to an address resolution protocol request message processing method and apparatus.
  • MAC Medium Access Control
  • Layer Service Specific Convergence Sublayer, Common Part Sublayer, and Security Sublayer.
  • the aggregation sub-layer is mainly responsible for converting and mapping the external data received by the service access point (SAP) into a MAC service data unit (SDU) and transmitting it to the MAC layer.
  • SAP that is, maps connection-oriented public part services (MAC services) to standard types of services.
  • MAC 10 also defines the Asynchronous Transfer Mode (Asynchronous Transfer Mode,
  • ATM Circuit Switch
  • Packet CS Packet CS
  • CS Circuit Switch
  • Packet CS Packet CS
  • Ethernet 80
  • VLAN virtual office or network
  • IP IPv4, IPv6
  • FIG. 1 is a schematic diagram of a packet format of an IP format data packet in the related art. As shown in Figure 1, the packet format of an IP format packet is divided into two parts: a 20-byte header portion and a data portion. On the air interface, only the IP packet is sent to the Base Station (BS) for Worldwide Interoperability for Microwave Access (WiMAX), but for example, Internet Work Packet Exchange (Internet Work Packet Exchange, Referred to as IPX. Other protocol packets such as Sequences Pocket Exchange (SPX) will be discarded.
  • WiMAX user equipment uses an operating system with a network protocol stack for network related processing.
  • the WiMAX user equipment registers with the operating system and registers as a network port and passes the network protocol of the operating system.
  • the stack is used to implement the sending and receiving of data packets.
  • 2 is a schematic diagram of a network protocol stack and an 802.16 system in an operating system in the related art. As shown in FIG. 2, in the current operating system (for example, linux, windows), the 802.16 network subsystem is considered to be an ordinary 802.3 ether. Network device, and communicates with this 802.16 subsystem in the form of 802.3 interface.
  • FIG. 3 is a schematic diagram of a transceiver packet format of an 802.3 Ethernet interface in the related art. In actual operation, the network protocol stack of the operating system encapsulates the data packet into an Ethernet packet as shown in FIG.
  • the data part of the Ethernet packet includes an address resolution protocol (ARP) request type (0806) in addition to the IP datagram type (0800), where ARP It can be used to dynamically convert IP addresses to MAC addresses.
  • ARP can be used to obtain the MAC address of a specific IP address.
  • the ARP packet format is shown in Figure 4. By sending a broadcast message with this packet format to the network, the destination can be obtained. The MAC address corresponding to the IP address.
  • the MAC layer is connection-oriented. Each connection is uniquely identified by an identifier (Connect ID, CID for short). In the process of data transmission, MAC address and ARP protocol are not used.
  • IPv4 CS in the 802.16 system does not process the ARP packet.
  • the request for ARP is not processed or discarded, the ARP request sent from the operating system network protocol stack cannot be responded, resulting in failure of the sending process, which may result in communication interruption and WiMAX users.
  • the device cannot perform normal voice or data communication. That is to say, there is a problem that the IPv4 CS sublayer cannot correctly process ARP requests, which may result in failure to make normal telephone calls or access to the Internet.
  • no technical solution capable of solving this problem has been proposed so far.
  • the present invention has been made in view of the related art in view of the inability of the IPv4 CS sublayer to correctly process ARP requests, which may result in failure to perform normal telephone calls or Internet operations, and the main object of the present invention is to provide an improvement. Address Resolution Protocol Request Message Handling Scheme. To solve the above problems in the related art.
  • an address resolution protocol request message processing method is provided for processing an address resolution protocol request message when an 802.16 system adopts IPv4.
  • the address resolution protocol response packet is constructed according to the information in the address resolution protocol request packet, and the address resolution protocol is The source physical address of the response packet is set to a predetermined value; the constructed address resolution protocol response packet is sent to the sender.
  • the address resolution protocol response packet is constructed according to at least one of the following information in the address resolution protocol request packet: source address, source address type, user equipment address, hardware type, protocol type, ten-party address, source Ten office addresses.
  • the user equipment address may be modified, and the modified user equipment address is used as the source physical address of the address resolution protocol response packet.
  • the user equipment address may be tampered by setting the user equipment address to 1.
  • an address resolution protocol request message processing apparatus for processing an address resolution protocol request message when an 802.16 system adopts IPv4.
  • the address resolution protocol request message processing apparatus comprises: a receiving module, configured to receive an address resolution protocol request packet from a sender; and a constructing module, configured to construct an address resolution protocol response according to information in the address resolution protocol request packet a packet, and setting a source physical address of the address resolution protocol response packet to a predetermined value; and a sending module, configured to send the constructed address resolution protocol response packet to the sender.
  • the constructing module constructs the address resolution protocol response packet according to at least one of the following information in the address resolution protocol request packet: source address, source address type, user equipment address, hardware type, ten-dosing type, 1 ⁇ 4, Address, source, and address.
  • the constructing module may tamper with the user equipment address, and use the modified user equipment address as the source physical address of the address resolution protocol response packet.
  • the manner in which the constructing module modifies the address of the user equipment may be to add the address of the user equipment
  • the predetermined value satisfies the following conditions: and other media access control addresses in the system are not There is a conflict.
  • the related art may solve the problem that the IPv4 CS sublayer cannot correctly process the ARP request, which may result in failure to perform normal telephone call or online operation. Ensure the stability of the IP CS network and the normal transmission of data.
  • FIG. 1 is a schematic diagram of a message format of an IP format data packet according to the related art
  • FIG. 2 is a schematic diagram of interaction between a network protocol stack and an 802.16 system in an operating system according to the related art
  • FIG. 4 is a schematic diagram of an ARP packet format according to the related art
  • FIG. 5 is a flowchart of a method for processing an address resolution protocol request message according to an embodiment of the method of the present invention
  • FIG. 7 is a signaling flowchart of a WiMAX mobile station powering on a network according to an embodiment of the method of the present invention
  • Figure 8 is a block diagram of an address resolution protocol request message processing apparatus in accordance with an embodiment of the apparatus of the present invention.
  • An address resolution protocol request message processing scheme is used to process an address resolution protocol request message when the 802.16 system adopts IPv4.
  • the information in the address resolution protocol request packet constructs an address resolution protocol response packet, and sets the source physical address of the address resolution protocol response packet to a predetermined value; and sends the constructed address resolution protocol response packet to the sender.
  • an address resolution protocol request message processing method for processing an address resolution protocol request message when an 802.16 system adopts IPv4.
  • FIG. 5 is a flowchart of a method for processing an address resolution protocol request message according to an embodiment of the present invention. As shown in FIG.
  • the address resolution protocol request message processing method includes the following processing (step S502 - step S504): Step S502, after receiving the address resolution protocol request packet from the sender, the receiver And constructing an address resolution protocol response packet according to the information in the address resolution protocol request packet, and setting a source physical address of the address resolution protocol response packet to a predetermined value; for example, modifying the user equipment address, and modifying the user The device address is used as the source physical address of the address resolution protocol response packet.
  • the following information in the packet may be requested according to the address resolution protocol.
  • At least one of the address resolution protocol response packets is constructed: source address, source address type, user device address, hardware type, protocol type, protocol type, protocol address, source address, and negotiation address.
  • Step S504 the constructed address resolution protocol response packet is sent to the sender.
  • a so-called ARP spoofing mechanism can be adopted to ensure that the sender receives the correct response.
  • the IPv4 CS sublayer of 802.16 first needs to monitor the received packet format, and if it finds that the packet to be sent is an ARP request packet, intercepts it, and fills in an arbitrary After the MAC address (such as the WiMAX user equipment MAC address +1), it returns directly to the sender network protocol stack as an ARP reply, and does not continue to send to the next step of the 802.16 system.
  • an Ethernet header needs to be set, which includes: a destination address, a source address, and a type, wherein the destination address and type can be from the ARP.
  • the source address is filled with the address of the WiMAX user device.
  • the ARP field can be filled according to the format shown in FIG. 4, wherein the parameters can be obtained from the ARP request packet, and the obtained parameters include: hardware type, protocol type, destination physical address, address, negotiation address, and source end.
  • the user equipment address may be incremented by one (ie, WiMAX user equipment MAC address +1).
  • WiMAX user equipment MAC address +1
  • adding 1 to an address is only an example, and may be modified in other ways in practical applications, for example, adding other values to the user equipment MAC address, and subtracting a certain value.
  • Step 601 - 603 The IPv4 CS sublayer of the 802.16 system detects the received data packet, and determines whether it is an ARP request packet.
  • the IPv4 CS sublayer of the 802.16 system is According to the type field definition shown in Figure 3, after obtaining the relevant parameters in the data packet, it can be judged according to the obtained parameters that the data packet is an ARP request packet; if the IPv4 circuit domain (CS) sublayer detects the sent data The packet is not an ARP request packet, and the packet performs the next normal 802.16 processing on the IP packet data (step 610). If the IPv4 circuit domain (CS) sublayer detects that the sent packet is an ARP request packet, the step is performed.
  • Steps 604-608 if the IPv4 CS sublayer detects that the type of the data packet is an ARP packet, constructs an ARP response packet according to the received packet (data packet), wherein the destination physical address can be arbitrarily selected (corresponding to the figure) Step S502) in 5, after receiving the Ethernet header, the receiving function of the operating system protocol stack is used to send it back to the network protocol stack through the 802.3 interface (corresponding to step S504 in FIG. 5).
  • the process of finding a network by powering on the WiMAX mobile station MS is taken as an example, and the above technical solution is described in detail. It should be noted that FIG. 7 is only a schematic diagram of the MS accessing the network, and does not represent the complete access process of the MS.
  • the method includes the following steps: Steps 710-730, the MS is powered on, after the MS is powered on, the BS scans for the MS and finds a possible downlink channel, and performs physical layer synchronization with the MS to perform physical layer synchronization.
  • the MS and the BS also need to perform MAC layer synchronization (the BS sends a downlink mapping message, a downlink channel description message, an uplink mapping message, and an uplink channel description message to the MS to complete the MAC layer synchronization), after completing the MAC layer synchronization.
  • the MS sends an initial 3 macro request to the BS, and performs an initial measurement of 3 giants.
  • the MS sends a capability negotiation request to the BS, performs capability negotiation with the BS, and sends a capability to the BS after performing the capability negotiation. Requests such as rights and key exchanges are completed, and corresponding processing is completed.
  • the MS sends a registration request to the BS to complete network access of the MS.
  • Step 740 After the MS accesses the network, the MS sends a DHCP request to the Dynamic Host Configuration Protocol (DHCP) server on the BS side to request an IP address.
  • DHCP Dynamic Host Configuration Protocol
  • the 802.16 system is a connection-oriented system.
  • the correct connection is not dependent on the MAC address. Instead, it establishes a relationship with the connection through the CID, and obtains the destination address and quality of service (QoS) from the CID.
  • QoS quality of service
  • the above application example is only a specific application of ARP bullying.
  • ARP spoofing is also required to ensure normal communication. .
  • For 802.16 systems it should also be noted that such ARP spoofing does not affect the normal transmission of IP packets.
  • FIG. 8 is a block diagram of an address resolution protocol request message processing apparatus according to the present embodiment. As shown in Figure 8, according to this issue The address resolution protocol request message processing apparatus of the embodiment includes: a receiving module 802, a constructing module 804, and a sending module 806.
  • the receiving module 802 is configured to receive an address resolution protocol request packet from the sender; the constructing module 804 is connected to the receiving module 802, configured to construct an address resolution protocol response packet according to the information in the address resolution protocol request packet, and The source physical address of the address resolution protocol response packet is set to a predetermined value; for example, the constructing module 804 can modify the user equipment address and use the modified user equipment address as the source physical address of the address resolution protocol response packet. Moreover, the constructing module 804 can also construct an address resolution protocol response packet according to at least one of the following information in the address resolution protocol request packet: source address, source address type, user equipment address, hardware type, protocol type, protocol Address, source protocol address.
  • the sending module 800 is coupled to the constructing module 804 for transmitting the address resolution protocol response packet constructed by the constructing module 804 to the sender. If the processing module 804 modifies the user equipment address in consideration of factors such as processing speed and the like, the user equipment address can be incremented by one (ie, WiMAX user equipment MAC address +1). Those skilled in the art should understand that the address will be force. 1 is only an example, and may be tampered with in other ways in practice. For example, the construction module 804 adds other values to the user equipment MAC address, minus a value. However, when modifying in other manners, attention should be paid to the value of the source physical address.
  • the construction module 804 should select an appropriate value (the above predetermined value), and ensure that the modified user equipment MAC address is within the system. Other media access control addresses do not conflict.
  • the technical solution of the present invention solves the problem that the IPv4 CS sublayer cannot correctly process the ARP request due to the processing of the address resolution protocol request packet, which may result in failure to perform normal telephone call or online operation.
  • the problem is that the stability of the IP CS network and the normal transmission of data can be guaranteed; preferably, the invention can be applied to various forms of user equipment under the WiMAX network and with various operating systems (for example, the Linux operating system, Windows operating system) or on a device without an operating system, has good versatility.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method for processing the Address Resolution Protocol (ARP) request message is provided by the present invention, which includes: after receiving the ARP request packet from the sender, constructing the ARP response packet according to the information in the ARP request packet, and setting the source physical address of the ARP response packet as a predetermined value (S502); sending the constructed ARP response packet to the sender (S504). Additionally, an apparatus for processing the ARP request message is also provided by the present invention. According to the scheme of the present invention, the stability of the IP CS network and the normal transmission of the data can be ensured, and having better universality.

Description

地址解析协议请求消息处理方法及装置 技术领域 本发明涉及无线通讯领域, 并且特别地, 涉及一种地址解析协议请求消 息处理方法及装置。 背景技术 目前, 电气和电子工程师学会 ( Institute for Electrical and Electronic Engineers , 简称为 IEEE ) 802.16的介质访问控制子层协议 ( Medium Access Control, 简称为 MAC ) 规范采用分层结构, 该协议分为三个子层: 服务特 定汇聚子层 ( Service Specific Convergence Sublayer )、公共邵分子层 ( Common Part Sublayer ) 、 以及安全子层 ( Security Sublayer ) 。 其中, 汇聚子层主要 负责将其业务接入点 (Service Access Point, 简称为 SAP ) 收到的外部数据 转换和映射到 MAC业务数据单元( Service Data Unit, 简称为 SDU ) , 并传 递到 MAC层 SAP, 即, 将面向连接的公共部分服务( MAC服务)映射成标 准类型的 务。 此夕卜, MAC十办议还定义了异步传输模式( Asynchronous Transfer Mode , TECHNICAL FIELD The present invention relates to the field of wireless communications, and in particular, to an address resolution protocol request message processing method and apparatus. BACKGROUND OF THE INVENTION Currently, the Institute for Electrical and Electronic Engineers (IEEE) 802.16 Medium Access Control (MAC) specification adopts a hierarchical structure, which is divided into three sub-structures. Layer: Service Specific Convergence Sublayer, Common Part Sublayer, and Security Sublayer. The aggregation sub-layer is mainly responsible for converting and mapping the external data received by the service access point (SAP) into a MAC service data unit (SDU) and transmitting it to the MAC layer. SAP, that is, maps connection-oriented public part services (MAC services) to standard types of services. In addition, MAC 10 also defines the Asynchronous Transfer Mode (Asynchronous Transfer Mode,
ATM )电路交换域( Circuit Switch, 简称为 CS )和分组电路域交换域( Pocket CS ) 两种 CS类型, 其中 Pocket CS提供了对以太网 (Ethernet ) 802.3、 虚拟 局或网 (VLAN ) 802.1Q, 以及 IP ( IPv4, IPv6 ) 等分组业务的映射。 ATM) Circuit Switch (CS) and Packet CS (Pocket CS) are two CS types, of which Pocket CS provides Ethernet (80), virtual office or network (VLAN) 802.1Q. , and mapping of packet services such as IP (IPv4, IPv6).
IP CS在两个网络终端之间交换 IP包, 图 1是相关技术中 IP格式数据 包的报文格式示意图。 如图 1所示, IP格式数据包的报文格式分为两部分: 20字节的包头部分以及数据部分。 在空口上, 只有 IP 包被送到微波存取全 球互通 ( Worldwide Interoperability for Microwave Access , 简称为 WiMAX ) 的基站( Base Station, 简称为 BS )上,但是,例如网络分组交换 ( Internet work Packet Exchange,简称为 IPX ) .序列分组交换包( Sequences Pocket Exchange, 简称为 SPX ) 等其他协议包都会被丢弃。 一般情况下, WiMAX用户设备都会采用带有网络协议栈的操作***来 进行网络的相关处理, WiMAX 用户设备向操作***进行注册, 并注册成为 一个网 ^^妻口, 并通过操作***的网络协议栈来实现数据包的发送和接收。 图 2是相关技术中操作***中网络协议栈与 802.16***的示意图,如图 2所 示, 在当前的操作*** (例如, linux、 windows ) 中, 会将 802.16网络子系 统认为是普通的 802.3以太网设备, 并以 802.3接口形式与这个 802.16子系 统进行通讯。 图 3是相关技术中 802.3 以太网接口的收发包格式的示意图。 在实际操作中, 操作***的网络协议栈将数据包封装成为如图 3所示的以太 网包后, 交由 802.16子***的 MAC层进行处理。 从图 3中还可以看出, 以太网包中数据部分除了 IP数据报类型(0800 ) 夕卜, 还包含有地址解析协议(Address Resolution Protocol, 简称为 ARP ) 请 求类型 (0806 ), 其中, ARP可用来实现 IP地址到 MAC地址的动态转换, 利用 ARP, 可以获取特定 IP地址的 MAC地址, ARP包格式如图 4所示; 通过向网络中发送带有此包格式的广播消息, 可以获取目的 IP 地址对应的 MAC地址。 但在, 802.16***中, MAC层是面向连接的, 每一个连接均由一个标 识符 (Connect ID , 简称为 CID ) 唯一标识, 在数据传输的过程中, 由于不 会用到 MAC地址以及 ARP协议, 因此 802.16***中的 IPv4 CS对 ARP包 不进行处理。 在上述 802.16***应用场景下, 如果对 ARP的请求不处理或者丢弃, 就会使得从操作***网络协议栈发出的 ARP请求无法得到回应,导致发送流 程的失败, 从而可能导致通信中断, 使 WiMAX用户设备无法进行正常的语 音或者数据通讯, 也就是说, 目前存在由于 IPv4 CS子层无法正确处理 ARP 请求而可能导致无法进行正常的电话呼叫或者上网操作的问题。 然而, 至今 尚未提出能够解决该问题的技术方案。 发明内容 考虑到相关技术中由于 IPv4 CS子层无法正确处理 ARP请求而可能导 致无法进行正常的电话呼叫或者上网操作的问题而做出本发明, 为此, 本发 明的主要目的在于提供一种改进的地址解析协议请求消息处理方案。 以解决 相关技术中存在的上述问题。 为了实现上述目的, 才艮据本发明的一个实施例, 提供了一种地址解析协 议请求消息处理方法, 用于对 802.16 ***采用 IPv4时的地址解析协议请求 消息进行处理。 才艮据本发明的地址解析协议请求消息处理方法包括:在接收到来自发送 方的地址解析协议请求包后, 根据地址解析协议请求包中的信息构造地址解 析协议响应包, 并将地址解析协议响应包的源端物理地址设置为预定值; 将 构造的地址解析协议响应包发送给发送方。 其中,才艮据地址解析协议请求包中的以下信息中的至少之一构造地址解 析协议响应包: 源地址、 源地址的类型、 用户设备地址、 硬件类型、 协议类 型、 十办议地址、 源十办议地址。 优选地, 可以对用户设备地址进行修改, 将修改后的用户设备地址作为 地址解析协议响应包的源端物理地址。 优选地, 爹改用户设备地址的方式可以为将用户设备地址力口 1。 优选地, 预定值满足以下条件: 与本***内的其它媒体接入控制地址不 存在沖突。 为了实现上述目的,根据本发明的另一实施例, 还提供了一种地址解析 协议请求消息处理装置, 用于对 802.16 ***采用 IPv4时的地址解析协议请 求消息进行处理。 根据本发明的地址解析协议请求消息处理装置包括: 接收模块, 用于接 收来自发送方的地址解析协议请求包; 构造模块, 用于才艮据地址解析协议请 求包中的信息构造地址解析协议响应包, 并将地址解析协议响应包的源端物 理地址设置为预定值; 发送模块, 用于将构造的地址解析协议响应包发送给 发送方。 其中,构造模块才艮据地址解析协议请求包中的以下信息中的至少之一构 造地址解析协议响应包: 源地址、 源地址的类型、 用户设备地址、 硬件类型、 十办议类型、 ¼、议地址、 源 ¼、议地址。 优选地, 构造模块可以对用户设备地址进行爹改, 将修 _改后的用户设备 地址作为地址解析协议响应包的源端物理地址。 优选地, 构造模块修改用户设备地址的方式可以为将用户设备地址加The IP CS exchanges IP packets between two network terminals. FIG. 1 is a schematic diagram of a packet format of an IP format data packet in the related art. As shown in Figure 1, the packet format of an IP format packet is divided into two parts: a 20-byte header portion and a data portion. On the air interface, only the IP packet is sent to the Base Station (BS) for Worldwide Interoperability for Microwave Access (WiMAX), but for example, Internet Work Packet Exchange (Internet Work Packet Exchange, Referred to as IPX. Other protocol packets such as Sequences Pocket Exchange (SPX) will be discarded. In general, WiMAX user equipment uses an operating system with a network protocol stack for network related processing. The WiMAX user equipment registers with the operating system and registers as a network port and passes the network protocol of the operating system. The stack is used to implement the sending and receiving of data packets. 2 is a schematic diagram of a network protocol stack and an 802.16 system in an operating system in the related art. As shown in FIG. 2, in the current operating system (for example, linux, windows), the 802.16 network subsystem is considered to be an ordinary 802.3 ether. Network device, and communicates with this 802.16 subsystem in the form of 802.3 interface. FIG. 3 is a schematic diagram of a transceiver packet format of an 802.3 Ethernet interface in the related art. In actual operation, the network protocol stack of the operating system encapsulates the data packet into an Ethernet packet as shown in FIG. 3, and then passes it to the MAC layer of the 802.16 subsystem for processing. As can be seen from FIG. 3, the data part of the Ethernet packet includes an address resolution protocol (ARP) request type (0806) in addition to the IP datagram type (0800), where ARP It can be used to dynamically convert IP addresses to MAC addresses. ARP can be used to obtain the MAC address of a specific IP address. The ARP packet format is shown in Figure 4. By sending a broadcast message with this packet format to the network, the destination can be obtained. The MAC address corresponding to the IP address. However, in the 802.16 system, the MAC layer is connection-oriented. Each connection is uniquely identified by an identifier (Connect ID, CID for short). In the process of data transmission, MAC address and ARP protocol are not used. Therefore, IPv4 CS in the 802.16 system does not process the ARP packet. In the above 802.16 system application scenario, if the request for ARP is not processed or discarded, the ARP request sent from the operating system network protocol stack cannot be responded, resulting in failure of the sending process, which may result in communication interruption and WiMAX users. The device cannot perform normal voice or data communication. That is to say, there is a problem that the IPv4 CS sublayer cannot correctly process ARP requests, which may result in failure to make normal telephone calls or access to the Internet. However, no technical solution capable of solving this problem has been proposed so far. SUMMARY OF THE INVENTION The present invention has been made in view of the related art in view of the inability of the IPv4 CS sublayer to correctly process ARP requests, which may result in failure to perform normal telephone calls or Internet operations, and the main object of the present invention is to provide an improvement. Address Resolution Protocol Request Message Handling Scheme. To solve the above problems in the related art. In order to achieve the above object, according to an embodiment of the present invention, an address resolution protocol request message processing method is provided for processing an address resolution protocol request message when an 802.16 system adopts IPv4. According to the address resolution protocol request message processing method of the present invention, after receiving the address resolution protocol request packet from the sender, the address resolution protocol response packet is constructed according to the information in the address resolution protocol request packet, and the address resolution protocol is The source physical address of the response packet is set to a predetermined value; the constructed address resolution protocol response packet is sent to the sender. The address resolution protocol response packet is constructed according to at least one of the following information in the address resolution protocol request packet: source address, source address type, user equipment address, hardware type, protocol type, ten-party address, source Ten office addresses. Preferably, the user equipment address may be modified, and the modified user equipment address is used as the source physical address of the address resolution protocol response packet. Preferably, the user equipment address may be tampered by setting the user equipment address to 1. Preferably, the predetermined value satisfies the following conditions: There is no conflict with other media access control addresses within the system. In order to achieve the above object, according to another embodiment of the present invention, an address resolution protocol request message processing apparatus is further provided for processing an address resolution protocol request message when an 802.16 system adopts IPv4. The address resolution protocol request message processing apparatus according to the present invention comprises: a receiving module, configured to receive an address resolution protocol request packet from a sender; and a constructing module, configured to construct an address resolution protocol response according to information in the address resolution protocol request packet a packet, and setting a source physical address of the address resolution protocol response packet to a predetermined value; and a sending module, configured to send the constructed address resolution protocol response packet to the sender. The constructing module constructs the address resolution protocol response packet according to at least one of the following information in the address resolution protocol request packet: source address, source address type, user equipment address, hardware type, ten-dosing type, 1⁄4, Address, source, and address. Preferably, the constructing module may tamper with the user equipment address, and use the modified user equipment address as the source physical address of the address resolution protocol response packet. Preferably, the manner in which the constructing module modifies the address of the user equipment may be to add the address of the user equipment
1„ 优选地, 预定值满足以下条件: 与本***内的其它媒体接入控制地址不 存在沖突。 借助于本发明的上述技术方案, 通过对地址解析协议请求包的处理, 解 决了相关技术中由于 IPv4 CS子层无法正确处理 ARP请求而可能导致无法进 行正常的电话呼叫或者上网操作的问题, 能够保证 IP CS网络的稳定性以及 数据的正常传送。 本发明的其它特征和优点将在随后的说明书中阐述, 并且, 部分地从说 明书中变得显而易见, 或者通过实施本发明而了解。 本发明的目的和其他优 点可通过在所写的说明书、 权利要求书、 以及附图中所特别指出的结构来实 现和获得。 附图说明 此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是根据相关技术的 IP格式数据包的报文格式的示意图; 图 2是根据相关技术的操作***中网络协议栈与 802.16 ***的交互示 意图; 图 3是根据相关技术的 802.3以太网接口的收发包格式的示意图; 图 4是根据相关技术的 ARP包格式示意图; 图 5 是才艮据本发明方法实施例的地址解析协议请求消息处理方法的流 程图; 图 6 是才艮据本发明方法实施例的地址解析协议请求消息处理方法的详 细处理过程的流程图; 图 7是才艮据本发明方法实施例的 WiMAX移动台上电接入网络的信令流 程图; 以及 图 8 是才艮据本发明装置实施例的地址解析协议请求消息处理装置的框 图。 具体实施方式 功能相克述 在相关技术中, 存在由于 IPv4 CS子层无法正确处理 ARP请求, 可能 会导致无法进行正常的电话呼叫或者上网操作的问题, 针对上述问题, 本发 明提供了一种改进的地址解析协议请求消息处理方案,用于对 802.16***采 用 IPv4时的地址解析协议请求消息进行处理, 在本发明的技术方案中, 在接 收到来自发送方的地址解析协议请求包后, 才艮据地址解析协议请求包中的信 息构造地址解析协议响应包, 并将地址解析协议响应包的源端物理地址设置 为预定值; 将构造的地址解析协议响应包发送给发送方。 以下结合附图对本发明的优选实施例进行说明, 应当理解, 此处所描述 的优选实施例仅用于说明和解释本发明, 并不用于限定本发明。 在以下的描述中, 为了解释的目的, 描述了多个特定的细节, 以提供对 本发明的透彻理解。 然而, 艮显然, 在没有这些特定细节的情况下, 也可以 实现本发明, 此外, 在不背离所附权利要求阐明的精神和范围的情况下, 下 述实施例以及实施例中得各个细节可以进行各种组合。 方法实施例 根据本发明的实施例, 提供了一种地址解析协议请求消息处理方法, 用 于对 802.16 ***采用 IPv4时的地址解析协议请求消息进行处理。 需要说明 的是, 在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算 机***中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但是在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤。 图 5是才艮据本发明实施例的地址解析协议请求消息处理方法的流程图。 如图 5所示, 才艮据本发明实施例的地址解析协议请求消息处理方法包括以下 处理 (步骤 S502 -步骤 S504 ): 步骤 S502, 接收方在接收到来自发送方的地址解析协议请求包后, 根 据地址解析协议请求包中的信息构造地址解析协议响应包, 并将地址解析协 议响应包的源端物理地址设置为预定值; 例如, 可以对用户设备地址进行修 改, 并将修改后的用户设备地址作为地址解析协议响应包的源端物理地址。 其中, 在步骤 S502中, 可以才艮据地址解析协议请求包中的以下信息中 的至少之一构造地址解析协议响应包: 源地址、 源地址的类型、 用户设备地 址、 硬件类型、 ¼、议类型、 ¼、议地址、 源 ¼、议地址。 步骤 S504 , 将构造的地址解析协议响应包发送给发送方。 从上述处理可以看出, 对于进入 802.16子***中的 ARP请求, 可以采 取一种所谓的 ARP欺骗机制来保证发送端得到正确的响应。具体地, 在数据 在发送到 802.16***中后, 802.16的 IPv4 CS子层首先需要监控接收到的包 格式, 如果发现需要发送的包是 ARP请求包, 则将其截获, 在填充某一任意 的 MAC地址(如 WiMAX用户设备 MAC地址 +1 )后, 作为 ARP应答直接 返回发送端网络协议栈, 不再继续向 802.16***的下一步进行发送。 这样就 可以保证网络协议栈发出的 ARP请求及时得到响应,不会影响正常数据的发 送。 从而提高***的稳定性。 为了执行上述过程, 就需要构造一个以太网格式的 ARP响应包, 如图 3 所示, 首先要需要设置以太网头, 其包括: 目的地址、 源地址和类型, 其 中目的地址和类型可以从 ARP请求包中获得,源地址使用 WiMAX用户设备 的地址来填充。 随后, 就可以按照如图 4所示的格式填充 ARP字段, 其中的参数可以 从 ARP请求包中获得, 获取的参数包括: 硬件类型、 协议类型、 目的端物理 地址、 ¼、议地址和源端 ¼、议地址等。 优选地, 如果考虑到处理速度等因素, 修改用户设备地址的方式可以将 用户设备地址加 1 (即, WiMAX用户设备 MAC地址 +1 )。 本领或技术人员 应当理解, 将地址加 1仅是一个实例, 在实际应用当中还可以以其它方式进 行修改, 例如, 对用户设备 MAC地址加上其它值、 减去某值。 但是, 在以 其它方式进行爹改时, 需要注意源端物理地址的取值, 应该选取一个合适的 值(上述预定值), 并且保证修改后的用户设备 MAC地址与本***内的其它 媒体接入控制地址不沖突。 经过上述的处理, 在 ARP响应所需的字段填充完毕之后, 就可以调用 接收函数, 并且, 802.16 IPV4 CS子层会将这个 ARP响应包发回给网络协议 栈。 根据这种方式, WiMAX用户设备中的操作***的网络协议栈就能够得 到及时正确的 ARP响应包, 并才艮据内容更新自己的 ARP列表。 图 6是才艮据本发明方法实施例的优选实施例的流程图。 下面, 结合图 6 对上述技术方案的处理进行说明。 如图 6所示, 具体包括以下处理过程: 步骤 601 - 603 , 802.16***的 IPv4 CS子层检测接收到的数据包, 判 断是否是 ARP请求包; 具体地, 802.16***的 IPv4 CS子层才艮据如图 3所示的类型字段定义, 在数据包中获得相关参数后, 可以根据获取的参数判断是该数据包为 ARP 请求包; 如果 IPv4电路域( CS )子层检测到发来的数据包不是 ARP请求包, 贝 'J对此 IP包数据进行接下来正常的 802.16处理(步骤 610 ), 如果 IPv4电路 域( CS ) 子层检测到发来的数据包是 ARP请求包, 则执行步骤 604-608; 步骤 604-608 , 如果 IPv4 CS子层检测到数据包的类型是 ARP包, 则根 据接收包(数据包)构造 ARP响应包,其中的目的物理地址可以任意选定(对 应于图 5 中的步骤 S502 ) , 在添加上以太网头之后利用操作***协议栈的接 收函数通过 802.3接口将其发回网络协议栈 (对应于图 5中的步骤 S504 )。 下面将以 WiMAX移动台 MS上电开机初始化寻找网络的过程为例,对 上述的技术方案进行详细说明。 需要说明的是, 图 7只是 MS上电接入网络 的大致示意图, 并不代表 MS完整的接入过程。 出于清楚的目的, 这里仅示 出了简化的处理过程, 本领域技术人员应当理解, 在实际应用当中 MS和 BS 之间交互的指令和过程比图 7所示过程复杂。 如图 7所示, 具体包括以下步 骤: 步骤 710-730, MS上电, 在 MS上电后, BS为 MS扫描并找到可能的 下行信道, 并与 MS进行物理层同步, 在进行物理层同步后, MS和 BS还需 要进行 MAC层同步( BS向 MS发送下行链路映射消息、下行信道描述消息、 上行链路映射消息、 上行信道描述消息来完成 MAC层同步), 在完成 MAC 层同步后, MS向 BS发送初始测 3巨请求,进行初始测 3巨,在进行初始测 3巨后, 向 BS发送能力协商请求, 与 BS进行能力协商, 并在进行了能力协商后, 向 BS发送 4吏权以及密钥交换等请求, 并完成相应的处理, 最后, 由 MS向 BS 发送注册请求, 完成 MS的网络接入。 步骤 740 ,在 MS接入网络后, MS向 BS侧的动态主机配置协议( Dynamic Host Configuration Protocol, 简称为 DHCP ) 月 务器发送 DHCP请求, 以请 求 IP地址。 步骤 750, 在 MS成功获取 IP地址后, 为了验证连接是否成功, MS向 BS发出了一个 ping指令,在执行这个 ping指令时, MS首先查询自身的 ARP 列表中是否是有此 IP地址对应的 MAC地址, 如果没有, 就会发出一个 ARP 请求, 在相关技术中, 802.16***的 IP CS不会处理这个 ARP请求, 因此必 须对这个 ARP请求作出欺骗处理。 在这个过程中, ping指令不会因为没有获取正确的目的 MAC地址而导 致错误。 在前面提到过, 802.16***是面向连接的***, 其正确连接不是依 赖 MAC地址, 而是通过 CID与连接建立关系的, 并从 CID获得目的地址和 服务质量 ( Quality of Serives, 简称为 QoS )要求, 其中, MS的 CID是从图 7中的测距过程的 RNG-RSP消息获取的 (步骤 730 )。 上述的应用示例只是 ARP欺 的一个具体应用,在实际的网络操作中, 还有很多需要发送 ARP请求的应用的指令操作 ,对与这些操作, 也都需要采 取 ARP欺骗的方法, 保证通讯的正常。 对于 802.16 ***, 还需要说明的是, 这样的 ARP欺骗并不会影响 IP 数据包的正常发送。 从前面的叙述中得知, 需要发送的 IP数据包从操作*** 的网络协议栈进入 802.16***时, 需要在头部添加目的地址、 源地址和类型 等字段,被封装成为为以太网包,而当 802.16***把数据最终传送到空口时, 对于 802.16的 IP CS, 其净荷的格式又需要被还原成为 IP包格式, 并不再包 含以太网头。在真正进行数据传送的时并没有用到目的地址、 源地址等字段。 数据的正常传送。 在上面的叙述中, 在涉及操作***时, 是以 linux操作***为例的, 实 际上, 在带有其他操作***(例如, windows ) 的 802.16***中, 对 ARP请 求的指令的处理也是一样的, 只是由于各个操作***的网络层协议的接口实 现方式不同, 导致实际操作时调用的接口函数有所差别, 但其原理和操作流 程都是完全相同的。 装置实施例 根据本发明的实施例, 提供了一种地址解析协议请求消息处理装置, 用 于对 802.16 ***采用 IPv4时的地址解析协议请求消息进行处理。 图 8是根 据本实施例的地址解析协议请求消息处理装置框图。 如图 8所示, 根据本发 明实施例的地址解析协议请求消息处理装置包括: 接收模块 802、 构造模块 804、 发送模块 806。 具体地,接收模块 802用于接收来自发送方的地址解析协议请求包; 构 造模块 804连接至接收模块 802, 用于才艮据地址解析协议请求包中的信息构 造地址解析协议响应包, 并将地址解析协议响应包的源端物理地址设置为预 定值; 例如, 构造模块 804可以对用户设备地址进行修改, 并将修改后的用 户设备地址作为地址解析协议响应包的源端物理地址。 并且, 构造模块 804 还可以才艮据地址解析协议请求包中的以下信息中的至少之一构造地址解析协 议响应包: 源地址、 源地址的类型、 用户设备地址、 硬件类型、 协议类型、 协议地址、 源协议地址。 发送模块 800连接至构造模块 804, 用于将构造模 块 804构造的地址解析协议响应包发送给发送方。 如果考虑到处理速度等因素,构造模块 804修改用户设备地址的方式可 以将用户设备地址加 1 (即, WiMAX用户设备 MAC地址 +1 )。 本领域支术 人员应当理解, 将地址力。 1仅是一个实例, 在实际应用当中还可以以其它方 式进行爹改, 例如, 构造模块 804对用户设备 MAC地址加上其它值、 减去 某值。 但是, 在以其它方式进行修改时, 需要注意源端物理地址的取值, 构 造模块 804 应该选取一个合适的值 (上述预定值), 并且保证修 _改后的用户 设备 MAC地址与本***内的其它媒体接入控制地址不沖突。 综上所述, 借助于本发明的技术方案, 通过对地址解析协议请求包的处 理,解决了相关技术中由于 IPv4 CS子层无法正确处理 ARP请求而可能导致 无法进行正常的电话呼叫或者上网操作的问题, 能够保证 IP CS网络的稳定 性以及数据的正常传送; 优选地, 本发明可以应用在 WiMAX网络下的各种 形式的用户设备上以及带有各种操作*** (例如, linux操作***、 windows 操作***) 的或不带有操作***的设备上, 具有较好的通用性。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 1„ Preferably, the predetermined value satisfies the following conditions: and other media access control addresses in the system are not There is a conflict. With the above technical solution of the present invention, by processing the address resolution protocol request packet, the related art may solve the problem that the IPv4 CS sublayer cannot correctly process the ARP request, which may result in failure to perform normal telephone call or online operation. Ensure the stability of the IP CS network and the normal transmission of data. Other features and advantages of the invention will be set forth in the description which follows, and The objectives and other advantages of the invention will be realized and attained by the <RTI BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a schematic diagram of a message format of an IP format data packet according to the related art; FIG. 2 is a schematic diagram of interaction between a network protocol stack and an 802.16 system in an operating system according to the related art; FIG. 4 is a schematic diagram of an ARP packet format according to the related art; FIG. 5 is a flowchart of a method for processing an address resolution protocol request message according to an embodiment of the method of the present invention; A flowchart of a detailed processing procedure of an address resolution protocol request message processing method according to an embodiment of the method of the present invention; FIG. 7 is a signaling flowchart of a WiMAX mobile station powering on a network according to an embodiment of the method of the present invention; Figure 8 is a block diagram of an address resolution protocol request message processing apparatus in accordance with an embodiment of the apparatus of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In the related art, there is a problem that an IPv4 CS sublayer cannot correctly process an ARP request, which may result in failure to perform a normal telephone call or an online operation. The present invention provides an improved problem. An address resolution protocol request message processing scheme is used to process an address resolution protocol request message when the 802.16 system adopts IPv4. In the technical solution of the present invention, after receiving the address resolution protocol request packet from the sender, the data is processed. The information in the address resolution protocol request packet constructs an address resolution protocol response packet, and sets the source physical address of the address resolution protocol response packet to a predetermined value; and sends the constructed address resolution protocol response packet to the sender. The preferred embodiments of the present invention are described in the following with reference to the accompanying drawings, which are intended to illustrate and illustrate the invention. In the following description, numerous specific details are set forth However, it is apparent that the present invention may be practiced without these specific details. Further, various details may be obtained in the following embodiments and examples without departing from the spirit and scope of the appended claims. Make various combinations. Method Embodiments According to an embodiment of the present invention, an address resolution protocol request message processing method is provided for processing an address resolution protocol request message when an 802.16 system adopts IPv4. It should be noted that the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and, although the logical order is shown in the flowchart, in some cases, The steps shown or described may be performed in an order different than that herein. FIG. 5 is a flowchart of a method for processing an address resolution protocol request message according to an embodiment of the present invention. As shown in FIG. 5, the address resolution protocol request message processing method according to the embodiment of the present invention includes the following processing (step S502 - step S504): Step S502, after receiving the address resolution protocol request packet from the sender, the receiver And constructing an address resolution protocol response packet according to the information in the address resolution protocol request packet, and setting a source physical address of the address resolution protocol response packet to a predetermined value; for example, modifying the user equipment address, and modifying the user The device address is used as the source physical address of the address resolution protocol response packet. In step S502, the following information in the packet may be requested according to the address resolution protocol. At least one of the address resolution protocol response packets is constructed: source address, source address type, user device address, hardware type, protocol type, protocol type, protocol address, source address, and negotiation address. Step S504, the constructed address resolution protocol response packet is sent to the sender. As can be seen from the above processing, for the ARP request entering the 802.16 subsystem, a so-called ARP spoofing mechanism can be adopted to ensure that the sender receives the correct response. Specifically, after the data is sent to the 802.16 system, the IPv4 CS sublayer of 802.16 first needs to monitor the received packet format, and if it finds that the packet to be sent is an ARP request packet, intercepts it, and fills in an arbitrary After the MAC address (such as the WiMAX user equipment MAC address +1), it returns directly to the sender network protocol stack as an ARP reply, and does not continue to send to the next step of the 802.16 system. In this way, the ARP request sent by the network protocol stack can be timely responded without affecting the transmission of normal data. Thereby improving the stability of the system. In order to perform the above process, it is necessary to construct an ARP response packet in Ethernet format. As shown in FIG. 3, firstly, an Ethernet header needs to be set, which includes: a destination address, a source address, and a type, wherein the destination address and type can be from the ARP. Obtained in the request packet, the source address is filled with the address of the WiMAX user device. Then, the ARP field can be filled according to the format shown in FIG. 4, wherein the parameters can be obtained from the ARP request packet, and the obtained parameters include: hardware type, protocol type, destination physical address, address, negotiation address, and source end. 1⁄4, address, etc. Preferably, if the user equipment address is modified in consideration of factors such as processing speed, the user equipment address may be incremented by one (ie, WiMAX user equipment MAC address +1). The skill or the skilled person should understand that adding 1 to an address is only an example, and may be modified in other ways in practical applications, for example, adding other values to the user equipment MAC address, and subtracting a certain value. However, when tampering in other ways, you need to pay attention to the value of the source physical address. You should select an appropriate value (predetermined value above) and ensure that the modified user equipment MAC address is connected to other media in the system. The incoming control addresses do not conflict. After the above processing, after the fields required for the ARP response are filled, the receiving function can be called, and the 802.16 IPV4 CS sublayer sends the ARP response packet back to the network protocol stack. According to this method, the network protocol stack of the operating system in the WiMAX user equipment can obtain a timely and correct ARP response packet, and update its own ARP list according to the content. 6 is a flow chart of a preferred embodiment of an embodiment of a method in accordance with the present invention. Next, the processing of the above technical solution will be described with reference to FIG. As shown in FIG. 6, the following process is specifically included: Step 601 - 603: The IPv4 CS sublayer of the 802.16 system detects the received data packet, and determines whether it is an ARP request packet. Specifically, the IPv4 CS sublayer of the 802.16 system is According to the type field definition shown in Figure 3, after obtaining the relevant parameters in the data packet, it can be judged according to the obtained parameters that the data packet is an ARP request packet; if the IPv4 circuit domain (CS) sublayer detects the sent data The packet is not an ARP request packet, and the packet performs the next normal 802.16 processing on the IP packet data (step 610). If the IPv4 circuit domain (CS) sublayer detects that the sent packet is an ARP request packet, the step is performed. 604-608; Steps 604-608, if the IPv4 CS sublayer detects that the type of the data packet is an ARP packet, constructs an ARP response packet according to the received packet (data packet), wherein the destination physical address can be arbitrarily selected (corresponding to the figure) Step S502) in 5, after receiving the Ethernet header, the receiving function of the operating system protocol stack is used to send it back to the network protocol stack through the 802.3 interface (corresponding to step S504 in FIG. 5). In the following, the process of finding a network by powering on the WiMAX mobile station MS is taken as an example, and the above technical solution is described in detail. It should be noted that FIG. 7 is only a schematic diagram of the MS accessing the network, and does not represent the complete access process of the MS. For the sake of clarity, only simplified processing is shown here, and those skilled in the art will appreciate that the instructions and processes for interaction between the MS and the BS are more complex than the process illustrated in FIG. 7 in practical applications. As shown in FIG. 7, the method includes the following steps: Steps 710-730, the MS is powered on, after the MS is powered on, the BS scans for the MS and finds a possible downlink channel, and performs physical layer synchronization with the MS to perform physical layer synchronization. Afterwards, the MS and the BS also need to perform MAC layer synchronization (the BS sends a downlink mapping message, a downlink channel description message, an uplink mapping message, and an uplink channel description message to the MS to complete the MAC layer synchronization), after completing the MAC layer synchronization. The MS sends an initial 3 macro request to the BS, and performs an initial measurement of 3 giants. After performing the initial measurement, the MS sends a capability negotiation request to the BS, performs capability negotiation with the BS, and sends a capability to the BS after performing the capability negotiation. Requests such as rights and key exchanges are completed, and corresponding processing is completed. Finally, the MS sends a registration request to the BS to complete network access of the MS. Step 740: After the MS accesses the network, the MS sends a DHCP request to the Dynamic Host Configuration Protocol (DHCP) server on the BS side to request an IP address. Step 750: After the MS successfully obtains the IP address, in order to verify whether the connection is successful, the MS sends a ping command to the BS. When the ping command is executed, the MS first queries whether the MAC address corresponding to the IP address is in the ARP list. The address, if not, will issue an ARP request. In the related art, the IP CS of the 802.16 system does not process the ARP request, so the ARP request must be spoofed. In this process, the ping command does not cause an error because it does not get the correct destination MAC address. As mentioned earlier, the 802.16 system is a connection-oriented system. The correct connection is not dependent on the MAC address. Instead, it establishes a relationship with the connection through the CID, and obtains the destination address and quality of service (QoS) from the CID. Requirement, wherein the CID of the MS is obtained from the RNG-RSP message of the ranging process in FIG. 7 (step 730). The above application example is only a specific application of ARP bullying. In actual network operations, there are many instruction operations of applications that need to send ARP requests. For these operations, ARP spoofing is also required to ensure normal communication. . For 802.16 systems, it should also be noted that such ARP spoofing does not affect the normal transmission of IP packets. It is known from the foregoing description that when an IP packet to be sent enters the 802.16 system from the network protocol stack of the operating system, a field such as a destination address, a source address, and a type needs to be added to the header, and is encapsulated into an Ethernet packet. When the 802.16 system finally transmits the data to the air interface, for the IP CS of 802.16, the format of the payload needs to be restored to the IP packet format, and the Ethernet header is no longer included. Fields such as destination address, source address, etc. are not used at the time of actual data transfer. Normal transfer of data. In the above description, when the operating system is involved, the Linux operating system is taken as an example. In fact, in an 802.16 system with other operating systems (for example, windows), the processing of instructions for ARP requests is the same. However, the interface functions of the network layer protocols of different operating systems are different, which causes the interface functions called during actual operation to be different, but the principle and operation flow are the same. Apparatus Embodiments According to an embodiment of the present invention, an address resolution protocol request message processing apparatus is provided for processing an address resolution protocol request message when an 802.16 system adopts IPv4. FIG. 8 is a block diagram of an address resolution protocol request message processing apparatus according to the present embodiment. As shown in Figure 8, according to this issue The address resolution protocol request message processing apparatus of the embodiment includes: a receiving module 802, a constructing module 804, and a sending module 806. Specifically, the receiving module 802 is configured to receive an address resolution protocol request packet from the sender; the constructing module 804 is connected to the receiving module 802, configured to construct an address resolution protocol response packet according to the information in the address resolution protocol request packet, and The source physical address of the address resolution protocol response packet is set to a predetermined value; for example, the constructing module 804 can modify the user equipment address and use the modified user equipment address as the source physical address of the address resolution protocol response packet. Moreover, the constructing module 804 can also construct an address resolution protocol response packet according to at least one of the following information in the address resolution protocol request packet: source address, source address type, user equipment address, hardware type, protocol type, protocol Address, source protocol address. The sending module 800 is coupled to the constructing module 804 for transmitting the address resolution protocol response packet constructed by the constructing module 804 to the sender. If the processing module 804 modifies the user equipment address in consideration of factors such as processing speed and the like, the user equipment address can be incremented by one (ie, WiMAX user equipment MAC address +1). Those skilled in the art should understand that the address will be force. 1 is only an example, and may be tampered with in other ways in practice. For example, the construction module 804 adds other values to the user equipment MAC address, minus a value. However, when modifying in other manners, attention should be paid to the value of the source physical address. The construction module 804 should select an appropriate value (the above predetermined value), and ensure that the modified user equipment MAC address is within the system. Other media access control addresses do not conflict. In summary, the technical solution of the present invention solves the problem that the IPv4 CS sublayer cannot correctly process the ARP request due to the processing of the address resolution protocol request packet, which may result in failure to perform normal telephone call or online operation. The problem is that the stability of the IP CS network and the normal transmission of data can be guaranteed; preferably, the invention can be applied to various forms of user equipment under the WiMAX network and with various operating systems (for example, the Linux operating system, Windows operating system) or on a device without an operating system, has good versatility. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种地址解析协议请求消息处理方法, 用于对 802.16 ***采用 IPv4时 的地址解析协议请求消息进行处理, 其特征在于, 所述方法包括: 在接收到来自发送方的地址解析协议请求包后,才艮据所述地址解析 协议请求包中的信息构造地址解析协议响应包, 并将所述地址解析协议 响应包的源端物理地址设置为预定值; An address resolution protocol request message processing method, configured to process an address resolution protocol request message when an 802.16 system adopts IPv4, wherein the method includes: receiving an address resolution protocol request packet from a sender After that, the address resolution protocol response packet is constructed according to the information in the address resolution protocol request packet, and the source physical address of the address resolution protocol response packet is set to a predetermined value;
将构造的所述地址解析协议响应包发送给所述发送方。  Transmitting the constructed address resolution protocol response packet to the sender.
2. 根据权利要求 1所述的方法, 其特征在于, 根据所述地址解析协议请求 包中的以下信息中的至少之一构造所述地址解析协议响应包: 源地址、 所述源地址的类型、 用户设备地址、 硬件类型、 协议类型、 协议地址、 源协议地址。 2. The method according to claim 1, wherein the address resolution protocol response packet is constructed according to at least one of the following information in the address resolution protocol request packet: a source address, a type of the source address , user device address, hardware type, protocol type, protocol address, source protocol address.
3. 根据权利要求 2所述的方法, 其特征在于, 将所述地址解析协议响应包 的源端物理地址设置为预定值的处理包括: The method according to claim 2, wherein the process of setting the source physical address of the address resolution protocol response packet to a predetermined value comprises:
对所述用户设备地址进行爹改,将爹改后的用户设备地址作为所述 地址解析协议响应包的源端物理地址。  The user equipment address is falsified, and the falsified user equipment address is used as the source physical address of the address resolution protocol response packet.
4. 根据权利要求 3所述的方法, 其特征在于, 对所述用户设备地址进行修 改的处理包括: 将所述用户设备地址加 1。 The method according to claim 3, wherein the process of modifying the user equipment address comprises: adding 1 to the user equipment address.
5. 根据权利要求 1所述的方法, 其特征在于, 所述预定值满足以下条件: 与本***内的其它媒体接入控制地址不存在沖突。 5. The method according to claim 1, wherein the predetermined value satisfies the following condition: There is no conflict with other media access control addresses in the system.
6. 一种地址解析协议请求消息处理装置, 用于对 802.16 ***采用 IPv4时 的地址解析协议请求消息进行处理, 其特征在于, 所述装置包括: 接收模块, 用于接收来自发送方的地址解析协议请求包; 构造模块,用于才艮据所述地址解析协议请求包中的信息构造地址解 析协议响应包, 并将所述地址解析协议响应包的源端物理地址设置为预 定值; An address resolution protocol request message processing apparatus, configured to process an address resolution protocol request message when an 802.16 system adopts IPv4, wherein the apparatus includes: a receiving module, configured to receive address resolution from a sender a protocol request packet, configured to construct an address resolution protocol response packet according to the information in the address resolution protocol request packet, and set a source physical address of the address resolution protocol response packet to a predetermined value;
发送模块,用于将构造的所述地址解析协议响应包发送给所述发送 方。 And a sending module, configured to send the constructed address resolution protocol response packet to the sender.
7. 根据权利要求 6所述的装置, 其特征在于, 所述构造模块进一步用于: 才艮据所述地址解析协议请求包中的以下信息中的至少之一构造所 述地址解析协议响应包: 源地址、 所述源地址的类型、 用户设备地址、 硬件类型、 ¼、议类型、 ¼、议地址、 源 ¼、议地址。 The device according to claim 6, wherein the constructing module is further configured to: construct the address resolution protocol response packet according to at least one of the following information in the address resolution protocol request packet : source address, type of source address, user device address, hardware type, type, negotiation type, protocol address, source address, and negotiation address.
8. 根据权利要求 7所述的装置, 其特征在于, 所述构造模块进一步用于: 对所述用户设备地址进行爹改,将爹改后的用户设备地址作为所述 地址解析协议响应包的源端物理地址。 The device according to claim 7, wherein the constructing module is further configured to: tamper with the user equipment address, and use the tamper-modified user equipment address as the address resolution protocol response packet Source physical address.
9. 根据权利要求 8所述的装置, 其特征在于, 所述构造模块进一步用于: 爹改所述用户设备地址的方式为将所述用户设备地址加 1。 The device according to claim 8, wherein the constructing module is further configured to: tamper with the user equipment address by adding 1 to the user equipment address.
10. 根据权利要求 6所述的装置, 其特征在于, 所述预定值满足以下条件: 与本***内的其它媒体接入控制地址不存在沖突。 10. The apparatus according to claim 6, wherein the predetermined value satisfies the following condition: There is no conflict with other media access control addresses in the system.
PCT/CN2008/073789 2008-04-09 2008-12-26 Method and apparatus for processing the arp request message WO2009124444A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810089913XA CN101257517B (en) 2008-04-09 2008-04-09 Method and device for processing address analysis protocol request message
CN200810089913.X 2008-04-09

Publications (1)

Publication Number Publication Date
WO2009124444A1 true WO2009124444A1 (en) 2009-10-15

Family

ID=39891982

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073789 WO2009124444A1 (en) 2008-04-09 2008-12-26 Method and apparatus for processing the arp request message

Country Status (2)

Country Link
CN (1) CN101257517B (en)
WO (1) WO2009124444A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140003426A1 (en) * 2012-06-29 2014-01-02 Cisco Technology, Inc., A Corporation Of California Reducing Proliferation of Network-to-Link-Layer Address Resolution Messages

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257517B (en) * 2008-04-09 2012-05-09 中兴通讯股份有限公司 Method and device for processing address analysis protocol request message
CN103314561A (en) * 2010-12-11 2013-09-18 惠普发展公司,有限责任合伙企业 Computer network node discovery
CN107995322A (en) * 2017-11-24 2018-05-04 上海市共进通信技术有限公司 Method by sending instructions under ARP messages
CN108881425B (en) * 2018-06-07 2020-12-25 中国科学技术大学 Data packet processing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060015635A1 (en) * 2004-06-17 2006-01-19 International Business Machines Corporation Method and apparatus for handling address resolution protocol requests for a device having multiple interfaces
CN1855929A (en) * 2005-04-27 2006-11-01 华为技术有限公司 Method for preventing from wild ARP attacks
CN1921491A (en) * 2006-09-14 2007-02-28 杭州华为三康技术有限公司 Method and equipment for preventing network attack by using address analytic protocol
CN101257517A (en) * 2008-04-09 2008-09-03 中兴通讯股份有限公司 Method and device for processing address analysis protocol request message

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1946041B (en) * 2006-06-20 2010-08-18 杭州华三通信技术有限公司 VLAN polymerizing method, converging exchanger and system based on ARP detector intercept

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060015635A1 (en) * 2004-06-17 2006-01-19 International Business Machines Corporation Method and apparatus for handling address resolution protocol requests for a device having multiple interfaces
CN1855929A (en) * 2005-04-27 2006-11-01 华为技术有限公司 Method for preventing from wild ARP attacks
CN1921491A (en) * 2006-09-14 2007-02-28 杭州华为三康技术有限公司 Method and equipment for preventing network attack by using address analytic protocol
CN101257517A (en) * 2008-04-09 2008-09-03 中兴通讯股份有限公司 Method and device for processing address analysis protocol request message

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG J. ET AL.: "The Analysis of Network Attacks Based on ARP", MICROELECTRONICS & COMPUTER, vol. 21, no. 4, April 2004 (2004-04-01), pages 10 - 11 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140003426A1 (en) * 2012-06-29 2014-01-02 Cisco Technology, Inc., A Corporation Of California Reducing Proliferation of Network-to-Link-Layer Address Resolution Messages
US9455948B2 (en) * 2012-06-29 2016-09-27 Cisco Technology, Inc. Reducing proliferation of network-to-link-layer address resolution messages

Also Published As

Publication number Publication date
CN101257517B (en) 2012-05-09
CN101257517A (en) 2008-09-03

Similar Documents

Publication Publication Date Title
US7787476B2 (en) Layer 2 switch network system
US8086749B2 (en) Techniques for migrating a point to point protocol to a protocol for an access network
US7568040B2 (en) Techniques for establishing subscriber sessions on an access network using DHCP
US9807603B2 (en) Method and system for WiBro network interworking in wireless terminal
JP4794312B2 (en) Automatic detection of pseudowire peer addresses in Ethernet-based networks
CN114073043B (en) Method and device for managing Ethernet bridge ports
US11356294B2 (en) Packet processing method and device
WO2007109963A1 (en) A vpn gateway and an ipv6 network system and a system for realizing mobile vpn in hybrid network and the method
JP2011515945A (en) Method and apparatus for communicating data packets between local networks
US20090052347A1 (en) Neighbor discovery method and apparatus for mobile node in heterogeneous network environment
WO2024000937A1 (en) Multi-modal network control system and method supporting mobile access of terminal
WO2011032449A1 (en) Method and system for implementing network intercommunication
WO2011032462A1 (en) Method for data transmission and receiving, system and router thereof
WO2011032447A1 (en) Method, system and communication terminal for implementing inter-communication between new network and internet
WO2008058477A1 (en) Location information management method, apparatus and system
WO2019242525A1 (en) Data transmission method, related device and system
WO2009124444A1 (en) Method and apparatus for processing the arp request message
WO2006097031A1 (en) A method for transmitting the message in the mobile internet protocol network
WO2012126335A1 (en) Access control method, access device and system
WO2013185696A2 (en) Data processing method and device
WO2012041168A1 (en) Processing method for network connection for ipv6 network and device thereof
WO2011032478A1 (en) Method, device and terminal for obtaining terminal identifier
WO2013026299A1 (en) Address resolution method and device, and information transmission method
Phoomikiattisak et al. Network layer soft handoff for IP mobility
WO2012088830A1 (en) Communication method, method and system for processing message

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08873880

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08873880

Country of ref document: EP

Kind code of ref document: A1