Update IP address in tests
This commit is contained in:
parent
cb25cce9e5
commit
6a8835bcc2
@ -197,7 +197,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 147.75.32.69/32 -p udp --dport 443:1024 -j ACCEPT\n"
|
||||
"-A chain -d 147.75.32.1/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"
|
||||
@ -429,7 +429,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 { 147.75.32.69/32 } '
|
||||
' ip protocol udp ip daddr { 147.75.32.1/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'
|
||||
|
Loading…
Reference in New Issue
Block a user