Go to file
Marek Marczykowski-Górecki b49ae50ad5
Implement qrexec-based connection to updates proxy
Configure package manager to use 127.0.0.1:8082 as proxy instead of
"magic" IP intercepted later. The listen on this port and whenever
new connection arrives, spawn qubes.UpdatesProxy service call (to
default target domain - subject to configuration in dom0) and connect
its stdin/out to the local TCP connection. This part use systemd.socket
unit in case of systemd, and ncat --exec otherwise.

On the other end - in target domain - simply pass stdin/out to updates
proxy (tinyproxy) running locally.

It's important to _not_ configure the same VM to both be updates proxy and
use it. In practice such configuration makes little sense - if VM can
access network (which is required to run updates proxy), package manager
can use it directly. Even if this network access is through some
VPN/Tor. If a single VM would be configured as both proxy provider and
proxy user, connection would loop back to itself. Because of this, proxy
connection redirection (to qrexec service) is disabled when the same VM
also run updates proxy.

Fixes QubesOS/qubes-issues#1854
2017-05-26 05:25:29 +02:00
archlinux Ask for target VM for file-copy in dom0 2017-05-20 15:53:03 +02:00
autostart-dropins Merge branch 'autostart-dropins' 2015-09-02 01:16:19 +02:00
ci tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
debian Implement qrexec-based connection to updates proxy 2017-05-26 05:25:29 +02:00
doc Rename qvm-run to qvm-run-vm 2017-05-23 02:55:31 +02:00
init dispvm: don't use perl to decode base64-encoded script 2017-05-14 23:29:52 +02:00
misc Remove duplicated 'close' button from titlebar of gnome applications 2017-05-20 14:44:04 +02:00
network Implement qrexec-based connection to updates proxy 2017-05-26 05:25:29 +02:00
patches.debian Stop anacron from starting in Debian using existing constraint on cron 2017-02-05 23:36:27 +00:00
pkgs archlinux: created build scripts 2013-04-17 01:22:32 +02:00
qrexec qrexec: add service argument support 2016-03-27 04:30:44 +02:00
qubes-rpc Implement qrexec-based connection to updates proxy 2017-05-26 05:25:29 +02:00
qubesagent tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
rpm_spec Implement qrexec-based connection to updates proxy 2017-05-26 05:25:29 +02:00
test-packages tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
vm-init.d Implement qrexec-based connection to updates proxy 2017-05-26 05:25:29 +02:00
vm-systemd Implement qrexec-based connection to updates proxy 2017-05-26 05:25:29 +02:00
.coveragerc tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
.gitignore tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
.travis.yml travis: update to Qubes 4.0 repositories 2017-05-20 16:04:35 +02:00
debian-quilt debian: Refactor Debian quilt packaging for xen 2015-02-11 08:02:55 -05:00
LICENSE Added LICENSE 2010-04-05 21:21:27 +02:00
Makefile Implement qrexec-based connection to updates proxy 2017-05-26 05:25:29 +02:00
Makefile.builder Move trusty check and locales-all fix inside source-debian-quilt-copy-in 2017-02-13 22:25:47 +00:00
run-tests tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
series-debian-vm.conf Stop anacron from starting in Debian using existing constraint on cron 2017-02-05 23:36:27 +00:00
setup.py network: rewrite qubes-firewall daemon 2016-09-12 05:22:53 +02:00
version version 3.2.18 2017-05-16 00:54:18 +02:00