aboutsummaryrefslogtreecommitdiffstats
path: root/test/fnetfilter
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-12-06 18:06:46 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2017-12-06 18:06:46 -0500
commit30a15fe9d0907da202914b87111c700235319296 (patch)
treef198cc3ec1bb9b2c19e5410d952ca3951fcd0cae /test/fnetfilter
parenttesting (diff)
downloadfirejail-30a15fe9d0907da202914b87111c700235319296.tar.gz
firejail-30a15fe9d0907da202914b87111c700235319296.tar.zst
firejail-30a15fe9d0907da202914b87111c700235319296.zip
testing
Diffstat (limited to 'test/fnetfilter')
-rwxr-xr-xtest/fnetfilter/copy.exp4
-rw-r--r--test/fnetfilter/test1.net4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/fnetfilter/copy.exp b/test/fnetfilter/copy.exp
index 65145ec4b..f619d503a 100755
--- a/test/fnetfilter/copy.exp
+++ b/test/fnetfilter/copy.exp
@@ -16,11 +16,11 @@ after 100
16send -- "cat outfile\r" 16send -- "cat outfile\r"
17expect { 17expect {
18 timeout {puts "TESTING ERROR 1\n";exit} 18 timeout {puts "TESTING ERROR 1\n";exit}
19 "test1" 19 "*filter"
20} 20}
21expect { 21expect {
22 timeout {puts "TESTING ERROR 2\n";exit} 22 timeout {puts "TESTING ERROR 2\n";exit}
23 "*filter" 23 "test1"
24} 24}
25expect { 25expect {
26 timeout {puts "TESTING ERROR 3\n";exit} 26 timeout {puts "TESTING ERROR 3\n";exit}
diff --git a/test/fnetfilter/test1.net b/test/fnetfilter/test1.net
index 59bef1443..e60127373 100644
--- a/test/fnetfilter/test1.net
+++ b/test/fnetfilter/test1.net
@@ -1,5 +1,5 @@
1*filter 1*filter
2# test2 2# test1
3:INPUT DROP [0:0] 3:INPUT DROP [0:0]
4:FORWARD DROP [0:0] 4:FORWARD DROP [0:0]
5:OUTPUT ACCEPT [0:0] 5:OUTPUT ACCEPT [0:0]
@@ -9,7 +9,7 @@
9#-A INPUT -p icmp --icmp-type echo-reply -j ACCEPT 9#-A INPUT -p icmp --icmp-type echo-reply -j ACCEPT
10-A INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT 10-A INPUT -p icmp --icmp-type destination-unreachable -j ACCEPT
11-A INPUT -p icmp --icmp-type time-exceeded -j ACCEPT 11-A INPUT -p icmp --icmp-type time-exceeded -j ACCEPT
12-A INPUT -p icmp --icmp-type echo-request -j ACCEPT 12-A INPUT -p icmp --icmp-type echo-request -j ACCEPT
13# disable STUN 13# disable STUN
14-A OUTPUT -p udp --dport 3478 -j DROP 14-A OUTPUT -p udp --dport 3478 -j DROP
15-A OUTPUT -p udp --dport 3479 -j DROP 15-A OUTPUT -p udp --dport 3479 -j DROP