Socket kernel data structure

In the previous section, we talked about the calling process of Socket in TCP and UDP scenarios. In this section, we will follow this process to the kernel to find out what data structures have been created and what things have been done in the kernel. Parsing socket function Let's start with the Socket system call. SYSCALL_DEFINE3(socket, i ...

Posted by drorgo on Wed, 03 Nov 2021 22:43:41 +0100

Arrange several useful intranet penetration tools (plus tutorials)

0x00 Preface From the perspective of penetration, this paper summarizes several commonly used personal intranet penetration and Intranet proxy tools, and introduces their simple principles and use methods. 0x01 nps-npc 1.1 Introduction nps is a lightweight, high performance and powerful intranet penetration proxy server. At present, it s ...

Posted by JehovahsWord on Wed, 03 Nov 2021 17:20:46 +0100

Difference between Linux commands su and sudo

Difference between Linux commands su and sudo catalogueDifference between Linux commands su and sudo1. Preparation2. Introduction and main usage of Su command2.1 - parameters2.1.1 su switching2.1.2 su - switching2.2 switch to the specified user2.3 -c parameters3. Introduction and main usage of sudo command3.1 main usage3.2 sudo working principl ...

Posted by netbros on Wed, 03 Nov 2021 02:35:43 +0100

SRE Operations and Maintenance Engineer Notes - Introduction to Linux Foundation

1. Linux Foundation 1.1 User Type root user A special administrative account Also known as superuser root is close to full system control Almost unlimited capacity for system damage Do not log on as root unless necessaryNormal (Unprivileged) User Limited permissions Limited capacity to cause damage 1.2 terminal Device terminal: keyboar ...

Posted by HockeyDevil07 on Tue, 02 Nov 2021 20:51:02 +0100

Framebuffer programming summary, I hope everyone can learn

🌹 Introduction of 0.FrameBuffer Framebuffer is a driver interface that appears in the 2.2.xx kernel. In Linux system, LCD is controlled by framebuffer driver. Frame means frame and buffer means buffer, which means that framebuffer is a piece of memory that holds a frame of image. We can understand that each point is a pixel. The units of ...

Posted by fxb9500 on Tue, 02 Nov 2021 20:40:48 +0100

Linux_ Logical Volume Management Actual

Management Logical Volume Management LVM Concepts When we partition, format and mount partitions on regular hard disks, we find that there is not enough disk space or that the disk allocation is too large. If you need to re-plan your hard drive, you need to re-format your hard drive drive. Of course, you will not have any data on your hard dri ...

Posted by phamenoth on Tue, 02 Nov 2021 20:36:43 +0100

Linux driver development | kernel timer

Linux kernel timer 1. Kernel time management Many functions in Linux kernel need time management, such as periodic scheduler, delay program and timer. The hardware timer provides the clock source. The frequency of the clock source can be set. After setting, the timing interrupt will be generated periodically. The system uses the timing interr ...

Posted by Flames on Mon, 01 Nov 2021 04:19:56 +0100

Chapter IX disk storage and file system management

1. Disk structure 1.1 equipment documents Everything is a file: open(), read(), write(), close() Device file: associated with a device driver, which can communicate with the corresponding hardware device Equipment number: Main equipment number: major number, which identifies the equipment typeSecondary equipment number: minor number, which ...

Posted by stomlin on Mon, 01 Nov 2021 02:19:25 +0100

Teach you how to deploy the program to the server

Local deployment project tutorial However, many small partners will not deploy the program to the server and arrange: For details, see the video tutorial: https://www.bilibili.com/video/BV1Jr4y1P7pf?spm_id_from=333.999.0.0 1, Import centos7 virtual machine: Open VMWare, click "open virtual machine", select centos7.ova ...

Posted by izua on Sun, 31 Oct 2021 17:24:23 +0100

Operating system practice - environment configuration, simulating hard disk with files

kernel image GRUB bootloader is obviously unrealistic if it wants to load the kernel at one time. Because the kernel is composed of multiple files, we should package multiple files into one file as much as possible. This encapsulated file is called the kernel image file: These include: Secondary bootstrap module Kernel module And picture and ...

Posted by wmvdwerf on Sat, 30 Oct 2021 10:14:44 +0200