mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2619] Add a monitoring option to capture network traffic to a file #1661
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#1661
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 @ghost on GitHub (Mar 26, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2619
It would be very useful to be able to capture the network traffic of a sandbox.
The existing functionality can only do this if the app does not need to talk to localhost. E.g:
^ that works because
lynxdoes not access localhost. Tor is not used so every packet is captured.But in a realistic scenario,
lynxneeds to proxy through tor via the localhost proxy server:That fails because the network namespace prevents access to the local proxy host. This means
--net=eth0 --ip="$virtual_ip"must be omitted. But then that omission loses the benefit of tcpdump filtering by IP, ultimately making it difficult to separate the firejail traffic from all the other localhost traffic.