Opened 21 months ago

Last modified 20 months ago

#2288 new defect

Seeding torrents do not download new comments

Reported by: Reportage Owned by: zzz
Priority: minor Milestone: undecided
Component: apps/i2psnark Version: 0.9.35
Keywords: i2psnark, comments Cc:
Parent Tickets: Sensitive: no


Once a torrent has been downloaded, no comments are downloaded thereafter. If new comments appear, they should automatically be downloaded if a torrent is being seeded.


Change History (2)

comment:1 Changed 21 months ago by zzz

True, more-or-less, and by design. Due to unfortunate combination of:

  • ut-comment is a flooding protocol, peers must be connected, there's no DHT
  • snark seed will never connect outbound
  • snark seed will refuse inbound connection from seed (and blacklist?)

If there's a ut-comment-capable leech in the swarm, he will bridge new comments between connected seeds. If not, there's no other mechanism.

I would have preferred to implement Vuze's DHT comment protocol, but it is much more complex, undocumented, and parg said it was too ugly to write up or reuse.

We could relax snark's seed-to-seed restrictions fairly easily, but we'd still need to implement some sort of periodic outbound connections to look for new comments, and that's harder.

comment:2 Changed 20 months ago by zzz

Don't immediately disconnect a seed that connects to seeds if it supports comments in 27a053fa8f7cd20a0c121b5c0335ce8e4b92ed0b to be 0.9.35-20.
By itself, this does nothing, as only snark supports comments and snark won't connect out as a seed, but it will allow us to successfully connect out in a future release.

Note: See TracTickets for help on using tickets.