Skip to contentSkip to conversation

gnutella

DISCUSSION Michel Bellemare 4 participants 5 messages Oct 21, 2004

lore
Share & tools
lore
#0 lore raw

is there any way to log all the traffic that uses the gnutella protocol? i searched in the mailing list and google and found nothing.

I looked to at a tcpdump capture and it never uses the same port...

basically i want to control the number of bytes that goes out using this protocol.

thank you very much!

#1 lore raw
Quoted 9 lines · Michel Bellemare

is there any way to log all the traffic that uses the gnutella protocol? i searched in the mailing list and google and found nothing.

I looked to at a tcpdump capture and it never uses the same port...

basically i want to control the number of bytes that goes out using this protocol.

thank you very much!

you need a layer-7 classifier to magically figure out whether traffic on port X is gnutella traffic.

you can try looking at:

http://l7-filter.sourceforge.net/

-j

Signature · 1 line
Jason Opperisano <[email protected]>
#2 lore raw
In reply to Michel Bellemare

You can do this for local traffic by using the owner module and :

	--cmd-owner

For a whole network I see any solutions but slightly modify the NuFW system to be able to mark packet with an uid corresponding to the application (same way it can mark with userid).

Quoted 10 lines · Michel Bellemare

is there any way to log all the traffic that uses the gnutella protocol? i searched in the mailing list and google and found nothing.

I looked to at a tcpdump capture and it never uses the same port...

basically i want to control the number of bytes that goes out using this protocol.

thank you very much!

Signature · 2 lines
Eric Leblond <[email protected]>
NuFW, Now User Filtering Works : http://www.nufw.org
#3 lore raw

And is there any way to log how many bytes the application is using with each packet?

Quoted 25 lines · Eric Leblond

You can do this for local traffic by using the owner module and :

        --cmd-owner

For a whole network I see any solutions but slightly modify the NuFW system to be able to mark packet with an uid corresponding to the application (same way it can mark with userid).

Quoted 10 lines · Michel Bellemare

is there any way to log all the traffic that uses the gnutella protocol? i searched in the mailing list and google and found nothing.

I looked to at a tcpdump capture and it never uses the same port...

basically i want to control the number of bytes that goes out using this protocol.

thank you very much!

--
Eric Leblond <[email protected]>
NuFW, Now User Filtering Works : http://www.nufw.org

#4 lore raw
In reply to Michel Bellemare

Hello Michel,

You need layer7 functionality in iptables. There is a good pattern available for matching gnutella packets with layer7 module. Using the MARK option and traffic control (tc) you will be able to restrict the bandwidth consumed by the application.

Here is the documentation on this module:
http://l7-filter.sourceforge.net/

Hope this helps!
Regards,

Deepak Seshadri

Quoted 16 lines

-----Original Message-----
From: [email protected] [mailto:netfilter- [email protected]] On Behalf Of Michel Bellemare
Sent: Thursday, October 21, 2004 10:24 AM
To: Netfilter Group
Subject: gnutella

is there any way to log all the traffic that uses the gnutella protocol? i searched in the mailing list and google and found nothing.

I looked to at a tcpdump capture and it never uses the same port...

basically i want to control the number of bytes that goes out using this protocol.

thank you very much!