aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-10-08 07:43:10 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-10-08 07:43:10 -0400
commit97d865e5e599bb21ccaff51a3afd659946178195 (patch)
treecad362f7b06cc05a4192d96a8a206e65ad63b019 /src
parentMerge pull request #73 from greigdp/spotify-profile (diff)
downloadfirejail-97d865e5e599bb21ccaff51a3afd659946178195.tar.gz
firejail-97d865e5e599bb21ccaff51a3afd659946178195.tar.zst
firejail-97d865e5e599bb21ccaff51a3afd659946178195.zip
--mtu, spotify etc.
Diffstat (limited to 'src')
-rw-r--r--src/firejail/usage.c1
-rw-r--r--src/man/firejail.txt10
2 files changed, 11 insertions, 0 deletions
diff --git a/src/firejail/usage.c b/src/firejail/usage.c
index 5154caf77..b4024ff6f 100644
--- a/src/firejail/usage.c
+++ b/src/firejail/usage.c
@@ -100,6 +100,7 @@ void usage(void) {
100 printf("\t--join=pid - join the sandbox identified by PID.\n\n"); 100 printf("\t--join=pid - join the sandbox identified by PID.\n\n");
101 printf("\t--list - list all sandboxes.\n\n"); 101 printf("\t--list - list all sandboxes.\n\n");
102 printf("\t--mac=xx:xx:xx:xx:xx:xx - set interface MAC address.\n\n"); 102 printf("\t--mac=xx:xx:xx:xx:xx:xx - set interface MAC address.\n\n");
103 printf("\t--mtu=number - set interface MTU.\n\n");
103 printf("\t--name=name - set sandbox hostname.\n\n"); 104 printf("\t--name=name - set sandbox hostname.\n\n");
104 printf("\t--net=bridgename - enable network namespaces and connect to this bridge\n"); 105 printf("\t--net=bridgename - enable network namespaces and connect to this bridge\n");
105 printf("\t\tdevice. Unless specified with option --ip and --defaultgw, an\n"); 106 printf("\t\tdevice. Unless specified with option --ip and --defaultgw, an\n");
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index 2d1c40566..6984c559b 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -443,6 +443,16 @@ Example:
443$ firejail \-\-net=eth0 \-\-mac=00:11:22:33:44:55 firefox 443$ firejail \-\-net=eth0 \-\-mac=00:11:22:33:44:55 firefox
444 444
445.TP 445.TP
446\fB\-\-mtu=number
447Assign a MTU value to the last network interface defined by a \-\-net option.
448.br
449
450.br
451Example:
452.br
453$ firejail \-\-net=eth0 \-\-mtu=1492
454
455.TP
446\fB\-\-name=name 456\fB\-\-name=name
447Set sandbox hostname. Several options, such as \-\-join and \-\-shutdown, can use 457Set sandbox hostname. Several options, such as \-\-join and \-\-shutdown, can use
448this name to identify a sandbox. 458this name to identify a sandbox.