Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method for filtering dhcp data packets in local area network

A filtering method and technology for IP data packets, applied in electrical components, transmission systems, etc., can solve the problems of DHCP clients not being able to access the Internet, and the number of DHCP servers is not easy to grasp, etc., to achieve the effect of accurate filtering and high execution efficiency.

Inactive Publication Date: 2016-09-28
HEILONGJIANG UNIV OF CHINESE MEDICINE
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the network administrators of these large and medium-sized LANs can generally only grasp the number of legal DHCP servers in the network. The number of DHCP servers is not easy to grasp, so there are often many legal and illegal DHCP servers in these large and medium-sized LANs, and the disadvantage of the DHCP protocol is that each DHCP client connected to the LAN needs to broadcast to the LAN. Send a DHCP discover data packet to find a DHCP server, and the DHCP server that receives the data packet will respond, select one of the IP addresses that have not been leased in its own address pool to assign to the requesting DHCP client, and pass the DHCP offer data packet Send to the DHCP client, if the DHCP client receives the response information from multiple DHCP servers, the DHCP client will only receive the response information from the first received DHCP server, and then send the DHCP request broadcast data to the LAN packet, telling all the DHCP servers in the LAN that it has accepted the IP address provided by which DHCP server. At this time, other DHCP servers that receive the DHCP request packet will take back the IP address just allocated, thus generating a The problem is that if the IP address received by the DHCP client is not the IP address assigned by the DHCP server it wants, it will cause many problems, such as the DHCP client cannot access the Internet, or the DHCP client cannot access some intranet resources. Or the DHCP client is connected to an unsafe internal network, resulting in illegal access to the DHCP client, illegal interception and analysis of network data packets, etc.

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
  • A method for filtering dhcp data packets in local area network
  • A method for filtering dhcp data packets in local area network
  • A method for filtering dhcp data packets in local area network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] like figure 1 Shown, a kind of local area network DHCP data packet filtering method of the present invention, its main idea is to listen to and intercept all data packets sent to this machine in the local area network at the intermediate layer between the DHCP client network card driver and the protocol driver, Filter out the DHCP data packet wherein, and check whether the DHCP data packet is sent by the legal DHCP server, if not, discard the data packet, and other data packets are normally released and received by the DHCP client. The specific method includes the following steps:

[0032] (1) Network data packet collection: intercept and intercept all data packets sent to the machine in the LAN at the middle layer between the DHCP client network card driver and the protocol driver, and collect each data packet one by one. First, allocate a memory area with a fixed byte size in the memory as a buffer to store the intercepted data packets. The size of this area can be gr...

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 invention discloses a method for filtering a DHCP data package of a local area network. According to the method, a middle layer between a network card drive and a protocol drive filters network data packages, sent to a DHCP client, in the local area network, and filtering comprises the four steps of network data package collecting, network data package screening, DHCP data package analyzing and network data package processing. The DHCP data package is gradually separated from the network data packages sent to the DHCP client, and is analyzed, a legal data package sent by a designated DHCP server is received, a data package sent by an illegal DHCP server is discarded, and therefore the aim that the DHCP client obtains the IP address from the designated DHCP server is achieved, the illegal DHCP server is prevented from distributing the IP address to the DHCP client, and meanwhile, the invention further discloses a system for filtering the DHCP data package of the local area network.

Description

technical field [0001] The invention relates to the field of computer application technology and computer network technology, in particular to a method and system for filtering DHCP data packets in a local area network. Background technique [0002] The DHCP protocol is the abbreviation of the Dynamic Host Configuration Protocol (Dynamic Host Configuration Protocol). It is widely used in medium and small LANs, especially in large and medium LANs, such as university campus networks and large enterprise networks. There are so many clients in these networks that it is almost impossible to manually assign a network IP (Internet Protocol, Internet Protocol) address, so dynamically assigning IP addresses to clients in the network through the DHCP protocol becomes an optimal solution. [0003] However, the network administrators of these large and medium-sized LANs can generally only grasp the number of legal DHCP servers in the network. The number of DHCP servers is not easy to ...

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 Patents(China)
IPC IPC(8): H04L29/06H04L29/12
Inventor 马俊
Owner HEILONGJIANG UNIV OF CHINESE MEDICINE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products