Page MenuHomePhorge

port whonixcheck and tb-updater to Qubes qrexec based updates proxy
Closed, ResolvedPublic

Details

Impact
Normal

Event Timeline

Since the recent batch of whonixcheck commits, the only thing to do is modifying the operating systems updates check.

However, that is not possible to implement this at the moment. I have to see how https://github.com/QubesOS/qubes-issues/issues/1858 will be implemented.

I will recheck this for every release of Whonix.

Patrick renamed this task from make whonixcheck non-networked in Qubes TemplateVM to port whonixcheck and tb-updater to Qubes qrexec based updates proxy.Aug 19 2016, 12:07 AM
Patrick updated the task description. (Show Details)
Patrick added a project: tb-updater.

Since https://github.com/Whonix/qubes-whonix/commit/01964e3c8c53b49aa14e56f7924fce5e88b5a448, other places can simply source /usr/lib/qubes-whonix/utility_function.sh and use PROXY_SERVER variable to get appropriate proxy address.

https://github.com/Whonix/whonixcheck/blob/Whonix13/usr/lib/whonixcheck/check_qubes.bsh

is already using

source /usr/lib/qubes-whonix/utility_functions.sh

if [ "$qubes_vm_type" = "NetVM" ] || [ "$qubes_vm_type" = "ProxyVM" ]; then
   PROXY_SERVER="${PROXY_SERVER/10.137.255.254/127.0.0.1}"
fi

and it works. Just now tested.

Should be good enough?

Related: T723

Is that changing to 127.0.0.1 work on Qubes 3.2? Anyway, yes, it should be good enough for Qubes 4.0.

Is that changing to 127.0.0.1 work on Qubes 3.2?

It's to make the test work in sys-whonix as well.

Anyway, yes, it should be good enough for Qubes 4.0.

Great!

Here is the fix for tb-updater. Please have a look. Untested. Will test now. If it works, I will backport to Whonix 13 tb-updater.

https://github.com/Whonix/tb-updater/commit/1ce837d7b0341e5a7d78751cb1b44d7241f0d217