From ff5e9d0d56886bc05870d73187410c2e7a7c334c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Fri, 28 Sep 2018 19:06:16 +0200 Subject: [PATCH] tests: update yum.qubes-os.org IP address The test rely on some real domain name to be resolved to an IP address. yum.qubes-os.org recently have changed its IP. --- qubesagent/test_firewall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubesagent/test_firewall.py b/qubesagent/test_firewall.py index 12190c3..a9c1294 100644 --- a/qubesagent/test_firewall.py +++ b/qubesagent/test_firewall.py @@ -193,7 +193,7 @@ class TestIptablesWorker(TestCase): 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" @@ -370,7 +370,7 @@ class TestNftablesWorker(TestCase): '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'