aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/firejail/usage.c1
-rw-r--r--src/man/firejail.txt23
2 files changed, 24 insertions, 0 deletions
diff --git a/src/firejail/usage.c b/src/firejail/usage.c
index 4a0f05528..b993cb80c 100644
--- a/src/firejail/usage.c
+++ b/src/firejail/usage.c
@@ -150,6 +150,7 @@ static char *usage_str =
150 "\tparent interfaces.\n" 150 "\tparent interfaces.\n"
151 " --netns=name - Run the program in a named, persistent network namespace.\n" 151 " --netns=name - Run the program in a named, persistent network namespace.\n"
152 " --netstats - monitor network statistics.\n" 152 " --netstats - monitor network statistics.\n"
153 " --nettrace - monitor TCP and UDP traffic coming into the sandbox.\n"
153#endif 154#endif
154 " --nice=value - set nice value.\n" 155 " --nice=value - set nice value.\n"
155 " --no3d - disable 3D hardware acceleration.\n" 156 " --no3d - disable 3D hardware acceleration.\n"
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index 09e7165a7..b366fed7c 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -1479,6 +1479,29 @@ PID User RX(KB/s) TX(KB/s) Command
14791294 netblue 53.355 1.473 firejail \-\-net=eth0 firefox 14791294 netblue 53.355 1.473 firejail \-\-net=eth0 firefox
1480.br 1480.br
14817383 netblue 9.045 0.112 firejail \-\-net=eth0 transmission 14817383 netblue 9.045 0.112 firejail \-\-net=eth0 transmission
1482.TP
1483\fB\-\-nettrace=name|pid
1484Monitor TCP and UDP traffic coming into the sandbox specified by name or pid. Only networked sandboxes
1485created with \-\-net are supported.
1486.br
1487
1488.br
1489$ firejail --nettrace=browser
1490.br
14919.9.9.9:53 => 192.168.1.60 UDP: 122 B/sec
1492.br
149372.21.91.29:80 => 192.168.1.60 TCP: 257 B/sec
1494.br
149580.92.126.65:123 => 192.168.1.60 UDP: 25 B/sec
1496.br
149769.30.241.50:443 => 192.168.1.60 TCP: 88 KB/sec
1498.br
1499140.82.112.4:443 => 192.168.1.60 TCP: 1861 B/sec
1500.br
1501
1502.br
1503(14 streams in the last one minute)
1504
1482#endif 1505#endif
1483.TP 1506.TP
1484\fB\-\-nice=value 1507\fB\-\-nice=value