The default for port_range should be "6881-6999", not "6890-6999"

Bug #110803 reported by Daniel Hahler
6
Affects Status Importance Assigned to Milestone
rtorrent
Fix Released
Unknown
rtorrent (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: rtorrent

The default for port_range is "6890-6999". That means that rtorrent does not use the (old) default port range which you would expect for bittorrent usage (6881-6889).

The FAQ at http://dessent.net/btfaq/#ports says that 6881-6889 gets used prior to version 3.2, and that it has been extended to 6881-6999 as of BitTorrent 3.2.

rtorrent uses the "extended" part only.

Therefor the Bittorrent macro for Shorewall fails, which uses 6881-6889 (I'll file a separate bug about this).

The patch seems quite trivial, but it's not tested:

--- rtorrent-0.6.4/src/core/manager.cc.orig 2006-10-27 15:48:48.000000000 +0200
+++ rtorrent-0.6.4/src/core/manager.cc 2007-04-28 17:20:48.557490410 +0200
@@ -125,7 +125,7 @@
   m_hashingView(NULL),

   m_pollManager(NULL),
- m_portFirst(6890),
+ m_portFirst(6881),
   m_portLast(6999) {

   m_downloadStore = new DownloadStore();

Changed in rtorrent:
status: Unconfirmed → Confirmed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Thank you for your bug report.
Upstream developers report that this has been fixed, could you please check?

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Marked as fixed committed.

Changed in rtorrent:
importance: Undecided → Low
status: Confirmed → Fix Committed
Revision history for this message
Andrea Veri (av) wrote :

Debdiff attached includes this patch.

Thanks for your work.

Changed in rtorrent:
status: Fix Committed → Confirmed
Revision history for this message
ZhengPeng Hou (zhengpeng-hou) wrote :

uploaded

Changed in rtorrent:
status: Confirmed → Fix Committed
Revision history for this message
Andrea Veri (av) wrote :

rtorrent (0.7.4-2ubuntu1) gutsy; urgency=low

   * Added port_range patch that sets range to 6881-6999 ports,
     instead of 6890-6999. (LP: #110803)
   * Maintainer set to MOTU developers

 -- Andrea Veri <email address hidden> Thu, 31 May 2007 11:32:51 +0200

Changed in rtorrent:
status: Fix Committed → Fix Released
Changed in rtorrent:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.