Node.js (II. Request response principle and HTTP protocol)
1. Server side basic concepts
1.1 IP address
Unique identification of the device in the Internet. IP is the abbreviation of Internet Protocol Address, which represents the Internet Protocol Address.
1.2 domain name
Because the IP address is difficult to remember, the concept of domain name came into being. The so-called domain name is t ...
Posted by balkar on Mon, 14 Feb 2022 17:02:16 +0100
scapy dual thread, blocking, monitoring, contracting, shaking hands, sending http requests
Involving knowledge
1. The essence of handshake and wave
In fact, I think waving and shaking hands are completely confusing concepts. The change of serial number and verification number completely depends on whether you are the data sender or receiver.
The data here only refers to the data carried in the application layer http, excludin ...
Posted by bluedogatdingdong on Fri, 11 Feb 2022 22:57:41 +0100
Dark moon penetration actual shooting range - item 8
Dark moon penetration actual shooting range - item 8
Environment construction
Network card design
What needs to be prepared are three network cards, the NAT mode network card provided by the virtual machine, and two self added 19 and 18 network cards in host mode only
Topological graph
Specific topologies of the two practical projects
...
Posted by yaatra on Fri, 11 Feb 2022 21:10:45 +0100
Implement http server with reactor
How in reactor Based on? Is how to use reactor as a server and realize the business of the server.
Based on reactor , realize simple http protocol encapsulation. Just to illustrate how reactor does business, the business logic of the real http server is very complex.
The core of the server network layer, such as nginx and redis, is epoll, and ...
Posted by Discord on Fri, 11 Feb 2022 10:39:18 +0100
30000 word express Servlet
catalogue
1, What is a Servlet
Manually implement Servlet program
2, Common configuration errors
3, How to locate the Servlet URL to the Servlet program for access
4, Servlet lifecycle
Servlet lifecycle summary
5, Distribution processing of Servlet request
Vi. realize Servlet program by inheriting HttpServlet
VII. Create Servlet progra ...
Posted by qbox on Thu, 10 Feb 2022 04:56:48 +0100
http protocol core knowledge
Write in front
This is the core knowledge of http protocol. The knowledge involved includes the separation of front and rear ends, common http problems, distributed login solution JWT, etc. it can be used to review the treasure book of eight part essay and deepen the knowledge. It is recommended that you read it in the mode of breaking through ...
Posted by snrecords on Wed, 09 Feb 2022 11:41:21 +0100
Deep understanding of computer system experiment 8 Proxy Lab
preface
Happy new year. Welcome to the last experiment in this book.
In depth understanding of computer system experiment 8: Proxy Lab download and official document machine translation, please see: https://blog.csdn.net/weixin_43362650/article/details/122770330
I think this document is very helpful to the whole experiment.
Experimental tas ...
Posted by Zetusko on Tue, 08 Feb 2022 12:30:04 +0100
Source Analysis okHttp Basic Workflow
Basic usage of okHttp
Let's briefly mention the basic usage of okHttp. okHttp can use both synchronous and asynchronous requests, although synchronous requests cannot be done in the UI thread, which can cause app crashes.
Synchronization Request
//Construct OkHttpClient
final OkHttpClient client=new OkHttpClient.Builder().build();
//Construc ...
Posted by robindean on Sat, 05 Feb 2022 18:27:57 +0100
What is a crawler? What is the principle of Python crawler
preface
In short, the Internet is a large network composed of sites and network devices. We visit sites through the browser, and the site returns HTML, JS and CSS codes to the browser. These codes are parsed and rendered by the browser to present colorful web pages in front of us;
1, What is a reptile?
If we compare the Internet to a large s ...
Posted by anthony88guy on Thu, 03 Feb 2022 07:43:48 +0100
Solutions to DNS pollution
In some enterprises, some DNS requests will be directly modified by the gateway. Cause inaccessibility. The traditional socks proxy can only proxy at the IP level. When the address to be accessed exists in the form of domain name, the DNS resolution is automatically completed by the system, and the previously set socks proxy will not be used, r ...
Posted by dannymm on Wed, 02 Feb 2022 00:03:14 +0100