Quoting Christian Biere <[email protected]> from ml.softs.gtk-gnutella.devel: :Yes, for popular files that are shared by many peers, it can be useful to :use a combined magnet that provides a "keyword topic", too. So if you append :"&kt=gtk-gnutella-0.96.6.tar.bz2" it will also search Gnutella with a classic :keyword search for the filename.
It is my fault, I forgot to append kt. I assumed that the dn would be used as the search in that case (i.e. that kt would fallback to dn if not supplied). :> Yes, I have dht_debug = 1 and I see one peculiar thing: ALL the DHT :> FETCH result in "not found". I have three days worth of debug output and :> absolutely all DHT FETCH are "not found", whether they were for "ALOC", :> "PROX" or "BTAL" (?). I don't know if this is normal, but it sure looks :> suspicious to me (which may be due to my ignorance of the DHT's inner :> workings). : :That sounds a bit odd, yes. No, this is perfectly NORMAL. In Kademlia, a FIND_NODE and FIND_VALUE are similar, excepted that FIND_VALUE will return a value if found locally. A DHT FETCH, as logged by GTKG, is a FIND_VALUE. The semantics is that you need to converge to the key in the KUID space, so nodes looking for a value ask your node about closest nodes, and in turn they will contact these closest nodes to ask them about even more closest nodes to the key until they have found 20 closest nodes (and none has returned any value, meaning the value is not found) or one node returns value stored locally. :If you just enter a prefix SHA-1 as search, it triggers a classic URN search by :SHA-1 and will rarely gain any results. It doesn't use the DHT (at least for :now) because the DHT doesn't tell as more than addresses of peers. In theory, :we could use a HTTP HEAD request to gather information like filename and :filesize to fabricate a search result. I think "ALOC" values contain enough to fake a query hit if needed. Raphael ------------------------------------------------------------------------------ _______________________________________________ gtk-gnutella-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
