IPP2P v0.5 not working and more...
Hi all,
1 - I'm trying to use IPP2P v0.5, but it's not working.... It compiled with no errors, and i installed as described in the official web-page. I set the rules but all the P2P traffic stays normal.... When i do the SAME proccess with IPP2P v0.4, the P2P traffic is correctly blocked....
What's happening?
2 - I'm do not need to block P2P traffic, just limit to a given rate. But i'm having dificulties to create the appropriate rules and marks (TC with HTB) in wondershaper. Can someone help me?
3 - Do IPP2P blocks/limits the IMESH network? I do know that the Soulseek Network it's not affected, but anyway... SLSK clients do consume the entire bandwith if there are others clients are using too right?
My box:
Red Hat - 9
Kernel - 2.4.20-8
Iptables - 1.2.7a
Routing between 2 ethernet interfaces - eth0 is LAN and eth1 is WAN...
Thanks a lot,
LEANDRO TRAVAGLIA - BRAZIL
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.618 / Virus Database: 397 - Release Date: 9/3/2004
Hi,
Quoted 5 lines
1 - I'm trying to use IPP2P v0.5, but it's not working.... It compiled with no errors, and i installed as described in the official web-page. I set the rules but all the P2P traffic stays normal....
When i do the SAME proccess with IPP2P v0.4, the P2P traffic is correctly blocked....
What version do you use? If it's IPP2P 05 try the updated version 05b. If this does not help post your ruleset and an output of "iptables -L -n -v -x" for the appropriate table here please.
Quoted 3 lines
2 - I'm do not need to block P2P traffic, just limit to a given rate. But i'm having dificulties to create the appropriate rules and marks (TC with HTB) in wondershaper. Can someone help me?
I've never tried the wondershaper script myself but according to information from IPP2P users this shall work.
Quoted 4 lines
3 - Do IPP2P blocks/limits the IMESH network? I do know that the Soulseek Network it's not affected, but anyway... SLSK clients do consume the entire bandwith if there are others clients are using too right?
Well not yet - the supported p2p-networks are:
-eDonkey
-KaZaA
-Gnutella
-Direct Connect
-BitTorrent (working well for me but still beta)
-AppleJuice (still beta)
If this feature is very important to you and if you are willing to do some testing for me I'll take some time and try to implement these networks. I was going to do this anyway but not at the moment.
Regards
Signature · 6 lines
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello,
Hi,
#What version do you use? If it's IPP2P 05 try the updated version 05b. If #this does not help post your ruleset and an output of "iptables -L -n -v -x" #for the appropriate table here please.
I'm tried to use v0.5b.... but it not worked. Now i'm using v0.4 with no problems... The rule i'm using...:
iptables -I FORWARD -p tcp -m ipp2p --ipp2p -j DROP
The command iptables -L -n -v -x returns:
Chain INPUT (policy ACCEPT 388 packets, 97441 bytes)
pkts bytes target prot opt in out source dest
ination
929 186369 RH-Lokkit-0-50-INPUT all -- * * 0.0.0.0/0
0.0.0.0/0Chain FORWARD (policy ACCEPT 10960 packets, 6220585 bytes)
pkts bytes target prot opt in out source destination
317 36866 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 ipp2p v0.4 --ipp2p
21307 10219893 RH-Lokkit-0-50-INPUT all -- * * 0.0.0.0/0 0.0.0.0/0
Chain OUTPUT (policy ACCEPT 866 packets, 152845 bytes)
pkts bytes target prot opt in out source dest
ination
Chain RH-Lokkit-0-50-INPUT (2 references)
pkts bytes target prot opt in out source dest
ination
0 0 ACCEPT udp -- * * 200.150.13.244 0.0.0.
0/0 udp spt:53 dpts:1025:65535
0 0 ACCEPT udp -- * * 200.150.13.243 0.0.0.
0/0 udp spt:53 dpts:1025:65535
0 0 ACCEPT udp -- * * 200.150.4.5 0.0.0.
0/0 udp spt:53 dpts:1025:65535
31 5173 ACCEPT udp -- * * 200.150.4.4 0.0.0.
0/0 udp spt:53 dpts:1025:65535
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.
0/0 tcp dpt:80 flags:0x16/0x02
4 192 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.
0/0 tcp dpt:21 flags:0x16/0x02
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.
0/0 tcp dpt:22 flags:0x16/0x02
9 432 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.
0/0 tcp dpt:25 flags:0x16/0x02
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.
0/0 tcp dpt:23 flags:0x16/0x02
0 0 ACCEPT udp -- eth0 * 0.0.0.0/0 0.0.0.
0/0 udp spts:67:68 dpts:67:68
81 26636 ACCEPT udp -- eth1 * 0.0.0.0/0 0.0.0.
0/0 udp spts:67:68 dpts:67:68
62 3100 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.
0/0
10654 4046161 ACCEPT all -- eth0 * 0.0.0.0/0 0.0.0.
0/0
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.
0/0 tcp dpts:0:1023 flags:0x16/0x02 reject-with icmp-port-unreachable
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.
0/0 tcp dpt:2049 flags:0x16/0x02 reject-with icmp-port-unreachable
47 6542 REJECT udp -- * * 0.0.0.0/0 0.0.0.
0/0 udp dpts:0:1023 reject-with icmp-port-unreachable
0 0 REJECT udp -- * * 0.0.0.0/0 0.0.0.
0/0 udp dpt:2049 reject-with icmp-port-unreachable
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.
0/0 tcp dpts:6000:6009 flags:0x16/0x02 reject-with icmp-port-unreachabl
e
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:7100 flags:0x16/0x02 reject-with icmp-port-unreachable
At this setup... everything goes fines. But if try to use v0.5b, nothing happens... I stop iptables
remove the ipt_ipp2p.o mod (v0.4)
configue the Makefile of the 0.5b version
install libipt_ipp2p.so - overwriting the old one
run insmod ipt_ipp2p.o successfully
set iptables -I FORWARD -p tcp -m ipp2p --ipp2p -j DROP
NOTHING HAPPENS - Kazaa can download files again....
#I've never tried the wondershaper script myself but according to information #from IPP2P users this shall work.
Do you use any kind of traffic shaper? What's your configuration/rules?
#Well not yet - the supported p2p-networks are:
#-eDonkey
#-KaZaA
#-Gnutella
#-Direct Connect
#-BitTorrent (working well for me but still beta)
#-AppleJuice (still beta)
#
#If this feature is very important to you and if you are willing to do some #testing for me I'll take some time and try to implement these networks. I was #going to do this anyway but not at the moment.
Well... suport for these networks would be great. And yes... i can do some tests for you.....
I'm testing the setup using Kazaa Lite and Overnet.....
Thanks a lot.
LEANDRO TRAVAGLIA
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.619 / Virus Database: 398 - Release Date: 10/3/2004
Hi,
Quoted 2 lines
I'm tried to use v0.5b.... but it not worked. Now i'm using v0.4 with no problems...
There has been a bug introduced with IPP2P 0.5rc1 wich lets kazaa downloads still go through but this bug was fixed in 0.5a. I'll take a look at the current code again.
Quoted 2 lines
The rule i'm using...:
iptables -I FORWARD -p tcp -m ipp2p --ipp2p -j DROP
Rule is fine.
Quoted 6 lines
remove the ipt_ipp2p.o mod (v0.4)
configue theMakefileof the 0.5b version install libipt_ipp2p.so - overwriting the old one run insmod ipt_ipp2p.o successfully
set iptables -I FORWARD -p tcp -m ipp2p --ipp2p -j DROP NOTHING HAPPENS - Kazaa can download files again....
I'll review the kazaa code. Can you give me the output of iptables running IPP2P 0.5b again please? If you're using different p2p networks at once split it into serveral rules like this:
iptables -A FORWARD -p tcp -m ipp2p --edk -j DROP
iptables -A FORWARD -p tcp -m ipp2p --kazaa -j DROP
iptables -A FORWARD -p tcp -m ipp2p --gnu -j DROP
etc.
and give me the output.
Quoted 1 line
Do you use any kind of traffic shaper? What's your configuration/rules?
As posted on the official homepage example #2. I'm not dropping packets im shaping them.
Quoted 2 lines
Well... suport for these networks would be great. And yes... i can do some tests for you.....
This weekend I'll take a look at this and the kazaa thing as well. I'll report back to you here with any news.
Regards
Signature · 6 lines
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi,
I got the time to use an equal setup like yours to test the drop rule.
Quoted 1 line
NOTHING HAPPENS - Kazaa can download files again....
Well, i grabbed KaZaA lite (K++) today, installed it on my system (wich is connected to the internet trough a NATing router). IPP2P 0.5b was working perfectly fine, I used the following rule to test:
iptables -t filter -I FORWARD 1 -p tcp -m ipp2p --kazaa -j DROP
I could not download any more and iptables output looked like this:
Chain FORWARD (policy ACCEPT 31525 packets, 1506K bytes)
pkts bytes target prot opt in out source
destination
11 4780 DROP tcp -- * * 0.0.0.0/0
0.0.0.0/0 ipp2p v0.5b --kazaa
Removing the DROP rule let me download files again. So make sure that you're insmodding the right ipt_ipp2p.o and that your DROP-rule is in the appropriate place. I'll look at IMESH and Soulseek tomorrow.
Regards
Signature · 6 lines
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/