aboutsummaryrefslogtreecommitdiffstats
path: root/src/man
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@protonmail.com>2022-10-11 11:01:01 -0400
committerLibravatar netblue30 <netblue30@protonmail.com>2022-10-11 11:01:01 -0400
commit95a725b61cd9b96cacb73ecef254db9860afb38d (patch)
tree22ebde6bd6a092e5741321518c6579dc32ad0105 /src/man
parentbuild(deps): bump actions/checkout from 3.0.2 to 3.1.0 (diff)
downloadfirejail-95a725b61cd9b96cacb73ecef254db9860afb38d.tar.gz
firejail-95a725b61cd9b96cacb73ecef254db9860afb38d.tar.zst
firejail-95a725b61cd9b96cacb73ecef254db9860afb38d.zip
nettrace-dns and nettrace-sni
Diffstat (limited to 'src/man')
-rw-r--r--src/man/firejail.txt86
1 files changed, 80 insertions, 6 deletions
diff --git a/src/man/firejail.txt b/src/man/firejail.txt
index 82eea3977..3b743386e 100644
--- a/src/man/firejail.txt
+++ b/src/man/firejail.txt
@@ -1548,7 +1548,7 @@ PID User RX(KB/s) TX(KB/s) Command
15487383 netblue 9.045 0.112 firejail \-\-net=eth0 transmission 15487383 netblue 9.045 0.112 firejail \-\-net=eth0 transmission
1549.TP 1549.TP
1550\fB\-\-nettrace[=name|pid] 1550\fB\-\-nettrace[=name|pid]
1551Monitor TCP and UDP traffic coming into the sandbox specified by name or pid. Only networked sandboxes 1551Monitor received TCP. UDP, and ICMP traffic. The sandbox can be specified by name or pid. Only networked sandboxes
1552created with \-\-net are supported. This option is only available when running the sandbox as root. 1552created with \-\-net are supported. This option is only available when running the sandbox as root.
1553.br 1553.br
1554 1554
@@ -1557,9 +1557,7 @@ Without a name/pid, Firejail will monitor the main system network namespace.
1557.br 1557.br
1558 1558
1559.br 1559.br
1560 $ sudo firejail --nettrace=browser 1560$ sudo firejail --nettrace=browser
1561.br
1562
1563.br 1561.br
1564 95 KB/s geoip 457, IP database 4436 1562 95 KB/s geoip 457, IP database 4436
1565.br 1563.br
@@ -1576,10 +1574,86 @@ Without a name/pid, Firejail will monitor the main system network namespace.
1576 1574
1577.br 1575.br
1578If /usr/bin/geoiplookup is installed (geoip-bin package in Debian), 1576If /usr/bin/geoiplookup is installed (geoip-bin package in Debian),
1579the country the IP address originates from is added to the trace. 1577the country the traffic originates from is added to the trace.
1580We also use the static IP map in /etc/firejail/hostnames 1578We also use the static IP map in /usr/lib/firejail/static-ip-map
1581to print the domain names for some of the more common websites and cloud platforms. 1579to print the domain names for some of the more common websites and cloud platforms.
1582No external services are contacted for reverse IP lookup. 1580No external services are contacted for reverse IP lookup.
1581.TP
1582\fB\-\-nettrace-dns[=name|pid]
1583Monitor DNS queries. The sandbox can be specified by name or pid. Only networked sandboxes
1584created with \-\-net are supported. This option is only available when running the sandbox as root.
1585.br
1586
1587.br
1588Without a name/pid, Firejail will monitor the main system network namespace.
1589.br
1590
1591.br
1592$ sudo firejail --nettrace-dns=browser
1593.br
159411:31:43 9.9.9.9 linux.com (type 1)
1595.br
159611:31:45 9.9.9.9 fonts.googleapis.com (type 1) NXDOMAIN
1597.br
159811:31:45 9.9.9.9 js.hs-scripts.com (type 1) NXDOMAIN
1599.br
160011:31:45 9.9.9.9 www.linux.com (type 1)
1601.br
160211:31:45 9.9.9.9 fonts.googleapis.com (type 1) NXDOMAIN
1603.br
160411:31:52 9.9.9.9 js.hs-scripts.com (type 1) NXDOMAIN
1605.br
160611:32:05 9.9.9.9 secure.gravatar.com (type 1)
1607.br
160811:32:06 9.9.9.9 secure.gravatar.com (type 1)
1609.br
161011:32:08 9.9.9.9 taikai.network (type 1)
1611.br
161211:32:08 9.9.9.9 cdn.jsdelivr.net (type 1)
1613.br
161411:32:08 9.9.9.9 taikai.azureedge.net (type 1)
1615.br
161611:32:08 9.9.9.9 www.youtube.com (type 1)
1617.br
1618.TP
1619\fB\-\-nettrace-sni[=name|pid]
1620Monitor Server Name Indication (TLS/SNI). The sandbox can be specified by name or pid. Only networked sandboxes
1621created with \-\-net are supported. This option is only available when running the sandbox as root.
1622.br
1623
1624.br
1625Without a name/pid, Firejail will monitor the main system network namespace.
1626.br
1627
1628.br
1629$ sudo firejail --nettrace-sni=browser
1630.br
163107:49:51 23.185.0.3 linux.com
1632.br
163307:49:51 23.185.0.3 www.linux.com
1634.br
163507:50:05 192.0.73.2 secure.gravatar.com
1636.br
163707:52:35 172.67.68.93 www.howtoforge.com
1638.br
163907:52:37 13.225.103.59 sf.ezoiccdn.com
1640.br
164107:52:42 142.250.176.3 www.gstatic.com
1642.br
164307:53:03 173.236.250.32 www.linuxlinks.com
1644.br
164507:53:05 192.0.77.37 c0.wp.com
1646.br
164707:53:08 192.0.78.32 jetpack.wordpress.com
1648.br
164907:53:09 192.0.77.32 s0.wp.com
1650.br
165107:53:09 192.0.77.2 i0.wp.com
1652.br
165307:53:10 192.0.77.2 i0.wp.com
1654.br
165507:53:11 192.0.73.2 1.gravatar.com
1656.br
1583#endif 1657#endif
1584.TP 1658.TP
1585\fB\-\-nice=value 1659\fB\-\-nice=value