gtk-gnutella-devel Digest, Vol 19, Issue 2

View: New views
1 Messages — Rating Filter:   Alert me  

gtk-gnutella-devel Digest, Vol 19, Issue 2

by gtk-gnutella-devel-request :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Send gtk-gnutella-devel mailing list submissions to
        gtk-gnutella-devel@...

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
or, via email, send a message with subject or body 'help' to
        gtk-gnutella-devel-request@...

You can reach the person managing the list at
        gtk-gnutella-devel-owner@...

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gtk-gnutella-devel digest..."


Today's Topics:

   1.  Can I use a firewall for output traffic? (gionnico)
   2. Re:  Can I use a firewall for output traffic? (Markus Goetz)
   3. Re:  Auto sort results by # of sources (Christian Biere)
   4. Re:  Auto sort results by # of sources (gionnico)
   5. Re:  Can I use a firewall for output traffic? (Christian Biere)
   6. Re:  Can I use a firewall for output traffic? (gionnico)
   7. Re:  Auto sort results by # of sources (Christian Biere)
   8.  New extension to share (gionnico)
   9. Re:  LimeWire doesn't want to be my leaf. (gionnico)


----------------------------------------------------------------------

Message: 1
Date: Wed, 09 Jan 2008 17:46:55 +0100
From: gionnico <gionnico@...>
Subject: [gtk-gnutella-devel] Can I use a firewall for output traffic?
To: gtk-gnutella-devel@...
Message-ID: <4784FA7F.3090200@...>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

This is my question: is it possible to block outgoing traffic and to
allow only gtk-gnutella with a good SPI firewall (iptables), that
doesn't know the application that generated it?
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 icecube communication: progettazione e sviluppo siti internet, portali, e-commerce, servizi per la visibilit? via Internet... il tuo business con noi cresce!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7351&d=9-1



------------------------------

Message: 2
Date: Wed, 09 Jan 2008 18:40:31 +0100
From: Markus Goetz <guruz@...>
Subject: Re: [gtk-gnutella-devel] Can I use a firewall for output
        traffic?
To: gionnico <gionnico@...>
Cc: gtk-gnutella-devel@...
Message-ID: <4785070F.8070603@...>
Content-Type: text/plain; charset="iso-8859-15"

gionnico wrote:
> This is my question: is it possible to block outgoing traffic and to
> allow only gtk-gnutella with a good SPI firewall (iptables), that
> doesn't know the application that generated it?

AFAIK it is possible to use iptables to filter by username or PID.

greets,
Markus


--
Markus 'guruz' Goetz
Web: http://guruz.de   Jabber: guruz@...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature

------------------------------

Message: 3
Date: Wed, 9 Jan 2008 23:42:33 +0100
From: Christian Biere <christianbiere@...>
Subject: Re: [gtk-gnutella-devel] Auto sort results by # of sources
To: gtk-gnutella-devel@...
Message-ID: <20080109224233.GA2899@cyclonus>
Content-Type: text/plain; charset=us-ascii

gionnico wrote:
> May someone do this or make an option to let the user choose if sort the
> results by "order of arrival" or by number of sources?

If you click the right pointer button (or hit shift-F10), you can enable this
in the context menu at "Preferences->Make current sorting default".  The
searches you create afterwards will use this sort order too. You can change the
sort key and order anytime by clicking on the column headers.

I would not recommend enabling this auto-sorting though because it wastes a lot
of CPU time.

--
1000 octets   = 1 ko = 1 kilooctet; 1024 octets   = 1 Kio = 1 kibioctet
1000^2 octets = 1 Mo = 1 megaoctet; 1024^2 octets = 1 Mio = 1 mebioctet
1000^3 octets = 1 Go = 1 gigaoctet; 1024^3 octets = 1 Gio = 1 gibioctet



------------------------------

Message: 4
Date: Wed, 09 Jan 2008 23:52:03 +0100
From: gionnico <gionnico@...>
Subject: Re: [gtk-gnutella-devel] Auto sort results by # of sources
To: gtk-gnutella-devel@...
Message-ID: <47855013.1080903@...>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Christian Biere ha scritto:
> gionnico wrote:
>> May someone do this or make an option to let the user choose if sort the
>> results by "order of arrival" or by number of sources?
>
> If you click the right pointer button (or hit shift-F10), you can enable this
> in the context menu at "Preferences->Make current sorting default".  The
> searches you create afterwards will use this sort order too. You can change the
> sort key and order anytime by clicking on the column headers.
I didn't know, that "make default" setting. That's great!! :D

> I would not recommend enabling this auto-sorting though because it wastes a lot
> of CPU time.
>
In a few days I'll have a quad core. :D

I have to use the power some way. ;)

Can gtk-gnutella exploit multiple cores?
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Raggruppa i tuoi finanziamenti in uno: pagherai un?unica rata fino al 50% pi? bassa della tua attuale! Clicca qui e chiedi maggiori informazioni a Prometeo!
*
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7433&d=9-1



------------------------------

Message: 5
Date: Wed, 9 Jan 2008 23:57:22 +0100
From: Christian Biere <christianbiere@...>
Subject: Re: [gtk-gnutella-devel] Can I use a firewall for output
        traffic?
To: gtk-gnutella-devel@...
Message-ID: <20080109225722.GB2899@cyclonus>
Content-Type: text/plain; charset=us-ascii

gionnico wrote:
> This is my question: is it possible to block outgoing traffic and to
> allow only gtk-gnutella with a good SPI firewall (iptables), that
> doesn't know the application that generated it?

On the same machine, the packet filter can determine the application
and the user of each outbound packet, so you could restrict it
appropriately locally. A router does not have this information and
you cannot filter outbound traffic just by looking at the port numbers
without degrading service. Outbound UDP traffic can be limited to
the source port number that your peer uses. Outbound TCP traffic
will either have the source port number of your peer or an anonymous
source port number above 1023 (usually something above 32000).

--
1000 octets   = 1 ko = 1 kilooctet; 1024 octets   = 1 Kio = 1 kibioctet
1000^2 octets = 1 Mo = 1 megaoctet; 1024^2 octets = 1 Mio = 1 mebioctet
1000^3 octets = 1 Go = 1 gigaoctet; 1024^3 octets = 1 Gio = 1 gibioctet



------------------------------

Message: 6
Date: Thu, 10 Jan 2008 00:01:30 +0100
From: gionnico <gionnico@...>
Subject: Re: [gtk-gnutella-devel] Can I use a firewall for output
        traffic?
To: gtk-gnutella-devel@...
Message-ID: <4785524A.4050607@...>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Christian Biere ha scritto:

> gionnico wrote:
>> This is my question: is it possible to block outgoing traffic and to
>> allow only gtk-gnutella with a good SPI firewall (iptables), that
>> doesn't know the application that generated it?
>
> On the same machine, the packet filter can determine the application
> and the user of each outbound packet, so you could restrict it
> appropriately locally. A router does not have this information and
> you cannot filter outbound traffic just by looking at the port numbers
> without degrading service. Outbound UDP traffic can be limited to
> the source port number that your peer uses. Outbound TCP traffic
> will either have the source port number of your peer or an anonymous
> source port number above 1023 (usually something above 32000).
>

Thanks for the UDP suggestion!
And for TCP I think at least I'll only allow traffic generated from a
high-port (and only my computer) for a little more security and less
paranoia. ;)
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Hai bisogno di un prestito? Chiedi a Prometeo qual ? l?offerta sul mercato pi? adatta a te, chiedere non costa nulla e basta un click!
*
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7431&d=10-1



------------------------------

Message: 7
Date: Thu, 10 Jan 2008 00:06:41 +0100
From: Christian Biere <christianbiere@...>
Subject: Re: [gtk-gnutella-devel] Auto sort results by # of sources
To: gtk-gnutella-devel@...
Message-ID: <20080109230641.GC2899@cyclonus>
Content-Type: text/plain; charset=us-ascii

gionnico wrote:
> > I would not recommend enabling this auto-sorting though because it wastes a lot
> > of CPU time.

> In a few days I'll have a quad core. :D
>
> I have to use the power some way. ;)

Then consider enforcing ultrapeer mode and increasing the number of leaf peers. The
latter takes a lot CPU too but it's more useful for you, for me and the entire human
race.
 
> Can gtk-gnutella exploit multiple cores?

Not at all. The advantage is that it will hardly ever interfere with anything else
you run, except for disk or network I/O of course.

--
1000 octets   = 1 ko = 1 kilooctet; 1024 octets   = 1 Kio = 1 kibioctet
1000^2 octets = 1 Mo = 1 megaoctet; 1024^2 octets = 1 Mio = 1 mebioctet
1000^3 octets = 1 Go = 1 gigaoctet; 1024^3 octets = 1 Gio = 1 gibioctet



------------------------------

Message: 8
Date: Thu, 10 Jan 2008 13:31:37 +0100
From: gionnico <gionnico@...>
Subject: [gtk-gnutella-devel] New extension to share
To: gtk-gnutella-devel@...
Message-ID: <47861029.7080505@...>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

Hello!

I think you should add tbz2 to the possibly shared files.
If there's tgz then there should be tbz2, too.

As an example, gentoo packages are compressed in "tar.bz2" using that
extension.



Bye!
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Un prestito supertasso zero spese? Oggi con Finatel ? realt?. Puoi ottenere fino a 50.000 ? anche in 24 ore. Scopri Come
*
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7370&d=10-1



------------------------------

Message: 9
Date: Thu, 10 Jan 2008 13:46:05 +0100
From: gionnico <gionnico@...>
Subject: Re: [gtk-gnutella-devel] LimeWire doesn't want to be my leaf.
To: gtk-gnutella-devel@...
Message-ID: <4786138D.9080804@...>
Content-Type: text/plain; charset=us-ascii; format=flowed

Christian Biere ha scritto:

> gionnico wrote:
>> Christian Biere ha scritto:
>>> gionnico wrote:
>>>> Why , when I'm an ultranode, about for the first 24h LimeWire leaves
>>>> don't want to connect to me?
>>>> Can I change it in gnet_properties or in the debug window someway?
>>>> What's the name of the information I send them that they don't judge
>>>> "good enough" for a ultranode?
>
>>> What version of gtk-gnutella do you use? I guess, your ultrapeer isn't
>>> considered good enough because it doesn't send the infamous "X-Requeries"
>>> header.
>
>> I'm using a SVN snapshot, with modified common.h to seem "stable".
>> How can I know what headers is my client sending, and how can I change it?
>
> Update and see whether the problem persists.
>

Christian Biere wrote:
 > gionnico wrote:
 >>> I would not recommend enabling this auto-sorting though because it
wastes a lot
 >>> of CPU time.
 >
 >> In a few days I'll have a quad core. :D
 >>
 >> I have to use the power some way. ;)
 >
 > Then consider enforcing ultrapeer mode and increasing the number of
leaf peers. The
 > latter takes a lot CPU too but it's more useful for you, for me and
the entire human
 > race.

I answer in this old thread because it was OT.
I had previously noticed this problem. Updated to SVN when you told me
it, but there's still the same problem.

1) My leaves are almost all giFT-Gnutella, Morpheus and Shareaza.

Doesn't BearShare use the ultrapeer/leaf system? I've never ever seen a
BearShare as a leaf.

What can be wrong in the configuration? Does LimeWire filter by useragent?

2) It takes very very much time: more than 48h to have more than a
hundred leaves. Why is this? Can I accelerate the process?
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Ricapil Capelli: Stop alla caduta, Via alla ricrescita, Garantito!
*
*
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7110&d=10-1



------------------------------

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

------------------------------

_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@...
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel


End of gtk-gnutella-devel Digest, Vol 19, Issue 2
*************************************************