Skip to content

Commit

Permalink
tests: update yum.qubes-os.org IP address
Browse files Browse the repository at this point in the history
The test rely on some real domain name to be resolved to an IP address.
yum.qubes-os.org recently have changed its IP.
  • Loading branch information
marmarek committed Sep 28, 2018
1 parent e29a678 commit ff5e9d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qubesagent/test_firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def test_002_prepare_rules4(self):
expected_iptables = (
"*filter\n"
"-A chain -d 1.2.3.0/24 -p tcp --dport 80:80 -j ACCEPT\n"
"-A chain -d 82.94.215.165/32 -p udp --dport 443:1024 -j ACCEPT\n"
"-A chain -d 147.75.32.69/32 -p udp --dport 443:1024 -j ACCEPT\n"
"-A chain -d 1.1.1.1/32 -p tcp --dport 53:53 -j ACCEPT\n"
"-A chain -d 2.2.2.2/32 -p tcp --dport 53:53 -j ACCEPT\n"
"-A chain -d 1.1.1.1/32 -p udp --dport 53:53 -j ACCEPT\n"
Expand Down Expand Up @@ -370,7 +370,7 @@ def test_002_prepare_rules4(self):
'table ip qubes-firewall {\n'
' chain chain {\n'
' ip protocol tcp ip daddr 1.2.3.0/24 tcp dport 80 accept\n'
' ip protocol udp ip daddr { 82.94.215.165/32 } '
' ip protocol udp ip daddr { 147.75.32.69/32 } '
'udp dport 443-1024 accept\n'
' ip daddr { 1.1.1.1/32, 2.2.2.2/32 } tcp dport 53 accept\n'
' ip daddr { 1.1.1.1/32, 2.2.2.2/32 } udp dport 53 accept\n'
Expand Down

0 comments on commit ff5e9d0

Please sign in to comment.