From 97d865e5e599bb21ccaff51a3afd659946178195 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 8 Oct 2015 07:43:10 -0400 Subject: --mtu, spotify etc. --- README | 2 ++ RELNOTES | 6 ++++-- src/firejail/usage.c | 1 + src/man/firejail.txt | 10 ++++++++++ 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/README b/README index 22bace801..a423c15d6 100644 --- a/README +++ b/README @@ -18,6 +18,8 @@ License: GPL v2 Firejail Authors: netblue30 (netblue30@yahoo.com) +greigdp (https://github.com/greigdp) + - add Spotify profile Mattias Wadman (https://github.com/wader) - seccomp errno filter support Peter Millerchip (https://github.com/pmillerchip) diff --git a/RELNOTES b/RELNOTES index 6428b8982..a61f190d4 100644 --- a/RELNOTES +++ b/RELNOTES @@ -1,8 +1,10 @@ firejail (0.9.31) baseline; urgency=low - * lots of security profile changes - * added FBReader default profile * added --interface option + * added --mtu option * added seccomp errno support + * added FBReader default profile + * added Spotify default profile + * lots of default security profile changes * bugfixes -- netblue30 current development 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) { printf("\t--join=pid - join the sandbox identified by PID.\n\n"); printf("\t--list - list all sandboxes.\n\n"); printf("\t--mac=xx:xx:xx:xx:xx:xx - set interface MAC address.\n\n"); + printf("\t--mtu=number - set interface MTU.\n\n"); printf("\t--name=name - set sandbox hostname.\n\n"); printf("\t--net=bridgename - enable network namespaces and connect to this bridge\n"); 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 @@ -442,6 +442,16 @@ Example: .br $ firejail \-\-net=eth0 \-\-mac=00:11:22:33:44:55 firefox +.TP +\fB\-\-mtu=number +Assign a MTU value to the last network interface defined by a \-\-net option. +.br + +.br +Example: +.br +$ firejail \-\-net=eth0 \-\-mtu=1492 + .TP \fB\-\-name=name Set sandbox hostname. Several options, such as \-\-join and \-\-shutdown, can use -- cgit v1.2.3-70-g09d2