diff options
author | netblue30 <netblue30@yahoo.com> | 2017-12-06 18:06:46 -0500 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-12-06 18:06:46 -0500 |
commit | 30a15fe9d0907da202914b87111c700235319296 (patch) | |
tree | f198cc3ec1bb9b2c19e5410d952ca3951fcd0cae /test/fnetfilter | |
parent | testing (diff) | |
download | firejail-30a15fe9d0907da202914b87111c700235319296.tar.gz firejail-30a15fe9d0907da202914b87111c700235319296.tar.zst firejail-30a15fe9d0907da202914b87111c700235319296.zip |
testing
Diffstat (limited to 'test/fnetfilter')
-rwxr-xr-x | test/fnetfilter/copy.exp | 4 | ||||
-rw-r--r-- | test/fnetfilter/test1.net | 4 |
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 | |||
16 | send -- "cat outfile\r" | 16 | send -- "cat outfile\r" |
17 | expect { | 17 | expect { |
18 | timeout {puts "TESTING ERROR 1\n";exit} | 18 | timeout {puts "TESTING ERROR 1\n";exit} |
19 | "test1" | 19 | "*filter" |
20 | } | 20 | } |
21 | expect { | 21 | expect { |
22 | timeout {puts "TESTING ERROR 2\n";exit} | 22 | timeout {puts "TESTING ERROR 2\n";exit} |
23 | "*filter" | 23 | "test1" |
24 | } | 24 | } |
25 | expect { | 25 | expect { |
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 |