[freenet-support] Freenet 0.7.5 build 1349

2011-02-10 Thread Matthew Toseland
Freenet 0.7.5 build 1349 is now available. This is another attempt to fix 
announcement/opennet bootstrapping and Update Over Mandatory on old nodes 
(which appear to be flooding the announcement mechanism). The main changes 
include:
- Give nodes more time to connect since it seems announcement can take some 
time to return the announced noderefs.
- Process the announcement noderef transfers in parallel so we can return the 
noderefs as soon as possible, one won't get stuck behind another (note this was 
theoretically exploitable, no evidence it has been though). IMHO this is a 
likely reason for the problems we've been having - when I look at my main node, 
announcements come in and are handled and work fine; when I look at a new node 
trying to announce, or an old node trying to announce, the picture is radically 
different. And on the node handling an announcement, I frequently see that a 
node (especially an old node) gets announced and then never connects - so we 
can't send it the update package.
- Accept TOO OLD peers a bit more often, while still respecting the limits set 
out in 1347: don't worry about the overall limit, related changes.

Please upgrade ASAP! I have set a longish mandatory (the 17th), but IMHO this 
has a good chance of allowing old nodes to successfully announce and update, 
eliminating most of the load from old nodes announcing and failing to update, 
improve announcement generally, and hopefully get bootstrapping back to 
something like the fairly good performance we had for most of last year.

Thanks! Please report any problems.

Sorry for all the difficulties we've been having recently, there have been many 
reasons for these, but I hope we are getting a handle on them; certainly I have 
a better idea what's going on now...


signature.asc
Description: This is a digitally signed message part.
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe

[freenet-support] Freenet 0.7.5 build 1348

2011-02-10 Thread Matthew Toseland
Freenet 0.7.5 build 1348 is now available, please upgrade, it will be mandatory 
on Monday. This build fixes a bug in 1347 that caused us to reject all TOO OLD 
nodes, at announcement time, on the nodes it is announced to. They could still 
swamp the seednodes, and probably are still doing so. Hopefully the changes in 
1347 and 1348 combined will result in old nodes being able to announce and 
update via Update Over Mandatory, and thus to stop spamming announcement, and 
hopefully that will result, in a few days, in significantly improved opennet 
bootstrapping performance.

Please let us know how it goes.

Thanks!


signature.asc
Description: This is a digitally signed message part.
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe

[freenet-support] Freenet 0.7.5 build 1347

2011-02-10 Thread Matthew Toseland
Freenet 0.7.5 build 1347 is now available. This build improves update over 
mandatory and related code. It appears that there are a significant number of 
nodes around build 1320 that are unable to update via UOM, and are constantly 
announcing as a result. Hopefully this will fix this. Amongst other changes it 
introduces a limit on the number of TOO OLD peers and makes the node stay 
connected to them as long as a viable UOM transfer is running. Please upgrade! 
Thanks. 1347 will be mandatory on Monday, but hopefully it will be possible to 
test the changes tomorrow.


signature.asc
Description: This is a digitally signed message part.
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe

[freenet-support] Freenet 0.7.5 build 1346

2011-02-10 Thread Matthew Toseland
Freenet 0.7.5 build 1346 is now available. Please upgrade, it will be mandatory 
on Friday. 
Changes include:
- Do not accept too-old opennet nodes as peers of seednodes in announcement. We 
won't be able to send the update to them because UOM doesn't work on seeds, and 
some versions around 1320 got severely broken when this happened. Hopefully 
some of them will now be able to upgrade via other peers, or at least more 
quickly, and thus will stop hammering the seednodes quite so much!
- Better disconnection detection. We were thinking we are still connected 
sometimes when we were in fact disconnected and receiving some early auth 
packets but not the late ones (as with the above case).
- Send keepalive messages more often. (Note that this has zero overhead on a 
typical busy node).
- Fix a rare synchronization bug.

Please upgrade, and let us know how Freenet goes! Thanks.


signature.asc
Description: This is a digitally signed message part.
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe

Re: [freenet-support] Question about freenet DHT

2011-02-10 Thread Volodya
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/10/2011 01:19 PM, Thomas Anderson wrote:
> I am very new to freenet. I read wiki[1] and some doc saying that
> freenet implements dht protocol.
> 
> I am going to learn something about dht based on freenet, so I have a
> few questions.
> 
> 1st, is it possible for a node (supposed it is located in a data
> center) querying to know if other nodes contain a specific data/ doc
> (maybe search by e.g. file name)? So the node who issues the query
> can, for instance, do a simple counting, such as how many nodes
> currently holds the filename called license.txt.
> 
> 2nd, what would the right place (in source code) to start checking the
> dht related stuff? I check out the source code but do not find dht
> related comment or function. Also, freenet wiki search returns `no
> matches for dht'.
> 
> I appreciate any advice.
> Thank you.
> 
> 
> [1]. Wikipedia.
> http://en.wikipedia.org/wiki/Distributed_hash_table#DHT_protocols_and_implementations

That's not how Freenet works. Everything that is inserted in the global
datastore is first encrypted and error correction is added, it also splits
everything into 32K pieces each of which is inserted separately.

Therefore it is impossible to search Freenet proper for DHT hash of the specific
file. Because you only have pieces which are encrypted, and you don't know what
they mean until you have enough of them and you have also the decryption key.

Now if you do possess the decryption key, you could, on the Opennet, start
connecting to people's nodes one at the time and send them requests for pieces
that you know comprise that file.

There's much more, maybe others will help you also.

 - volodya

- -- 
http://freedom.libsyn.com/ Echo of Freedom, Radical Podcast

 "None of us are free until all of us are free."~ Mihail Bakunin
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNU90oAAoJENW9VI+wmYasfIgH/3vlQUd2dg8ODm4f6SURDjfG
/bDRwjNHnkRsWBvYAT8fTno8wDem++IPLWSBUGcU8IzCgfXKHTy9W/1ebhKJ2bQG
QHBs4qOtSxGtgwi1wQ8SQweUkcp++16ViLxQm/waULIeDE8tfxSTT1aWdvV0fd+S
Tz4dY7jjvPa/b6AQ0YABF8z7FMOBNGYcXTJrHDveGCQeTAuVcXMSUBbauiGq4VoS
jqoinmr92f8BlhcVL/0pv9RmQkFbud51F2rflLes13aZ/nGwh4uT0kStz2fiZwHJ
yJFcBVDhUnXnMQJSItSr7TbcrVSGkiUHaUzkuEh8kpaj+sE7hR/o3VhBLVHqX+4=
=lUj2
-END PGP SIGNATURE-
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


[freenet-support] Question about freenet DHT

2011-02-10 Thread Thomas Anderson
I am very new to freenet. I read wiki[1] and some doc saying that
freenet implements dht protocol.

I am going to learn something about dht based on freenet, so I have a
few questions.

1st, is it possible for a node (supposed it is located in a data
center) querying to know if other nodes contain a specific data/ doc
(maybe search by e.g. file name)? So the node who issues the query
can, for instance, do a simple counting, such as how many nodes
currently holds the filename called license.txt.

2nd, what would the right place (in source code) to start checking the
dht related stuff? I check out the source code but do not find dht
related comment or function. Also, freenet wiki search returns `no
matches for dht'.

I appreciate any advice.
Thank you.


[1]. Wikipedia.
http://en.wikipedia.org/wiki/Distributed_hash_table#DHT_protocols_and_implementations
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe