Article Title: Using ipp2p to ban BT. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
RH AS3 kernel: 2.4.21-15.el. Iptables version: 1.2.9
1. download the latest patch-o-matic-ng patch and the latest iptables source code. Put it under/usr/src
2. If the kernel source code is not installed in your system, install it on your own. Decompress the patch-o-matic-ng and iptables packages.
Tar-jxvf patch-o-matic-ng-20050302.tar.bz2
Tar-jxvf iptables-1.31..tar.bz2
3. patch the kernel
Cd/usr/src/patch-o-matic-ng-20050302
# KERNEL_DIR =/usr/src/The linux-2.4 IPTABLES_DIR =/usr/src/iptables-1.3.1./runme extra
Follow the prompts to install the appropriate patch. I only select ipp2p, connlimit, and time modules.
4. Compile the kernel
Cd/usr/src/linux-2.4
Make prproper
Make config
In the first half, press Enter. When you encounter network option, select the required module.
Then press enter all the way to the end.
Make dep
Make clean
Make bzImage
Make modules
Make modules_install
Make install
Reboot
Start new kernel
5. Compile iptables
Cd/usr/src/iptables-1.3.1
Make KERNEL_DIR =/usr/src/linux-2.4
Make BINDIR =/sbin LIBDIR =/lib MANDIR =/usr/share/man install
If there are no errors, upgrade iptables to Version 1.3.1.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.