Version: unspecified (using KDE 4.6.0) OS: Linux The upnp plugin for ktorrent needs a feature to remember preferred routers so they can be activated automatically once ktorrent is started. Reproducible: Always Steps to Reproduce: Start ktorrent. Go to the upnp tab, press forward. Close ktorrent. Start ktorrent, ports not forwarded any more. Actual Results: ports not forwarded any more. Expected Results: ports auto forwarded (if done once in past)
> The upnp plugin for ktorrent needs a feature to remember preferred routers so > they can be activated automatically once ktorrent is started. This feature has been present ever since UPnP was added. Not to mention that ports are automatically forwarded once a router is detected.
If that's right, why are no routers or ports listed on the 2nd start in the user story above ?
Post your log file of the second run (~/.kde/share/apps/ktorrent/log) Also what version are you running ?
v4.0.3 To confirm, although there is a device listed on the UPNP panel, no ports are shown as forwarded.
Created attachment 57334 [details] log as req
Could you also post the content of ~/.kde/share/apps/ktorrent/routers ? It's the file where detected routers are stored in.
Created attachment 57373 [details] ..../ktorrent/routers file
Git commit 8ed673c90175b65f7eb57bc3cd4868650e1f6907 by Joris. Committed on 27/02/2011 at 20:47. Pushed by guisson into branch 'master'. Revamp UPnP plugin: - Remove useless connection field from widget - Forward ports on all detected routers instead of only the default one BUG: 266397 M +1 -0 ChangeLog M +28 -33 plugins/upnp/routermodel.cpp M +12 -1 plugins/upnp/routermodel.h M +14 -67 plugins/upnp/upnpwidget.cpp M +0 -1 plugins/upnp/upnpwidget.h http://commits.kde.org/ktorrent/8ed673c90175b65f7eb57bc3cd4868650e1f6907