Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign up[PATCH] Restore functionality of disable-default-route and disable-dns-server. #2551
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
andrewdavidwong
Jan 4, 2017
Member
Thanks, @gr-g! If you prefer, you can submit this as a pull request against qubes-core-agent-linux instead.
|
Thanks, @gr-g! If you prefer, you can submit this as a pull request against |
andrewdavidwong
added
C: core
enhancement
labels
Jan 4, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
Jan 4, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
gr-g
Jan 4, 2017
I am not so familiar with the github work flow, so for this very simple patch I went with this route. For the future I will look better into doing proper pull requests.
Thanks for your work!
…On January 4, 2017 5:31:56 AM CET, Andrew David Wong ***@***.***> wrote:
Thanks, @gr-g! If you prefer, you can submit this as a pull request
against `qubes-core-agent-linux` instead.
gr-g
commented
Jan 4, 2017
|
I am not so familiar with the github work flow, so for this very simple patch I went with this route. For the future I will look better into doing proper pull requests.
Thanks for your work!
…On January 4, 2017 5:31:56 AM CET, Andrew David Wong ***@***.***> wrote:
Thanks, @gr-g! If you prefer, you can submit this as a pull request
against `qubes-core-agent-linux` instead.
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
andrewdavidwong
Jan 5, 2017
Member
@marmarek: Please feel free to merge this (or ask for followup interaction) as you see fit.
|
@marmarek: Please feel free to merge this (or ask for followup interaction) as you see fit. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
|
Merged and already included in qubes-core-agent 3.2.16. |
marmarek
closed this
Mar 19, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gr-g commentedJan 3, 2017
•
edited
Edited 1 time
-
gr-g
edited Jan 3, 2017 (most recent)
0001-Restore-functionality-of-disable-default-route-and-d.txt
Qubes OS version (e.g.,
R3.2): R3.2Recently (after the R3.2 release) I noticed that the service "disable-dns-server" documented here was not working anymore. Even with the service enabled in a VM configuration, iptables rules for forwarding DNS queries were still created.
I tracked down the issue to this commit in qubes-core-agent-linux: link.
Apparently the commit replaced some instances of this test
if [ "x$disablegw" != "x1" ]"with this:
if ! qsvc disable-default-route(and similarly for dns) but left some references to $disablegw and $disabledns in other places.
The attached patch fixes the problem for me. After applying it, the behaviour of disable-dns-server and disable-default-route is as expected.