diff options
author | 2023-03-02 10:34:03 -0500 | |
---|---|---|
committer | 2023-03-02 10:34:03 -0500 | |
commit | 336ecb5d651f22e5a3722ead843181a86dcc066d (patch) | |
tree | e733078e8b3ae1c6d0d7e236911c0f12ae556baa /test/network/network.sh | |
parent | gajim: allow loading plugins (#5705) (diff) | |
download | firejail-336ecb5d651f22e5a3722ead843181a86dcc066d.tar.gz firejail-336ecb5d651f22e5a3722ead843181a86dcc066d.tar.zst firejail-336ecb5d651f22e5a3722ead843181a86dcc066d.zip |
network testing; merges
Diffstat (limited to 'test/network/network.sh')
-rwxr-xr-x | test/network/network.sh | 99 |
1 files changed, 9 insertions, 90 deletions
diff --git a/test/network/network.sh b/test/network/network.sh index 6bb8332ee..319927493 100755 --- a/test/network/network.sh +++ b/test/network/network.sh | |||
@@ -10,9 +10,6 @@ export LC_ALL=C | |||
10 | sudo brctl addbr br0 | 10 | sudo brctl addbr br0 |
11 | sudo ip link set br0 up | 11 | sudo ip link set br0 up |
12 | sudo ip addr add 10.10.20.1/24 dev br0 | 12 | sudo ip addr add 10.10.20.1/24 dev br0 |
13 | sudo brctl addbr br1 | ||
14 | sudo ip link set br1 up | ||
15 | sudo ip addr add 10.10.30.1/24 dev br1 | ||
16 | ip addr show | 13 | ip addr show |
17 | 14 | ||
18 | echo "TESTING: no network (net_none.exp)" | 15 | echo "TESTING: no network (net_none.exp)" |
@@ -24,92 +21,14 @@ echo "TESTING: network IP (net_ip.exp)" | |||
24 | echo "TESTING: network MAC (net_mac.exp)" | 21 | echo "TESTING: network MAC (net_mac.exp)" |
25 | ./net_mac.exp | 22 | ./net_mac.exp |
26 | 23 | ||
24 | echo "TESTING: network scan (net_scan.exp)" | ||
25 | ./net_scan.exp | ||
27 | 26 | ||
27 | echo "TESTING: netfilter (net_netfilter.exp)" | ||
28 | ./net_netfilter.exp | ||
28 | 29 | ||
29 | #echo "TESTING: unconfigured network (net_unconfigured.exp)" | 30 | echo "TESTING: print dns (dns-print.exp)" |
30 | #./net_unconfigured.exp | 31 | ./dns-print.exp |
31 | # | 32 | |
32 | #echo "TESTING: netfilter template (netfilter-template.exp)" | 33 | sudo ip link set br0 down |
33 | #rm -f ./tcpserver | 34 | sudo brctl delbr br0 |
34 | #gcc -o tcpserver tcpserver.c | ||
35 | #./netfilter-template.exp | ||
36 | #rm ./tcpserver | ||
37 | # | ||
38 | #echo "TESTING: firemon interface (firemon-interfaces.exp)" | ||
39 | #sudo ./firemon-interfaces.exp | ||
40 | # | ||
41 | #echo "TESTING: netns (netns.exp)" | ||
42 | #./netns.exp | ||
43 | # | ||
44 | #echo "TESTING: print dns (dns-print.exp)" | ||
45 | #./dns-print.exp | ||
46 | # | ||
47 | #echo "TESTING: firemon arp (firemon-arp.exp)" | ||
48 | #./firemon-arp.exp | ||
49 | # | ||
50 | #echo "TESTING: firemon netstats (netstats.exp)" | ||
51 | #./netstats.exp | ||
52 | # | ||
53 | #echo "TESTING: firemon route (firemon-route.exp)" | ||
54 | #./firemon-route.exp | ||
55 | # | ||
56 | #echo "TESTING: network profile (net_profile.exp)" | ||
57 | #./net_profile.exp | ||
58 | # | ||
59 | #echo "TESTING: bandwidth (bandwidth.exp)" | ||
60 | #./bandwidth.exp | ||
61 | # | ||
62 | #echo "TESTING: IPv6 support (ip6.exp)" | ||
63 | #./ip6.exp | ||
64 | # | ||
65 | #echo "TESTING: local network (net_local.exp)" | ||
66 | #./net_local.exp | ||
67 | # | ||
68 | # | ||
69 | #echo "TESTING: network MTU (net_mtu.exp)" | ||
70 | #./net_mtu.exp | ||
71 | # | ||
72 | #echo "TESTING: network bad IP (net_badip.exp)" | ||
73 | #./net_badip.exp | ||
74 | # | ||
75 | #echo "TESTING: network no IP test 1 (net_noip.exp)" | ||
76 | #./net_noip.exp | ||
77 | # | ||
78 | #echo "TESTING: network no IP test 2 (net_noip2.exp)" | ||
79 | #./net_noip2.exp | ||
80 | # | ||
81 | #echo "TESTING: network default gateway test 1 (net_defaultgw.exp)" | ||
82 | #./net_defaultgw.exp | ||
83 | # | ||
84 | #echo "TESTING: network default gateway test 2 (net_defaultgw2.exp)" | ||
85 | #./net_defaultgw2.exp | ||
86 | # | ||
87 | #echo "TESTING: network default gateway test 3 (net_defaultgw3.exp)" | ||
88 | #./net_defaultgw3.exp | ||
89 | # | ||
90 | #echo "TESTING: scan (net_scan.exp)" | ||
91 | #./net_scan.exp | ||
92 | # | ||
93 | #echo "TESTING: interface (interface.exp)" | ||
94 | #./interface.exp | ||
95 | # | ||
96 | #echo "TESTING: veth (net_veth.exp)" | ||
97 | #./net_veth.exp | ||
98 | # | ||
99 | #echo "TESTING: netfilter (net_netfilter.exp)" | ||
100 | #./net_netfilter.exp | ||
101 | # | ||
102 | #echo "TESTING: iprange (iprange.exp)" | ||
103 | #./iprange.exp | ||
104 | # | ||
105 | #echo "TESTING: veth-name (veth-name.exp)" | ||
106 | #./veth-name.exp | ||
107 | # | ||
108 | #echo "TESTING: macvlan2 (net_macvlan2.exp)" | ||
109 | #./net_macvlan2.exp | ||
110 | # | ||
111 | #echo "TESTING: 4 bridges ARP (4bridges_arp.exp)" | ||
112 | #./4bridges_arp.exp | ||
113 | # | ||
114 | #echo "TESTING: 4 bridges IP (4bridges_ip.exp)" | ||
115 | #./4bridges_ip.exp | ||