Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and apparatus for processing DHCP message

A DHCP message and device technology, applied in the field of network communication, can solve the problem of being unable to prevent illegal users from attacking the DHCP server, and achieve the effect of solving the problem of being unable to prevent illegal users from attacking the DHCP server

Active Publication Date: 2011-11-02
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The embodiment of the present invention provides a method and device for processing DHCP messages to solve the security problem that the prior art cannot prevent illegal users from attacking the DHCP server

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for processing DHCP message
  • Method and apparatus for processing DHCP message
  • Method and apparatus for processing DHCP message

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments.

[0025] The DHCP message format is as follows figure 1 As shown, where:

[0026] op: The operation type of the message, divided into a request message and a response message, 1 is a request message; 2 is a response message. The specific message type is identified in the option field.

[0027] htype: Hardware address type.

[0028] hlen: hardware address length. The system currently only supports Ethernet, and the hardware address length is fixed at 6.

[0029] hops: The number of DHCP relays through which a DHCP message passes. Each time a DHCP request message passes through a DHCP relay, this field increases by 1.

[0030] xid: A random number g...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a method and an apparatus for processing a dynamic host configuration protocol (DHCP) message. The method comprises the steps of receiving the DHCP message, examining the option carried by the DHCP message and filtering the DHCP message when the DHCP message carries a repeated option. According to the technical scheme provided by the invention, the safety problem that it is impossible to prevent an invalid user from attacking a DHCP server in the prior art is solved.

Description

Technical field [0001] The present invention relates to the field of network communication, in particular to a method and equipment for processing DHCP messages. Background technique [0002] DHCP (Dynamic Host Configuration Protocol) is a communication protocol for managing and automatically assigning IP (Internet Protocol, network protocol) addresses, and it works in a client-server (Client-Server) mode. [0003] DHCP client: It is the trigger and driver of the entire DHCP process. It interacts with the DHCP server through DHCP messages to obtain IP addresses and other network parameters. [0004] DHCP server: The DHCP service provider interacts with DHCP clients through DHCP messages, assigns appropriate IP addresses to various types of clients, and can assign other network parameters to clients as needed. [0005] In order for a DHCP client to dynamically obtain a legal IP address, it needs to go through the following stages: [0006] (1) Discovery phase: the phase where the DHCP c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L12/56H04L29/12
Inventor 于斌张印熙
Owner HUAWEI TECH CO LTD