In Linux system operation, abnormal traffic and other issues are encountered during security monitoring and testing, which requires multi-way mirroring traffic on the Linux kernel. Aggregation and replication are handled, so how do you do this? Let's learn together with Xiaobian.
architecture
kernel module process is relatively simple, the forwarding configuration from user mode to kernel modules, such as & rdquo; eth1 @ eth2_eth1 @ eth3_eth1 /eth4 @ eth5 & ldquo ;, this The configuration is:
Traffic from eth1, copied to eth2 and eth3
Traffic from eth1 and eth4, aggregated to eth5
MIRROR kernel module, only need to implement Parameter reading, configuration analysis, network card judgment (source, purpose) can be.
algorithm code implements
Parameter Input
is the function code, such as the aforementioned & ldquo; eth1 @ eth2_eth1 @ eth3_eth1 /eth4 @ Eth5“ Such parameters are split according to ”_”, submitted to the parameter setting function in stages, <;option_setup>;
Parameter setting
Previous123Next page Total 3 pages
In Linux, many people dont understand the meaning of the variable parameter $ in th
Many users want to install kernel cast files on CentOS. In fact, the installation m
Rescue mode, as its name suggests, is to maintain the Linux system mode. When the /
The main role of the Dmidecode command in Linux systems is to obtain hardware information, including
How Linux uses commands in sysstat
Using the find command in Linux to find files How to ignore certain directories
Linux installation steps using Axel
Linux set swap swap partition steps
Summary of methods for getting help from Linux
What should I do if the U disk file is read-only on Ubuntu and cannot be deleted?
Installing Linux mint graphic tutorial with U disk under Windows
RedHat 6 uses xrdp to log in to Windows Remote Desktop
How to configure network under Debian system
RedHat software source prompt Unable to read consumer identity?
Master tricks: Windows 8 automatically restart after the shutdown solution
How to make/replace the Win7 system folder icon?
Win10 th2 official version update cumulative patch KB3116908 failed to install?
IIS installation and website release under Win8
The computer is constantly restarted after installing XP SP2
8.1 Development version at a glance
Time synchronization in WinXP SP2
A large wave of Windows ARM tablets is coming soon
Win10's first DX12 game: Singularity Ashes released next week Configuration requirements announced