New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling qubes-network and qubes-firewall serivces does not work on Debian based templates #3453

Closed
qjoo opened this Issue Jan 13, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@qjoo

qjoo commented Jan 13, 2018

Qubes OS version:

R3.2

Affected TemplateVMs:

Debian 9

Steps to reproduce the behavior:

  • create a Debian based proxyVM
  • disable the services:
qvm-service proxyvm1 -d qubes-network
qvm-service proxyvm1 -d qubes-firewall
  • start the proxyvm1 and inspect iptables ruleset

Expected behavior:

/proc/sys/net/ipv4/ip_forward should be 0
iptables rules should be empty.

Actual behavior:

/proc/sys/net/ipv4/ip_forward is 1
iptables rules are present (as if qubes-network and qubes-firewall was not disabled)

This (disabling services) works as expected on Fedora 25 and 26 templates.
I stumbled on this problem when migrating from Fedora to Debian templates.

Mailing list post:
https://groups.google.com/forum/#!msg/qubes-users/jz_Z85WeY4Y/3VwY2az-BAAJ

@unman

This comment has been minimized.

Show comment
Hide comment
@unman

unman Feb 6, 2018

Member

As I pointed out, this arises even for non proxy qubes. I don't see a difference between iptables for Fedora and Debian - both have the FORWARD chain set. But Debian has /etc/sysctl.d/80_qubes.conf setting /proc/sys/net/ipv4/ip_forward to 1.
This file is provided by qubes-core-agent.

Member

unman commented Feb 6, 2018

As I pointed out, this arises even for non proxy qubes. I don't see a difference between iptables for Fedora and Debian - both have the FORWARD chain set. But Debian has /etc/sysctl.d/80_qubes.conf setting /proc/sys/net/ipv4/ip_forward to 1.
This file is provided by qubes-core-agent.

@unman

This comment has been minimized.

Show comment
Hide comment
@unman

unman Feb 6, 2018

Member

@qjoo Can you check again to see if the Fedora FORWARD chain is empty in iptables? It doesn't seem to be for me with the service disabled.
I'm content to leave it in any case, if forwarding itself is disabled, as it should be. Would you agree?

Member

unman commented Feb 6, 2018

@qjoo Can you check again to see if the Fedora FORWARD chain is empty in iptables? It doesn't seem to be for me with the service disabled.
I'm content to leave it in any case, if forwarding itself is disabled, as it should be. Would you agree?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment