In Linux, upgrade the ipp2p module-Linux Enterprise Application-Linux server application information. For more information, see. The unit has a FC4 server, and the ipp2p 0.82 module was previously installed. The effect is not bad. Some time ago, I saw an ipp2p module modified by the moderator ON THE CU, and the version was between 0.99 and 16, not only does it add more p2p filtering, but it can also filter thunder. So we first tried rhel5 in the virtual machine, and the function is enhanced a lot.
In the past two days, I started to upgrade FC4. However, when I was using version 0.99-16, I always reported an error. Later I checked it on CU, the kernel and iptables versions in the test environment of the moderator are higher than me, so I will try to downgrade the version.
Select ipp2p version 0.99-15, modify KERNEL_SRC and IPTABLES_SRC In The Makefile, and replace $ (CC) -- share with ld -- share. make is successful.
First mv/old_libipt_ipp2p.ko-path/libipt_ipp2p.ko libipt_ipp2p.ko.old
Then cp's new libipt_ipp2p.ko and ipt_ipp2p.so are directed to the corresponding position.
Problem:
1. load the script again and find that the filtering of -- ipp2p and -- xunlei is invalid.
Solution: simply re-load the script. You must stop iptables and load the script again, similar to re-load the new module.
2. The -- ipp2p option can see the DROP data packet, but -- xunlei does not
Solution: -- ipp2p can DROP data packets, indicating that there is no installation problem and there must be a conflict of policies. Check the script and find an iptables-a forward-m -- state ESTABLISHED and RELATED-j ACCEPT before -- xunlei-j DROP. If this rule is removed, it will be OK.
3. I have noted a special issue with some netizens.
Proxy by iptables and squid, -- xunlei rules can be used on the FORWARD chain, but candidate resources can still be found. Because Thunder can go through port 80, all thunder uses the INPUT chain of the gateway through the squid proxy, so it should be written as iptables-a input-m-ipp2p -- xunlei-j DROP
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service