[Bug 210374] net-p2p/mktorrent: increase max piece size & make tracker optional

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 18 15:47:37 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210374

            Bug ID: 210374
           Summary: net-p2p/mktorrent: increase max piece size & make
                    tracker optional
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: vsasjason at gmail.com
                CC: dgerow at afflictions.org
 Attachment #171550 maintainer-approval?
             Flags:
                CC: dgerow at afflictions.org
             Flags: maintainer-feedback?(dgerow at afflictions.org),
                    maintainer-feedback?

Created attachment 171550
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171550&action=edit
as summary

=== Increase max piece size ===
Optimal piece count is ~1500. mktorrent allows up to 2^28 currently, thus
providing ability to create torrents for 375 GiB of data with optimal piece
count. Increased maximum piece size to 2^30 thus allowing torrents for 1.5 TiB
of data (again, with optimal piece count).

=== Make tracker optional ===
mktorrent currently can't create torrents without announce URL. Since DHT works
perfectly well nowadays, this limitation doesn't make any sense. Changed to
require tracker only when creating private torrent (i.e. DHT, PEX, etc
disabled).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list