Registered Member
|
Arr, I'm a bit dazzled here.
I wanted to implement some kind of a feedback when there are no incoming connections (i.e. port isn't forwarded). However, I can't seem to differentiate between incoming connections and those originated by ktorrent. Hints? |
Moderator
|
|
Registered Member
|
|
Registered Member
|
|
Registered Member
|
Here's a patch which adds a message in lower left corner when there are no incoming connections. The only problem is that it could fight for place with search messages - maybe putting it above the statusbar on the right would be a good idea, although it is probably better visible on its current location. Anyhow, it disappears when there are incoming connections, so it shouldn't bother anyone on a properly set up firewall.
Apply to r663929, although should work with any other. |
Moderator
|
|
Moderator
|
|
Registered Member
|
The only thing that springs to mind is checking the port externally (from some server), but that's not very feasible nor reliable.
qbittorrent checks for incoming connections too, can't say about azureus, currently I'm unable to download the source code. Even on a torrent with 1 seed and 8 peers I get incoming connections promptly after starting, so it shouldn't be that much of an issue. One thing I think is worth considering is disabling that message when there is no active torrents - but then, some might overlook it. All in all, I think this feature can be especially beneficial to less computer-savvy of us, who complain that downloads on ktorrent are slow and they don't have their ports open/forwarded Even if you have everything set up properly, something might screw up some time and without that you won't even notice something is wrong. |
Moderator
|
|
Moderator
|
|
Registered Member
|
Registered users: Bing [Bot], Google [Bot]