After nginx proxy, get the real IP and do concurrent access restriction (current limiting)

When the site is running, in order to prevent DDoS attacks or data bursts caused by internal interface calls, nginx provides a limit current limiting module: HttpLimitZoneModule limits the number of concurrent accesses at the same time. HttpLimitReqModule limits access to data, up to a few requests per second. 1. Normal configuration: What is a […]

Summary of all aspects of getting started with SpringCloud Alibaba components (Part 1): registration center-nacos, load balancing-ribbon, remote calling-feign

Article directory Nacos Ribbon Feign FeignExpansion Nacos Concept: Nacos is a new open source project launched by Alibaba. It is a dynamic service discovery, configuration management and service management platform that makes it easier to build cloud native applications. Nacos is committed to helping users discover, configure and manage microservices. It provides a simple and […]

libusb gets the Windows device instance path DevicePath

The interface provided by the libusb.h header file in the current version of libusb (1.0.26) seems to have no way to obtain the device instance path related to the Windows platform. It looks like: \?\usb#vid_04ca & amp;pid_7070#5 & amp;20d34a76 & amp;0 & amp;6#{a5dcbf10-6530-11d2-901f-00c04fb951ed} Only interfaces such as libusb_get_port_numbers are provided to obtain the topology. We […]

Getting started with git commands

Reference Liao Xuefeng git tutorial-recommended git diagram Branch naming convention ps: The pictures are all other people’s 1.Basic concepts Region Four areas: Working Directory, Staging Area (stage/index), Local Repository, and Remote Repository. The relationship between them is as follows: – branch Master branch (master/main) (the master branch is always the stable version available and cannot […]

How AJAX uses get requests to submit data to the server and achieve partial data refresh——AJAX

<!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <title>Title</title> </head> <body> <script type=”text/javascript”> window.onload = function () { document.getElementById(“btn”).onclick = function () { var ajax = new XMLHttpRequest(); ajax.onreadystatechange = function () { if(ajax.readyState === 4) { if(ajax.status === 200) { document.getElementById(“mySpan”).innerHTML = ajax.responseText; } else { alert(ajax.status); } } } //Open channel var username = […]

Network Principles—Getting to Know the HTTP Protocol: Requests and Responses

Article directory Recognition request first line URL URL format URL encode and decode version number method GET method POST method GET VS POST Request header: header Host Content-Length and Content-Type User-Agent(UA) Referer Cookies blank line Text: body How to construct an HTTP request? The browser constructs its own HTML structure ajax construct Third-party tools: postman […]

MyFileServer_3 target machine

Information collection Use arp-scan to find the IP. After excluding this, we get our target IP as 192.168.187.175 nmap scan port scan TCP input the command; nmap -min-rate 10000 -p- 192.168.187.175 There are more open ports UDP input the command: nmap -sU -min-rate 10000 -p- 192.168.187.175 Processing port information Since there are many scanning ports, […]

Target detection algorithm improvement series: Backbone replaced by VanillaNet

Introduction to VanillaNet Introduction: VanillaNet is a neural network architecture that incorporates elegance into its design. By avoiding complex operations such as high depth, shortcut, and self-attention, VanillaNet is simple and powerful. Each layer is crafted to be compact and straightforward, with non-linear activation functions pruned after training to restore the original framework. VanillaNet overcomes […]