UPnP entries not removed on exit

Bug #580280 reported by Doug Barton
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libtorrent-rasterbar
Unknown
Unknown
qBittorrent
Triaged
Undecided
Christophe Dumez

Bug Description

For other programs that use UPnP (including utorrent) when the program exits it "cleans up" the entry on the router. It would be great if qbittorrent could do this as well. I've noticed this problem ever since I started using qbittorrent, and am currently using version 2.2.7. I have the PnP option enabled, and NAT-PMP disabled.

Thanks,

Doug

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

libtorrent is supposed to take care of that on exit. Are you sure qBittorrent is exiting cleanly (not crashing on exit, make sure qbittorrent is actually stopped before switching off the computer).

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
status: New → Incomplete
Revision history for this message
Doug Barton (dougb) wrote : Re: [Bug 580280] Re: UPnP entries not removed on exit

On 05/17/10 00:25, Christophe Dumez wrote:
> libtorrent is supposed to take care of that on exit. Are you sure
> qBittorrent is exiting cleanly (not crashing on exit,

Yes. I can look at the UPnP table on the router and see no entries, then
start qbittorrent and see them added, exit qbittorrent cleanly and they
are still there:
$ qbittorrent
Peer ID: -qB2270-
HTTP user agent is qBittorrent v2.2.7
$

I'm using libtorrent-rasterbar version 0.15 if that makes a difference,
with the following configure options:
--disable-debug --enable-dht --enable-encryption
--enable-pool-allocators --disable-deprecated-functions
--with-boost-system=boost_system
--with-boost-filesystem=boost_filesystem
--with-boost-thread=boost_thread --enable-geoip --with-libgeoip
--with-zlib=system --disable-python-binding

I don't see any configure options related to UPnP.

Should I report this to the libtorrent folks instead?

Thanks,

Doug

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I'll make some testing on my part first and see if I do something wrong in my code, before I can ask libtorrent author. Thanks for reporting.

Changed in qbittorrent:
status: Incomplete → In Progress
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Ok. Confirmed here and I was not able to make it work using libtorrent API. I reported a bug against libtorrent.

Changed in qbittorrent:
status: In Progress → Confirmed
Changed in qbittorrent:
status: Confirmed → Triaged
Revision history for this message
aqis (bowndsrj) wrote :

"For other programs that use UPnP (including utorrent) when the program exits it "cleans up" the entry on the router. It would be great if qbittorrent could do this as well. I've noticed this problem ever since I started using qbittorrent, and am currently using version 2.2.7. I have the PnP option enabled, and NAT-PMP disabled"
________________________________-_____________

I have the same problem with qbittorrent. ie: will not exit from router.

Am using qbittorrent 2.2.6 with Ubuntu 9.1

I also use on this same router; Transmission 2, Ktorrent, and Mutorrent 2.02 (with Wine): These all exit and clean up the table.

The only way I can clean the table of qbittorrent items is to re-boot the router.

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.