Your message dated Tue, 28 Jun 2016 02:34:17 +0200
with message-id <[email protected]>
has caused the   report #827186,
regarding links2: Setting "-only-proxies 1" also sets "-http.fake-firefox 1" 
unconditionally
to be marked as having been forwarded to the upstream software
author(s) Mikulas Patocka <[email protected]>

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
827186: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827186
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Hi Mikulas,

while we're at it, this bug report about -only-proxies recently came
in, too, at https://bugs.debian.org/827186. Citing the relevants parts
of the mail with most details:

----- Forwarded message from Axel Beckert <[email protected]> -----
Date: Fri, 17 Jun 2016 19:55:17 +0200
From: Axel Beckert <[email protected]>
To: Fulano Diego Perez <[email protected]>
Cc: [email protected]
Subject: Re: Bug#827186: links2: -http.fake-user-agent "UA" fails

Fulano Diego Perez wrote:
[...]
> with all 3 below [the User-Agent string is always Firefox]:
> 
> $ links2 -socks-proxy 127.0.0.1:9051 -only-proxies 1 -http.referer 0
> -http.fake-user-agent "3 com" https://wtfismyip.com/headers/
> 
> $ links2 -socks-proxy 127.0.0.1:9051 -only-proxies 1 -http.referer 0
> -http.fake-user-agent "Mozilla/5.0 (Windows NT 6.1; rv:45.0)
> Gecko/20100101 Firefox/45.0" https://wtfismyip.com/headers/
> 
> $ links2 -socks-proxy 127.0.0.1:9051 -only-proxies 1 -http.referer 0
> -http.fake-user-agent " " https://wtfismyip.com/headers/

Thanks for these more detailed examples. That helped a lot to
understand where the issue is.

I can confirm that these combinations of options behave as if
-http.fake-firefox would have been set to 1.

Dropping the "-only-proxies 1" make the remainder work as expected.

Unfortunately I found no obvious reason in the source code why these
two options should be connected. Will forward the issue to upstream.

[...]
----- End forwarded message -----

According to the changelog it's a feature since 2.9:

  An option to fake Firefox in the HTTP header. It modifies User-Agent and
  several other options to be more Firefox-like. This option is also
  automatically turned on when "Connect only via proxies or Socks (useful
  for tor)" is selected. It makes it safer to use Links with tor.

But it seems that the name of the "-only-proxies" feature is confusing
people as they don't expect that the User-Agent string is modified by
it and not overridable anymore afterwards. Maybe it's currently a
little bit too overzealous?

                Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | [email protected]  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | [email protected] (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)

--- End Message ---

Reply via email to