Method and device for banning IP (Internet Protocol) addresses and content distribution network server
An IP address and network layer technology, applied in the field of communication, can solve the problems of long processing time and low efficiency of blocking IP addresses, and achieve the effects of reducing processing time, improving processing efficiency, and improving search efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] Embodiments of the present invention provide a method, device and content distribution network server for blocking an IP address, which can solve the problems of long processing time and low efficiency when blocking an IP address in the prior art.
[0023] Embodiments of the present invention provide a method for banning IP addresses, such as figure 2 shown, including the following steps:
[0024] S201: Receive the request message sent by the client, after the request message enters the network layer, first determine the source IP address of the request message;
[0025] S202: Search the stored blacklist, and discard the request message when it is determined that the source IP address belongs to the blacklist.
[0026] Preferably, in order to improve search efficiency, all IP addresses stored in the blacklist are stored according to preset storage rules; the searching of the saved blacklist is specifically: searching for the blacklist according to the storage rules L...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 