diff options
author | netblue30 <netblue30@yahoo.com> | 2015-10-08 07:43:10 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2015-10-08 07:43:10 -0400 |
commit | 97d865e5e599bb21ccaff51a3afd659946178195 (patch) | |
tree | cad362f7b06cc05a4192d96a8a206e65ad63b019 /src | |
parent | Merge pull request #73 from greigdp/spotify-profile (diff) | |
download | firejail-97d865e5e599bb21ccaff51a3afd659946178195.tar.gz firejail-97d865e5e599bb21ccaff51a3afd659946178195.tar.zst firejail-97d865e5e599bb21ccaff51a3afd659946178195.zip |
--mtu, spotify etc.
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/usage.c | 1 | ||||
-rw-r--r-- | src/man/firejail.txt | 10 |
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 | ||
447 | Assign a MTU value to the last network interface defined by a \-\-net option. | ||
448 | .br | ||
449 | |||
450 | .br | ||
451 | Example: | ||
452 | .br | ||
453 | $ firejail \-\-net=eth0 \-\-mtu=1492 | ||
454 | |||
455 | .TP | ||
446 | \fB\-\-name=name | 456 | \fB\-\-name=name |
447 | Set sandbox hostname. Several options, such as \-\-join and \-\-shutdown, can use | 457 | Set sandbox hostname. Several options, such as \-\-join and \-\-shutdown, can use |
448 | this name to identify a sandbox. | 458 | this name to identify a sandbox. |