On 25/07/18 08:12, Mirza Krak wrote:
> On Tue, Jul 24, 2018 at 6:35 PM, tw <
twheel...@gmail.com
> <mailto:
twheel...@gmail.com>> wrote:
>
> I'm trying to configure Mender client to connect through an HTTP/S
> proxy but it seems to be ignoring the
> HTTP_PROXY/HTTPS_PROXY/http_proxy/https_proxy environment variables.
> Is there a different method for configuring a proxy server?
>
>
> Hi.
>
> What specific errors are you getting?
>
> I took a quick look at the code and it seems that there might be lacking
> support for proxy. Hopefully someone from the client team can confirm this.
>
> Are you able to cross-compile the client? In that case I could suggest a
> change for you try out.
Sorry to ask this, but why do you want to use a HTTP(s) proxy? Is this
for some kind of firewalling or network segmentation?
We did some research into proxies in the past and they have pretty
severe limitations when it comes to security and TLS because they expect
to see all application data.
When using a http proxy there is no transport security, so anyone on the
network could intercept and tell the devices to install some software.
htttps proxies work very differently, you would 1) either have to
terminate the TLS connection there (i.e. they will see all traffic and
need to make a new connection on behalf of every device to the Mender
server) or 2) use some kind of raw TCP redirect which I suspect defeats
the purpose you have for a proxy in the first place.
So the result of the research was that it was not worth it to support
this. Maybe the architecture can be set up differently (e.g. allow
Mender TLS connections to pass through or put a Mender server onsite).
Would be happy to hear your thoughts or if anyone else know proxies well
and how this could make sense!
> Northern.tech AS <
https://northern.tech> | @northerntechHQ
> <
https://twitter.com/northerntechhq>
>
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Mender List
mender.io" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
mender+un...@lists.mender.io
> <mailto:
mender+un...@lists.mender.io>.
> To post to this group, send email to
men...@lists.mender.io
> <mailto:
men...@lists.mender.io>.
> Visit this group at
>
https://groups.google.com/a/lists.mender.io/group/mender/.
--
Eystein