Hi,
gtkg's UDP firewall detection doesn't work correct.

I'm running as a leaf node. When I connect to a new UP, gtkg detects 
that I'm not UDP-firewalled and a yellow smiley appears. So apparently 
the firewall state is tested on a new UP connect. But when I leave it 
running unattended for several hours, so that it is connected to some 
very stable UPs, it suddenly starts thinking that I'm UDP-firewalled. 
From now on, my searches will be sent without the OOB flag, which is 
quite sub-optimal IMO.

Three possible solutions come into my mind:

1.
Is there any way to repeat the firewall test every once in a while? This 
could be used to refresh the firewall assumption.

2.
There could be a config switch saying: "I know that I'm really not 
UDP-firewalled, I know what I'm doing, force-enable UDP/OOB!",
overriding the automatic detection.

3.
The solution could come as a side-effect of a completely other issue:
I was always thinking that GTKG needs a way to steadily "evolve" the 
quality of its gnet connection by regularly seeking new UP connections 
and then dropping the connection with the lowest "quality" (of whatever 
measure). As this includes new UP connections at a regular basis, a 
side-effect would be a regular refresh of the UDP-firewall assumption.

Greetz,
Hauke Hachmann


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to