Network protocol packet capture analysis and introduction to crawler

1, Introduction to reptiles 1. Concept Web crawler (also known as web spider, web robot, more often called web chaser in FOAF community) is a program or script that automatically grabs World Wide Web information according to certain rules. Other infrequently used names include ants, automatic indexing, emulators, or worms. 2. Type Accor ...

Added by coco777 on Thu, 06 Jan 2022 13:07:53 +0200

Spring Cloud Open Feign series [11] Feign codec Encoder and Decoder source code analysis

summary In the real world, the concept of codec exists. Encoding is the process of transforming information from one form or format to another. Decoding is the inverse process of encoding. It is widely used in computer, television, remote control and communication. In the program, this concept is also widely used, such as Base64 encoding ...

Added by gavinbsocom on Mon, 03 Jan 2022 22:45:47 +0200

Detailed explanation of Servlet, HTTP and Request

Request response understanding diagram Servlet Concept (explained earlier) Steps (explained earlier) Execution principle (explained earlier) Life cycle (explained earlier) Servlet3.0 annotation configuration (explained earlier) Architecture of Servlet Servlet - Interface | GenericServlet – abstract class | HttpServlet - a ...

Added by donnierivera on Fri, 31 Dec 2021 22:49:22 +0200

Eh, Java is so particular about splitting a string

When it comes to Java splitting strings, I guess nine times out of ten you will make a cruel remark, "what's the difficulty? Just go to the split() method of String class!" If you really think so, you should pay attention. Things are far from so simple. Come on, move a small bench and sit down. If there is such a string of chara ...

Added by Goofan on Thu, 30 Dec 2021 05:15:04 +0200

The use of websocket in uni app the mechanism of disconnection, reconnection and heartbeat

preface Recently, webSocket has been used in the development of H5 and APP. Sometimes the network of web/app is unstable or the server is disconnected actively, which leads to the failure of message push, and the client needs to be reconnected. After consulting the data, we found a heartbeat mechanism, that is, the client sends a message to ...

Added by brentech on Wed, 29 Dec 2021 21:02:01 +0200

ACL access control list

1, Introduction Access control list (ACL) is a list of instructions (i.e. rules) applied to the router interface. These instruction lists are used to tell the router which packets are acceptable and which packets need to be rejected. 1. Working principle ACL uses packet filtering technology to read the information in the layer 3 and laye ...

Added by yaatra on Tue, 28 Dec 2021 21:32:42 +0200

Problem of converting pit'+'to space in http request parameter

Problem of converting pit'+'to space in http request parameter I encountered a problem in my work where the parameter carrying the'+'number was converted to a space when we requested the interface of another service through the RestTemplate method provided by SpringBoot 1. Prerequisites The first thing we need to know is that the parameters ...

Added by Robert Elsdon on Sun, 26 Dec 2021 07:57:25 +0200

BGP advanced features overview (Huawei DataCome)

Routing control BGP route control includes controlling the release and reception of routes. BGP routing control is generally realized through routing policy, that is, specific routes are matched through the routing matching tool, and the release and reception of routes are controlled through the routing policy tool Route matching tools: ACL ...

Added by knighthawk1337 on Sat, 25 Dec 2021 08:39:26 +0200

Basic learning of HTTP Hypertext Transfer Protocol

HTTP Hypertext Transfer Protocol Concept: Hyper Text Tranfer Protocol Transmission protocol: it defines that the communication between client and server is the format of sending datacharacteristic: Advanced protocol based on TCP/IPDefault port number: 80Based on request / response model: one request corresponds to one responseStateless ...

Added by zarathu on Thu, 23 Dec 2021 14:20:52 +0200

OSPF experiment and configuration - super detailed

What is OSPF? Open Shortest Path First (OSPF) is an internal gateway protocol based on link state developed by IETF. At present, OSPF Version 2 (RFC2328) is used for IPv4 protocol and OSPF Version 3 (RFC2740) is used for IPv6 protocol. OSPF basic concepts Router ID Router ID must exist if OSPF protocol is to be run. Router ID is a 32-bit uns ...

Added by chuckjones on Thu, 23 Dec 2021 05:41:34 +0200