mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3066] Monitor network connection attempts with firejail/firemon #1919
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#1919
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 @curioustwo on GitHub (Nov 27, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3066
Hi,
Is it possible to monitor outgoing network connections with either firejail or firemon? I would like to know which network connections an application is trying to make when it is "firejail'ed".
Thanks!
@netblue30 commented on GitHub (Nov 29, 2019):
It is quite easy, but you have to start the sandbox with a network namespace (--net). For example:
Then, you open a new terminal and join the network namespace with some network monitor such as tcpdump:
The command runs as root (sudo).
You can also try wireshark. It used to work for me on the old Debian, but on the new one it doesn't. I guess it has to do with the way they set up X11, so I get something like:
@rusty-snake commented on GitHub (Jan 17, 2020):
@curioustwo
I'm closing here due to inactivity, please fell free to reopen if you have more questions.
@curioustwo commented on GitHub (Jan 26, 2020):
I had a follow-up question. To do this without having the APP access Internet at all I would have to create a virtual eth interface or something? I want to monitor the attempts but not let it go through....