Message service imitating Taobao open platform -- server message log processing

overall design The message log is an important basis for the normal operation and abnormal troubleshooting of the monitoring system. The log is divided into two parts. One part is the disk log, which records the specific contents of all messages received and sent. This part of the log is stored on the disk file in the form of text, which is ma ...

Posted by Alk3m1st on Wed, 12 Jan 2022 00:49:08 +0100

Linux firewall -- IPtables configuration strategy

Python wechat ordering applet course video https://edu.csdn.net/course/detail/36074 Python practical quantitative transaction financial management system https://edu.csdn.net/course/detail/35475 Reading catalog 1, Introduction to firewall2, Introduction to IPtables3, iptables package filtering process iptables workflow 4, 4 Table 5 chain ...

Posted by curb on Tue, 11 Jan 2022 22:24:15 +0100

Memory Forensics--

Memory Forensics Forensics file suffix raw,. vmem,. imgCommon commands (imageinfo, pslist, dumpfiles, memdump)Suspicious process (notepad, cmd)Combined with disk ForensicsUnderstand some operating system principlesCommon file suffixes dmg, img Volatile basic commands You can use the - h parameter to get the usage method and plug-in introduct ...

Posted by ababmxking on Tue, 11 Jan 2022 15:58:38 +0100

Linux system programming - (pthread) thread communication (mutex)

This article introduces the thread synchronization and mutex mechanism under Linux - mutex lock. When multiple threads are concurrent, multiple consumers will get data. In this case, the data needs to be protected. For example, like the train ticket system and the bus ticket system, the total number of tickets is fixed, but there are many ticke ...

Posted by Boo-urns on Tue, 11 Jan 2022 15:08:51 +0100

Advanced and elegant remote operation of the server: understanding the Python module Paramiko

preface During the test process, we often encounter the need to upload local files to the remote server, or pull the files on the server to the local for operation. In the past, we often used the xftp tool. Today, let's introduce a Python library Paramiko, which can help us upload and download remote servers through code, or input operation ...

Posted by aka_bigred on Tue, 11 Jan 2022 12:07:07 +0100

Who is occupying my port in Linux

The prompt Address already in use must have been encountered. How can we quickly find and solve the problem? Here are several postures to learn about When troubleshooting network connectivity or application specific problems, one of the first things to check should be which ports are actually used on the system and which application is liste ...

Posted by nadz on Tue, 11 Jan 2022 10:52:36 +0100

makefile concise tutorial

5 Makefile project management Script file: put a series of commands in a file for batch execution Name: makefile Makefile One rule: Objectives: dependencies Command (1 table indent before the command) Two functions: #The wildcard function, together with wildcards, finds all the files in the folder . c Documents src=$(wildcard ./*.c) #P ...

Posted by noise on Tue, 11 Jan 2022 01:57:15 +0100

Apache configuration and web page optimization

Building a virtual Web host Virtual iweb host refers to running multiple web sites in the same server, in which each site does not actually occupy the whole server independently, so it is called "virtual" web host. Through the virtual web host service, we can make full use of the hardware resources of the server, so as to greatly ...

Posted by Mortana on Mon, 10 Jan 2022 17:25:03 +0100

iptables rule summary

Five chains and four tables Concept of chain After iptables is enabled, the data message will pass through five checkpoints from entering the server to exiting, namely pre routing, input, output, forward and post routing There are multiple rules in each level. Data packets must match these rules one by one in order. These rules are connect ...

Posted by jaytux on Mon, 10 Jan 2022 16:47:35 +0100

[January 10, 2022] raspberry pie with peanut shell

Basic information Hardware configuration: Raspberry pie 4B 4G SDCart burn in system: Raspberry Pi OS Lite 2021-10-30 System creation and connection Mirror first Raspberry Pi OS Lite 5.10 adopt Win32 Disk Imager Burn it into the SD card. There are many ways for the computer to communicate with raspberry pie. It is recommended that th ...

Posted by mogster on Mon, 10 Jan 2022 15:01:39 +0100