Skip to content
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

Added some safeguards for invalid firewall rules #139

Merged
merged 1 commit into from
May 27, 2020

Conversation

marmarta
Copy link
Member

No more None dsthosts or port ranges.

fixes QubesOS/qubes-issues#5772

@codecov
Copy link

codecov bot commented May 15, 2020

Codecov Report

Merging #139 into master will increase coverage by 0.15%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #139      +/-   ##
==========================================
+ Coverage   74.74%   74.89%   +0.15%     
==========================================
  Files          48       48              
  Lines        6061     6063       +2     
==========================================
+ Hits         4530     4541      +11     
+ Misses       1531     1522       -9     
Impacted Files Coverage Δ
qubesadmin/tools/qvm_firewall.py 93.75% <100.00%> (+0.13%) ⬆️
qubesadmin/tools/qvm_run.py 80.31% <0.00%> (+2.65%) ⬆️
qubesadmin/spinner.py 77.41% <0.00%> (+6.45%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 83b1fc6...d2f4a45. Read the comment docs.

@marmarta marmarta force-pushed the bugfix5772 branch 2 times, most recently from 9c1a311 to 2d9dcd7 Compare May 16, 2020 10:11
Firewall rule cannot be missing value in declaration
(e.g. 'dsthost=' is not a valid rule).

fixes QubesOS/qubes-issues#5772
@marmarek marmarek merged commit b145395 into QubesOS:master May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Domain has failed to start: 'NoneType' object has no attribute 'count'
2 participants