TCP/IP network programming Yin Shengyu
Preparation of connection oriented server and client
Understanding TCP and UDP
According to different data transmission modes, sockets based on network protocol are generally divided into TCP sockets and UDP sockets. Because TCP socket is connection oriented, it is also called strea ...
Posted on Sat, 25 Sep 2021 05:37:22 -0400 by tyrnt
The flywheel of eBPF is still rotating rapidly. Since the Linux kernel version 5.6 supports the ability of eBPF program to modify TCP congestion algorithm, it can be realized by modifying the pointer of congestion function structure in the kernel in user state; In version 5.13, thi ...
Posted on Wed, 22 Sep 2021 09:33:06 -0400 by Kifebear
Standard IO is used to read and write byte streams. Before IO, create a stream object. The stream object reads and writes by byte
, byte by byte to read or write. NIO abstracts IO into blocks, similar to disk reading and writing. The unit of each IO operation is a block. After the block is read into memory, it is a byte . NIO can read or ...
Posted on Tue, 21 Sep 2021 15:26:57 -0400 by venkyphp
Review of the previous tutorial
ServerSocket --Monitor the connection of the client. Its main function is to establish a connection
-ServerSocket -Establish a connection and get one Socket
-Telnet 127.0.0.1 8888- Client use Telnet Access the server to establish a connection
-The server can get one Socket Object of
-Gets the input / output st ...
Posted on Tue, 21 Sep 2021 04:46:44 -0400 by soak
Netfilter network framework into Linux kernel
Initial publication Nuggets
The author has done some research on Linux kernel related modules to realize kernel level communication encryption and video stream encryption, including Linux kernel network protocol stack, Linux kernel communication module, Linux kernel encryption module, secr ...
Posted on Tue, 21 Sep 2021 03:17:43 -0400 by awpti
0x00 host scanning technology
The typical is ping scanning. The traditional ping scanning sends ICMP echo request message to the target host to judge whether the target host is online. More advanced ping uses ARP, TCP and UDP protocols.
Scan specific IP
└─$ nmap -sP 192.168.17.131
Starting Nmap 7.91 ( https://nmap.org ) ...
Posted on Thu, 16 Sep 2021 13:53:52 -0400 by V-Man
Review: basic Linux operations
ctrl A to the beginning of the command linectrl E to the end of the command lineifconfig view network statusmv file renamecp copy files to vim basic operation
In command mode:
Jump directly to a line: line number + GCopy the line where the cursor is located and paste to the next ...
Posted on Tue, 14 Sep 2021 18:49:31 -0400 by tambo
Occasionally do an internship, then year appraisal and other miscellaneous things (also shake, king...)
Some basic concepts
Blocking and non-blocking
Refers to the state of the caller before the result of the call is returned
Blocking: No other action can be taken while making a request waiting for the result of the request
Non-blocking: A ...
Posted on Sun, 12 Sep 2021 12:09:51 -0400 by markduce