OpenWrt kernel module development - ip address filtering through linux netfilter framework

ip_filter Function introduction Register the hook function to the netfilter framework through the kernel module, analyze the ip header information, extract the source ip and destination ip, and filter after matching to the specified ip address. network layer The network layer introduces the IP protocol and formulates a set of new addres ...

Added by webdata on Mon, 17 Jan 2022 12:12:57 +0200

Super practical ELK log analysis system

1, ELK 1. ELK introduction ELK platform is a complete set of centralized log processing solution, which combines ElasticSearch, Logstash and Kibana to meet more powerful user requirements for log query, sorting and statistics. Elastic search: it is a distributed storage search engine based on Lucene (a full-text search engine architec ...

Added by TodManPlaa on Mon, 17 Jan 2022 00:44:00 +0200

Linux - install JDK, Tomcat and Docker

Linux (VIII) -- install JDK, Tomcat and Docker There are generally three ways to install software: rpm: use the rpm command to install the package with the extension ". rpm"decompression Install online using yum or up2date 1. rpm install JDK and publish project 1. Official website download address: https://www.oracle.com/java/ ...

Added by dcgamers on Mon, 17 Jan 2022 00:22:47 +0200

docker compose of docker three swordsmen (configure haproxy+nginx load balancing)

1, Introduction to docker compose 1. The application system of microservice architecture generally includes several microservices, and each microservice will generally deploy multiple instances. If each microservice needs to be started and stopped manually, it can be imagined that the efficiency is low and the amount of maintenance is larg ...

Added by spiffy577 on Mon, 17 Jan 2022 00:14:58 +0200

ssh Remote execution of nohup command does not exit

introduce Under Linux system, the default user root is used There is a script test in the home directory of the remote target machine SH, executable permission. There is only one command: sleep 10 Execute on local machine ssh target "nohup ./test.sh &" As a result, ssh does not exit immediately and waits for test Exit after sh execut ...

Added by overlordhu on Sun, 16 Jan 2022 22:41:42 +0200

Interrupt independent key

1, Fundamentals of interruption 1. What is interruption Interrupt means that the CPU needs to stop the execution of the current program, turn to deal with emergencies, and return to the original program after processing. 2. Hardware interrupt and software interrupt Hardware interrupt generally refers to the interrupt request sent by the ...

Added by SerpentSword on Sun, 16 Jan 2022 22:01:14 +0200

Introduction to basic instructions of GDB debugging

Introduction to GDB show language can view the current debugging environment languageset language to view all languages supported by GDBSet language < language > can set up the current debugging environment language. What is GDB? GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it ...

Added by masalastican on Sun, 16 Jan 2022 19:33:58 +0200

LINUX network settings

catalogue View network configuration Test network connection Using the network configuration command Modify network profile summary View network configuration View network interface information ifconfig View host name hostname View the route table entry route View network connectivity netstat Get socket statistics ss Test network co ...

Added by ClaytonBellmor on Sun, 16 Jan 2022 17:12:39 +0200

PostgreSQL generates RESTful artifact PostgREST

When we want to operate on the client side of PostgreSQL, we need to access the database from the remote end. At this time, PostgreSQL artifact PostgREST can be launched. PostgREST is a server that can help us generate a series of restful APIs for operating PostgreSQL databases. I also tried to use NGX in Nginx directly before_ The Postgres mod ...

Added by thepip3r on Sun, 16 Jan 2022 15:42:53 +0200

Process source language --- fork

1, Process source language The process related API provided by the system completes multi process development. fork process creation, exec process function overloading, wait process recycling, waitpid process recycling. (upgraded version of wait function) 2, fork 1. Fork originally means fork, which represents the process relationship with the ...

Added by BioBob on Sun, 16 Jan 2022 08:18:54 +0200