Bug 1021550 - Virt-viewer doesn't honour 'ignore hosts' field in proxy settings
Virt-viewer doesn't honour 'ignore hosts' field in proxy settings
Product: Fedora
Classification: Fedora
Component: virt-viewer (Show other bugs)
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Daniel Berrange
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-10-21 09:41 EDT by Pablo Iranzo Gómez
Modified: 2015-02-17 12:46 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-02-17 12:46:19 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pablo Iranzo Gómez 2013-10-21 09:41:45 EDT
Description of problem:

I was unable to connect to LAN host with virt-viewer.

It always timed out, but a netstat showed that it was trying to connect to my proxy.

Proxy was configured as:
(gnome proxy settings window)

http 8118
https 8118
socks 9999
ignore: localhost,, ::1,

remote-viewer should ignore the proxy settings for a host in 192.168.2.* subnet, but it was trying to use it.

Version-Release number of selected component (if applicable):

How reproducible:
Configure socks proxy and put an entry for it in 'ignore', fire up remote-viewer and use netstat to verify the connection:

[iranzo@x201 Descargas]$ netstat -anputa|grep remote
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0          ESTABLISHED 22678/remote-viewer 

Actual results:
It tries to use sock proxy (which would be OK, if it weren't in the ignore part)

Expected results:

Ignore proxy for hosts listed in ignore field
Comment 1 Christophe Fergeau 2013-10-30 07:22:39 EDT
Have you also set a SPICE_PROXY environment variable? My understanding is that spice-gtk/remote-viewer do not use GNOME proxy settings.
Comment 2 Pablo Iranzo Gómez 2013-10-30 07:38:23 EDT
(In reply to Christophe Fergeau from comment #1)
> Have you also set a SPICE_PROXY environment variable? My understanding is
> that spice-gtk/remote-viewer do not use GNOME proxy settings.

[iranzo@x201 ~]$ set|grep -i proxy

No, no SPICE_PROXY, and just changed the gnome proxy settings and it started working
Comment 3 Fedora End Of Life 2015-01-09 15:19:53 EST
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.
Comment 4 Fedora End Of Life 2015-02-17 12:46:19 EST
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.