mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #458] "--net=none" equivalent for profiles #327
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#327
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Fred-Barclay on GitHub (Apr 19, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/458
When starting a program from the command line, we have the option to disallow all network access:
firejail --net=none some_programmeBut what if we wanted to integrate this with the programme profile so that networking was automatically disabled? Is there a option for this?
So for example:
...seccompcaps.drop allNO NETWORKnoroot...Is this possible?
@nick75e commented on GitHub (Apr 19, 2016):
Hi!
Simply use
net none.EDIT:
@Fred-Barclay commented on GitHub (Apr 19, 2016):
Thanks!
Where did you find that? I looked on the man page and poked around netblue's blog a little but couldn't find it.
@nick75e commented on GitHub (Apr 19, 2016):
here: https://firejail.wordpress.com/features-3/man-firejail-profile/
It's on his blog at the top, mouse over "FEATURES" then "MAN FIREJAIL-PROFILE".