Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-07 Thread Marcus Esser
Hello,

On 06/05/15 16:30, Roberto Resoli wrote:
 Il 06/05/2015 15:55, Olivier Tilloy ha scritto:
 Does anybody have an idea how to configure the browser to use the system
 proxy settings?
 There’s currently no way to do that. Feel free to file a bug at
 https://bugs.launchpad.net/webbrowser-app/+filebug to request addition
 of such a feature.
 Definitly, proxy configuratione is a must have ...

 rob

I think I made the bowser app work with the proxy. I was actually trying
to enable command line apps like wget to work via proxy and added to
/etc/environment

http_proxy=http://192.168.112.1:800/
https_proxy=http://192.168.112.1:800/
ftp_proxy=http://192.168.112.1:800/
no_proxy=localhost,127.0.0.1,192.168.0.0/16
HTTP_PROXY=http://192.168.112.1:800/
HTTPS_PROXY=http://192.168.112.1:800/
FTP_PROXY=http://192.168.112.1:800/
NO_PROXY=localhost,127.0.0.1,192.168.0.0/16

After that, I was able to run wget for the first time successfully:

phablet@ubuntu-phablet:~$ wget www.spiegel.de
--2015-05-07 10:09:33--  http://www.spiegel.de/
Connecting to 192.168.112.1:800... connected.
Proxy request sent, awaiting response... 200 OK
Length: 233514 (228K) [text/html]
Saving to: ‘index.html’

100%[==] 233,514  400KB/s   in
0.6s  

2015-05-07 10:09:34 (400 KB/s) - ‘index.html’ saved [233514/233514]

By coincidence, I found out that the browser app also seems to pick this
configuration up successfully and the browser started to work with the
proxy.

I have now three different types of proxy configurations on my phone:

1) via gsettings, see my earlier e-mails - not sure if this has
currently an effect on any application
2) via /etc/environment for certain command line applications and
seemingly the browser
3) via 95proxies in /etc/apt/apt.conf.d/ for apt

I am now testing if other apps actually up one of those configuration
types. Shorts (the RSS app) for example seems not to work still.

Regards,

M.

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-07 Thread Chris Croome
Hi

On Thu 07-May-2015 at 10:42:49AM +0200, Marcus Esser wrote:

 I think I made the bowser app work with the proxy. I was actually trying
 to enable command line apps like wget to work via proxy and added to
 /etc/environment
 
 http_proxy=http://192.168.112.1:800/
 https_proxy=http://192.168.112.1:800/
 ftp_proxy=http://192.168.112.1:800/
 no_proxy=localhost,127.0.0.1,192.168.0.0/16
 HTTP_PROXY=http://192.168.112.1:800/
 HTTPS_PROXY=http://192.168.112.1:800/
 FTP_PROXY=http://192.168.112.1:800/
 NO_PROXY=localhost,127.0.0.1,192.168.0.0/16

Nice one, that means that Privoxy can be used locally (apt-get install
privoxy on the phone) and it can also be set to forward to a socks proxy
(for example a ssh tunnel or tor):

- http://www.privoxy.org/user-manual/config.html#SOCKS

I'll try to have time to play with this over the next few days and write
a wiki page on how to set it up -- the inability to use a proxy or to
block ads is a bit of a blocker for using the browser on the phone for
me. 

All the best

Chris

-- 
Webarchitects Co-operative
http://webarchitects.coop/
+44 114 276 9709
@webarchcoop

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-06 Thread Roberto Resoli
Il 05/05/2015 21:37, Marcus Esser ha scritto:
 Hello,
 is there a way to set system wide or at least browser only network proxy
 settings in Ubuntu Touch? 

Just tried on my bq (r21) and it seems that gconf settings for system
wide proxy are supported:

gsettings list-recursively org.gnome.system.proxy

org.gnome.system.proxy use-same-proxy true
org.gnome.system.proxy mode 'none'
org.gnome.system.proxy autoconfig-url ''
org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
org.gnome.system.proxy.ftp host ''
org.gnome.system.proxy.ftp port 0
org.gnome.system.proxy.socks host ''
org.gnome.system.proxy.socks port 0
org.gnome.system.proxy.http host ''
org.gnome.system.proxy.http port 8080
org.gnome.system.proxy.http use-authentication false
org.gnome.system.proxy.http authentication-password ''
org.gnome.system.proxy.http authentication-user ''
org.gnome.system.proxy.http enabled false
org.gnome.system.proxy.https host ''
org.gnome.system.proxy.https port 0

bye,
rob

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-06 Thread Chris Croome
Hi

On Wed 06-May-2015 at 11:17:25AM +0200, Roberto Resoli wrote:
 
 Just tried on my bq (r21) and it seems that gconf settings for system
 wide proxy are supported:
 
 gsettings list-recursively org.gnome.system.proxy
 
 org.gnome.system.proxy use-same-proxy true
 org.gnome.system.proxy mode 'none'
 org.gnome.system.proxy autoconfig-url ''
 org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
 org.gnome.system.proxy.ftp host ''
 org.gnome.system.proxy.ftp port 0
 org.gnome.system.proxy.socks host ''
 org.gnome.system.proxy.socks port 0
 org.gnome.system.proxy.http host ''
 org.gnome.system.proxy.http port 8080
 org.gnome.system.proxy.http use-authentication false
 org.gnome.system.proxy.http authentication-password ''
 org.gnome.system.proxy.http authentication-user ''
 org.gnome.system.proxy.http enabled false
 org.gnome.system.proxy.https host ''
 org.gnome.system.proxy.https port 0

Did you get this working, I tried setting up a ssh tunnel and then:

  sudo -i
  mount -o rw,remount /
  gsettings list-recursively org.gnome.system.proxy 
org.gnome.system.proxy use-same-proxy true
org.gnome.system.proxy mode 'none'
org.gnome.system.proxy autoconfig-url ''
org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
org.gnome.system.proxy.ftp host ''
org.gnome.system.proxy.ftp port 0
org.gnome.system.proxy.socks host ''
org.gnome.system.proxy.socks port 0
org.gnome.system.proxy.http host ''
org.gnome.system.proxy.http port 8080
org.gnome.system.proxy.http use-authentication false
org.gnome.system.proxy.http authentication-password ''
org.gnome.system.proxy.http authentication-user ''
org.gnome.system.proxy.http enabled false
org.gnome.system.proxy.https host ''
org.gnome.system.proxy.https port 0
  gsettings set org.gnome.system.proxy mode 'manual'
  gsettings set org.gnome.system.proxy.socks host 'localhost'
  gsettings set org.gnome.system.proxy.socks port '8080'
  gsettings list-recursively org.gnome.system.proxy 
org.gnome.system.proxy use-same-proxy true
org.gnome.system.proxy mode 'none'
org.gnome.system.proxy autoconfig-url ''
org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
org.gnome.system.proxy.ftp host ''
org.gnome.system.proxy.ftp port 0
org.gnome.system.proxy.socks host ''
org.gnome.system.proxy.socks port 0
org.gnome.system.proxy.http host ''
org.gnome.system.proxy.http port 8080
org.gnome.system.proxy.http use-authentication false
org.gnome.system.proxy.http authentication-password ''
org.gnome.system.proxy.http authentication-user ''
org.gnome.system.proxy.http enabled false
org.gnome.system.proxy.https host ''
org.gnome.system.proxy.https port 0

Is there another way to change these settings?

Does the browser support a socks proxy set in this way?

All the best

Chris

-- 
Webarchitects Co-operative
http://webarchitects.coop/
+44 114 276 9709
@webarchcoop

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-06 Thread Chris Croome
Hi

On Wed 06-May-2015 at 01:49:51PM +0200, Roberto Resoli wrote:
 
 Do you really want to set a socks proxy? 

Yes.

 Anyway, you have not set any proxy hostname.

How does one do that and what is the difference between a host and a
hostname in this context?

I'm used to using a socks proxy with Firefox and you just need to set 3
variables in about:config:

  network.proxy.socks   localhost
  network.proxy.socks_port  8080
  network.proxy.type1

On Wed 06-May-2015 at 02:04:49PM +0200, Roberto Resoli wrote:
 
 But have you already installed a socks proxy on the phone? 

Yes, a ssh tunnel acts as a socks proxy.

 What is the intended goal? 

Sending web traffic through the ssh tunnel.

Setting these variables as the phablet user on the command line doesn't
appear to work:

  gsettings set org.gnome.system.proxy mode 'manual'
  gsettings set org.gnome.system.proxy.socks host 'localhost'
  gsettings set org.gnome.system.proxy.socks port '8080'
  gsettings list-recursively org.gnome.system.proxy
  gsettings list-recursively org.gnome.system.proxy | grep 'socks\|mode'
org.gnome.system.proxy mode 'none'
org.gnome.system.proxy.socks host ''
org.gnome.system.proxy.socks port 0

All the best

Chris

-- 
Webarchitects Co-operative
http://webarchitects.coop/
+44 114 276 9709
@webarchcoop

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-06 Thread Roberto Resoli
Il 06/05/2015 13:49, Roberto Resoli ha scritto:
   gsettings set org.gnome.system.proxy mode 'manual'
gsettings set org.gnome.system.proxy.socks host 'localhost'

Sorry, did'nt pay attention to this. But have you already installed a
socks proxy on the phone? What is the intended goal? Did you want simply
try to set something?

gsettings set org.gnome.system.proxy.socks port '8080'
 Do you really want to set a socks proxy? Anyway, you have not set any
 proxy hostname.

my fault, the hostname is localhost, but from the following it seems
that the set operations did not succeed;

I tried (as regular user, no sudo -i) and in my case

gsettings set org.gnome.system.proxy.http enabled true

was successful.

gsettings list-recursively org.gnome.system.proxy 
  org.gnome.system.proxy use-same-proxy true
  org.gnome.system.proxy mode 'none'
  org.gnome.system.proxy autoconfig-url ''
  org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
  org.gnome.system.proxy.ftp host ''
  org.gnome.system.proxy.ftp port 0
  org.gnome.system.proxy.socks host ''
  org.gnome.system.proxy.socks port 0
  org.gnome.system.proxy.http host ''
  org.gnome.system.proxy.http port 8080
  org.gnome.system.proxy.http use-authentication false
  org.gnome.system.proxy.http authentication-password ''
  org.gnome.system.proxy.http authentication-user ''
  org.gnome.system.proxy.http enabled false
  org.gnome.system.proxy.https host ''
  org.gnome.system.proxy.https port 0
  
  Is there another way to change these settings?

bye
rob

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-06 Thread Marcus Esser
Hello,

On 06/05/15 11:17, Roberto Resoli wrote:
 Il 05/05/2015 21:37, Marcus Esser ha scritto:
 Hello,
 is there a way to set system wide or at least browser only network proxy
 settings in Ubuntu Touch? 
 Just tried on my bq (r21) and it seems that gconf settings for system
 wide proxy are supported:

 gsettings list-recursively org.gnome.system.proxy

 org.gnome.system.proxy use-same-proxy true
 org.gnome.system.proxy mode 'none'
 org.gnome.system.proxy autoconfig-url ''
 org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
 org.gnome.system.proxy.ftp host ''
 org.gnome.system.proxy.ftp port 0
 org.gnome.system.proxy.socks host ''
 org.gnome.system.proxy.socks port 0
 org.gnome.system.proxy.http host ''
 org.gnome.system.proxy.http port 8080
 org.gnome.system.proxy.http use-authentication false
 org.gnome.system.proxy.http authentication-password ''
 org.gnome.system.proxy.http authentication-user ''
 org.gnome.system.proxy.http enabled false
 org.gnome.system.proxy.https host ''
 org.gnome.system.proxy.https port 0

 bye,
 rob

thank you, I am able to change the settings on the phone to the values
that do work properly on my Ubuntu 14.04 systems:

gsettings set org.gnome.system.proxy use-same-proxy false
gsettings set org.gnome.system.proxy mode 'manual'
gsettings set org.gnome.system.proxy ignore-hosts ['localhost',
'127.0.0.0/8', '192.168.0.0/16', '::1']
gsettings set org.gnome.system.proxy.ftp host '192.168.112.1'
gsettings set org.gnome.system.proxy.ftp port 800
gsettings set org.gnome.system.proxy.socks host '192.168.112.1'
gsettings set org.gnome.system.proxy.socks port 800
gsettings set org.gnome.system.proxy.http host '192.168.112.1'
gsettings set org.gnome.system.proxy.http port 800
gsettings set org.gnome.system.proxy.http use-authentication false
gsettings set org.gnome.system.proxy.http enabled true
gsettings set org.gnome.system.proxy.https host '192.168.112.1'
gsettings set org.gnome.system.proxy.https port 800

and the values do persist.

Unfortunately the browser does not seem to use those system proxy
settings. Also the proxy logs don't show any entry from the phone after
those setting changes.

Does anybody have an idea how to configure the browser to use the system
proxy settings?

Best,

M.

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-06 Thread Olivier Tilloy
On Wed, May 6, 2015 at 3:50 PM, Marcus Esser marcus.es...@posteo.de wrote:
 Hello,

 On 06/05/15 11:17, Roberto Resoli wrote:
 Il 05/05/2015 21:37, Marcus Esser ha scritto:
 Hello,
 is there a way to set system wide or at least browser only network proxy
 settings in Ubuntu Touch?
 Just tried on my bq (r21) and it seems that gconf settings for system
 wide proxy are supported:

 gsettings list-recursively org.gnome.system.proxy

 org.gnome.system.proxy use-same-proxy true
 org.gnome.system.proxy mode 'none'
 org.gnome.system.proxy autoconfig-url ''
 org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
 org.gnome.system.proxy.ftp host ''
 org.gnome.system.proxy.ftp port 0
 org.gnome.system.proxy.socks host ''
 org.gnome.system.proxy.socks port 0
 org.gnome.system.proxy.http host ''
 org.gnome.system.proxy.http port 8080
 org.gnome.system.proxy.http use-authentication false
 org.gnome.system.proxy.http authentication-password ''
 org.gnome.system.proxy.http authentication-user ''
 org.gnome.system.proxy.http enabled false
 org.gnome.system.proxy.https host ''
 org.gnome.system.proxy.https port 0

 bye,
 rob

 thank you, I am able to change the settings on the phone to the values
 that do work properly on my Ubuntu 14.04 systems:

 gsettings set org.gnome.system.proxy use-same-proxy false
 gsettings set org.gnome.system.proxy mode 'manual'
 gsettings set org.gnome.system.proxy ignore-hosts ['localhost',
 '127.0.0.0/8', '192.168.0.0/16', '::1']
 gsettings set org.gnome.system.proxy.ftp host '192.168.112.1'
 gsettings set org.gnome.system.proxy.ftp port 800
 gsettings set org.gnome.system.proxy.socks host '192.168.112.1'
 gsettings set org.gnome.system.proxy.socks port 800
 gsettings set org.gnome.system.proxy.http host '192.168.112.1'
 gsettings set org.gnome.system.proxy.http port 800
 gsettings set org.gnome.system.proxy.http use-authentication false
 gsettings set org.gnome.system.proxy.http enabled true
 gsettings set org.gnome.system.proxy.https host '192.168.112.1'
 gsettings set org.gnome.system.proxy.https port 800

 and the values do persist.

 Unfortunately the browser does not seem to use those system proxy
 settings. Also the proxy logs don't show any entry from the phone after
 those setting changes.

 Does anybody have an idea how to configure the browser to use the system
 proxy settings?

There’s currently no way to do that. Feel free to file a bug at
https://bugs.launchpad.net/webbrowser-app/+filebug to request addition
of such a feature.

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-06 Thread Roberto Resoli
Il 06/05/2015 14:28, Chris Croome ha scritto:
 Hi
 
 On Wed 06-May-2015 at 01:49:51PM +0200, Roberto Resoli wrote:
...
 But have you already installed a socks proxy on the phone? 
 
 Yes, a ssh tunnel acts as a socks proxy.
 
 What is the intended goal? 
 
 Sending web traffic through the ssh tunnel.

ok, now i see.

bye,
rob

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-06 Thread Marcus Esser


On 06/05/15 15:55, Olivier Tilloy wrote:
 On Wed, May 6, 2015 at 3:50 PM, Marcus Esser marcus.es...@posteo.de wrote:
 Hello,

 On 06/05/15 11:17, Roberto Resoli wrote:
 Il 05/05/2015 21:37, Marcus Esser ha scritto:
 Hello,
 is there a way to set system wide or at least browser only network proxy
 settings in Ubuntu Touch?
 Just tried on my bq (r21) and it seems that gconf settings for system
 wide proxy are supported:

 gsettings list-recursively org.gnome.system.proxy

 org.gnome.system.proxy use-same-proxy true
 org.gnome.system.proxy mode 'none'
 org.gnome.system.proxy autoconfig-url ''
 org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
 org.gnome.system.proxy.ftp host ''
 org.gnome.system.proxy.ftp port 0
 org.gnome.system.proxy.socks host ''
 org.gnome.system.proxy.socks port 0
 org.gnome.system.proxy.http host ''
 org.gnome.system.proxy.http port 8080
 org.gnome.system.proxy.http use-authentication false
 org.gnome.system.proxy.http authentication-password ''
 org.gnome.system.proxy.http authentication-user ''
 org.gnome.system.proxy.http enabled false
 org.gnome.system.proxy.https host ''
 org.gnome.system.proxy.https port 0

 bye,
 rob

 thank you, I am able to change the settings on the phone to the values
 that do work properly on my Ubuntu 14.04 systems:

 gsettings set org.gnome.system.proxy use-same-proxy false
 gsettings set org.gnome.system.proxy mode 'manual'
 gsettings set org.gnome.system.proxy ignore-hosts ['localhost',
 '127.0.0.0/8', '192.168.0.0/16', '::1']
 gsettings set org.gnome.system.proxy.ftp host '192.168.112.1'
 gsettings set org.gnome.system.proxy.ftp port 800
 gsettings set org.gnome.system.proxy.socks host '192.168.112.1'
 gsettings set org.gnome.system.proxy.socks port 800
 gsettings set org.gnome.system.proxy.http host '192.168.112.1'
 gsettings set org.gnome.system.proxy.http port 800
 gsettings set org.gnome.system.proxy.http use-authentication false
 gsettings set org.gnome.system.proxy.http enabled true
 gsettings set org.gnome.system.proxy.https host '192.168.112.1'
 gsettings set org.gnome.system.proxy.https port 800

 and the values do persist.

 Unfortunately the browser does not seem to use those system proxy
 settings. Also the proxy logs don't show any entry from the phone after
 those setting changes.

 Does anybody have an idea how to configure the browser to use the system
 proxy settings?
 There’s currently no way to do that. Feel free to file a bug at
 https://bugs.launchpad.net/webbrowser-app/+filebug to request addition
 of such a feature.
Thank you for the info. I have filed a bug:
https://bugs.launchpad.net/webbrowser-app/+bug/1452291
M.

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-06 Thread Roberto Resoli
Il 06/05/2015 15:55, Olivier Tilloy ha scritto:
  Does anybody have an idea how to configure the browser to use the system
  proxy settings?
 There’s currently no way to do that. Feel free to file a bug at
 https://bugs.launchpad.net/webbrowser-app/+filebug to request addition
 of such a feature.

Definitly, proxy configuratione is a must have ...

rob

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-06 Thread Roberto Resoli
Il 06/05/2015 12:26, Chris Croome ha scritto:
 Hi
 
 On Wed 06-May-2015 at 11:17:25AM +0200, Roberto Resoli wrote:

 Just tried on my bq (r21) and it seems that gconf settings for system
 wide proxy are supported:

 gsettings list-recursively org.gnome.system.proxy

 org.gnome.system.proxy use-same-proxy true
 org.gnome.system.proxy mode 'none'
 org.gnome.system.proxy autoconfig-url ''
 org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
 org.gnome.system.proxy.ftp host ''
 org.gnome.system.proxy.ftp port 0
 org.gnome.system.proxy.socks host ''
 org.gnome.system.proxy.socks port 0
 org.gnome.system.proxy.http host ''
 org.gnome.system.proxy.http port 8080
 org.gnome.system.proxy.http use-authentication false
 org.gnome.system.proxy.http authentication-password ''
 org.gnome.system.proxy.http authentication-user ''
 org.gnome.system.proxy.http enabled false
 org.gnome.system.proxy.https host ''
 org.gnome.system.proxy.https port 0
 
 Did you get this working, 

No, i have not tried to set anything.

 I tried setting up a ssh tunnel and then:
   sudo -i
   mount -o rw,remount /
   gsettings list-recursively org.gnome.system.proxy 
 org.gnome.system.proxy use-same-proxy true
 org.gnome.system.proxy mode 'none'
 org.gnome.system.proxy autoconfig-url ''
 org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
 org.gnome.system.proxy.ftp host ''
 org.gnome.system.proxy.ftp port 0
 org.gnome.system.proxy.socks host ''
 org.gnome.system.proxy.socks port 0
 org.gnome.system.proxy.http host ''
 org.gnome.system.proxy.http port 8080
 org.gnome.system.proxy.http use-authentication false
 org.gnome.system.proxy.http authentication-password ''
 org.gnome.system.proxy.http authentication-user ''
 org.gnome.system.proxy.http enabled false
 org.gnome.system.proxy.https host ''
 org.gnome.system.proxy.https port 0

Default setting, ok

   gsettings set org.gnome.system.proxy mode 'manual'
   gsettings set org.gnome.system.proxy.socks host 'localhost'
   gsettings set org.gnome.system.proxy.socks port '8080'

Do you really want to set a socks proxy? Anyway, you have not set any
proxy hostname.


   gsettings list-recursively org.gnome.system.proxy 
 org.gnome.system.proxy use-same-proxy true
 org.gnome.system.proxy mode 'none'
 org.gnome.system.proxy autoconfig-url ''
 org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
 org.gnome.system.proxy.ftp host ''
 org.gnome.system.proxy.ftp port 0
 org.gnome.system.proxy.socks host ''
 org.gnome.system.proxy.socks port 0
 org.gnome.system.proxy.http host ''
 org.gnome.system.proxy.http port 8080
 org.gnome.system.proxy.http use-authentication false
 org.gnome.system.proxy.http authentication-password ''
 org.gnome.system.proxy.http authentication-user ''
 org.gnome.system.proxy.http enabled false
 org.gnome.system.proxy.https host ''
 org.gnome.system.proxy.https port 0
 
 Is there another way to change these settings?
 
 Does the browser support a socks proxy set in this way?

I dont'know, but you have not set any proxy; only a proxy type (socks)

bye,
rob



-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-06 Thread Roberto Resoli

Su mercoledì 6 maggio 2015 16:30:43 CEST, Marcus Esser ha scritto:
...

Does anybody have an idea how to configure the browser to use the system
proxy settings?

There’s currently no way to do that. Feel free to file a bug at
https://bugs.launchpad.net/webbrowser-app/+filebug to request addition
of such a feature.

Thank you for the info. I have filed a bug:
https://bugs.launchpad.net/webbrowser-app/+bug/1452291


Subscribed myself  as affected.

Bye,
rob





--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-05 Thread Mitchell Reese
I'm also extremely interested in this. I live in Australia, which has 
recently become a police state in terms of monitoring internet traffic 
(hi ASIO!). Very keen to implement a proxy asap.


M

On 06/05/15 08:13, Chris Croome wrote:

Hi

On Tue 05-May-2015 at 10:52:34PM +0200, Marcus Esser wrote:

Hello,
command line usage would not be a problem. I am not experienced with
iptables though. Are you talking about an approach like described here:
https://www.mydlp.com/http-and-https-redirecting-with-netfilter-iptables/ ?

Yes, but I was thinking that you would want to do it for the user the
browser runs as and also I was thinking of using privoxy, locally or on
a remote server and and connecting via a ssh tunnel.

Of course if the browser supported setting a socks proxy that would make
things simpler.

All the best

Chris




--
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-05 Thread Marcus Esser
Hello,
is there a way to set system wide or at least browser only network proxy
settings in Ubuntu Touch? I went through the various GUI system and
application settings, but was unable to find anything of relevance.
I am making my first steps with the bq aquaris e4.5 ubuntu, but so far
no way to get on the Internet in our proxy enforcing networks.
Thanks in advance,
M.

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-05 Thread Chris Croome
Hi

On Tue 05-May-2015 at 09:37:23PM +0200, Marcus Esser wrote:

 is there a way to set system wide or at least browser only network proxy
 settings in Ubuntu Touch? I went through the various GUI system and
 application settings, but was unable to find anything of relevance.
 I am making my first steps with the bq aquaris e4.5 ubuntu, but so far
 no way to get on the Internet in our proxy enforcing networks.

I was thinking of trying to do this via iptables, but you would need to
do this on the command line as far as I'm aware.

All the best

Chris

-- 
Webarchitects Co-operative
http://webarchitects.coop/
+44 114 276 9709
@webarchcoop

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Proxy settings, system wide or for browser?

2015-05-05 Thread Marcus Esser
Hello,
command line usage would not be a problem. I am not experienced with
iptables though. Are you talking about an approach like described here:
https://www.mydlp.com/http-and-https-redirecting-with-netfilter-iptables/ ?
The mentioned article suggest for http
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to
ip-address-proxy:http-port-proxy
and for https
iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to
ip-address-proxy:https-port-proxy
Best,
M.

On 05/05/15 22:00, Chris Croome wrote:
 Hi

 On Tue 05-May-2015 at 09:37:23PM +0200, Marcus Esser wrote:
 is there a way to set system wide or at least browser only network proxy
 settings in Ubuntu Touch? I went through the various GUI system and
 application settings, but was unable to find anything of relevance.
 I am making my first steps with the bq aquaris e4.5 ubuntu, but so far
 no way to get on the Internet in our proxy enforcing networks.
 I was thinking of trying to do this via iptables, but you would need to
 do this on the command line as far as I'm aware.

 All the best

 Chris



-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp