Bug 310544

Summary: Per-network proxy settings
Product: [Applications] konversation Reporter: Raphael Kubo da Costa <rakuco>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: anselmolsm, hein, luke-jr+kdebugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Raphael Kubo da Costa 2012-11-23 09:32:50 UTC
Suppose one is connected to a company network that requires a proxy to connect to the outside world.

If there's an internal IRC server one needs to connect to, the proxy should not be used, whereas it must be used to connect to any normal IRC network.

Right now there's no easy way to configure that on a per-network basis, and one is forced to go to Konvi's settings and enable/disable the global proxy settings depending on the network one wants to connect to.

Reproducible: Always
Comment 1 Eike Hein 2012-11-25 01:24:37 UTC
This is definitely planned :).
Comment 2 Anselmo L. S. Melo (anselmolsm) 2014-03-08 17:11:50 UTC
I've submitted a patch related to this issue: https://git.reviewboard.kde.org/r/116661/
Comment 3 Anselmo L. S. Melo (anselmolsm) 2015-10-18 13:18:32 UTC
Git commit 4e67d344ba9ef6f51d250e2b58de62606f5c9ceb by Anselmo L. S. Melo.
Committed on 18/10/2015 at 13:15.
Pushed by amelo into branch '1.6'.

Allow a server to bypass the proxy settings

Added an option which allows a server to bypass the proxy
configured at konvi's settings -> behavior -> connection.
Useful when a user needs the proxy to connect to the outside world,
but should not use the proxy to connect to an internal IRC server.
REVIEW: 116661

M  +2    -0    src/application.cpp
M  +8    -1    src/irc/server.cpp
M  +14   -1    src/irc/serverdialogui.ui
M  +2    -0    src/irc/servergroupdialog.cpp
M  +4    -1    src/irc/serversettings.cpp
M  +4    -0    src/irc/serversettings.h

http://commits.kde.org/konversation/4e67d344ba9ef6f51d250e2b58de62606f5c9ceb
Comment 4 Luke-Jr 2016-04-03 04:39:02 UTC
How about when a proxy is *only* needed for a specific server? Eg, use Tor only for .onion servers...
Comment 5 Anselmo L. S. Melo (anselmolsm) 2016-04-03 12:28:41 UTC
(In reply to Luke-Jr from comment #4)
> How about when a proxy is *only* needed for a specific server? Eg, use Tor
> only for .onion servers...

The proxy related to Tor would be configured as the global proxy (settings->configuration->connection). The patch mentioned above added a check box "use global proxy". In this case you would leave that check box marked only for the .onion servers.

However, if you need a regular proxy for some servers + Tor for other ones, it is not covered.