mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
remove DNS lookup for --netfilter.print and --netfilter6.print commands
This commit is contained in:
parent
a12601f02a
commit
51f25677e6
4 changed files with 46 additions and 26 deletions
|
|
@ -20,7 +20,27 @@ spawn $env(SHELL)
|
|||
send -- "firejail --netfilter.print=test\r"
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 1\n";exit}
|
||||
"ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED"
|
||||
"ACCEPT"
|
||||
}
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 1\n";exit}
|
||||
"lo"
|
||||
}
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 1\n";exit}
|
||||
"ACCEPT"
|
||||
}
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 1\n";exit}
|
||||
"state RELATED,ESTABLISHED"
|
||||
}
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 1\n";exit}
|
||||
"ACCEPT"
|
||||
}
|
||||
expect {
|
||||
timeout {puts "TESTING ERROR 1\n";exit}
|
||||
"icmptype 8"
|
||||
}
|
||||
|
||||
after 500
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@ echo "TESTING: bandwidth (net_bandwidth.exp)"
|
|||
echo "TESTING: ipv6 (ip6.exp)"
|
||||
./ip6.exp
|
||||
|
||||
#echo "TESTING: ipv6 netfilter(ip6_netfilter.exp)"
|
||||
#./ip6_netfilter.exp
|
||||
echo "TESTING: ipv6 netfilter(ip6_netfilter.exp)"
|
||||
./ip6_netfilter.exp
|
||||
|
||||
sudo ip link set br0 down
|
||||
sudo brctl delbr br0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue