aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--RELNOTES2
-rw-r--r--etc/inc/disable-common.inc9
-rw-r--r--etc/profile-a-l/ftp.profile54
-rw-r--r--etc/profile-m-z/telnet.profile54
-rw-r--r--src/firecfg/firecfg.config2
6 files changed, 118 insertions, 5 deletions
diff --git a/README.md b/README.md
index 7594f1328..2bd3c9fb4 100644
--- a/README.md
+++ b/README.md
@@ -248,4 +248,4 @@ $ ./profstats *.profile
248### New profiles: 248### New profiles:
249 249
250clion-eap, lifeograph, io.github.lainsce.Notejot, rednotebook, zim, microsoft-edge-beta, ncdu2, gallery-dl, yt-dlp, goldendict, bundle, 250clion-eap, lifeograph, io.github.lainsce.Notejot, rednotebook, zim, microsoft-edge-beta, ncdu2, gallery-dl, yt-dlp, goldendict, bundle,
251cmake, make, meson, pip, codium 251cmake, make, meson, pip, codium, telnet, ftp
diff --git a/RELNOTES b/RELNOTES
index 3f92c89c7..9ff0bf5bb 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -10,7 +10,7 @@ firejail (0.9.67) baseline; urgency=low
10 * new profiles: microsoft-edge-beta, clion-eap, lifeograph, zim 10 * new profiles: microsoft-edge-beta, clion-eap, lifeograph, zim
11 * new profiles: io.github.lainsce.Notejot, rednotebook, gallery-dl 11 * new profiles: io.github.lainsce.Notejot, rednotebook, gallery-dl
12 * new profiles: yt-dlp, goldendict, goldendict, bundle, cmake 12 * new profiles: yt-dlp, goldendict, goldendict, bundle, cmake
13 * new profiles: make, meson, pip, codium 13 * new profiles: make, meson, pip, codium, telnet, ftp
14 -- netblue30 <netblue30@yahoo.com> Thu, 29 Jul 2021 09:00:00 -0500 14 -- netblue30 <netblue30@yahoo.com> Thu, 29 Jul 2021 09:00:00 -0500
15 15
16firejail (0.9.66) baseline; urgency=low 16firejail (0.9.66) baseline; urgency=low
diff --git a/etc/inc/disable-common.inc b/etc/inc/disable-common.inc
index bdc5ff6b2..3f4c69dfe 100644
--- a/etc/inc/disable-common.inc
+++ b/etc/inc/disable-common.inc
@@ -494,7 +494,6 @@ blacklist ${PATH}/unix_chkpwd
494blacklist ${PATH}/xev 494blacklist ${PATH}/xev
495blacklist ${PATH}/xinput 495blacklist ${PATH}/xinput
496# from 0.9.67 496# from 0.9.67
497blacklist ${PATH}/ssh
498blacklist /usr/lib/openssh 497blacklist /usr/lib/openssh
499blacklist /usr/lib/ssh 498blacklist /usr/lib/ssh
500blacklist /usr/libexec/openssh 499blacklist /usr/libexec/openssh
@@ -583,8 +582,7 @@ blacklist ${HOME}/sent
583# kernel configuration 582# kernel configuration
584blacklist /proc/config.gz 583blacklist /proc/config.gz
585 584
586# prevent DNS malware attempting to communicate with the server 585# prevent DNS malware attempting to communicate with the server using regular DNS tools
587# using regular DNS tools
588blacklist ${PATH}/dig 586blacklist ${PATH}/dig
589blacklist ${PATH}/dlint 587blacklist ${PATH}/dlint
590blacklist ${PATH}/dns2tcp 588blacklist ${PATH}/dns2tcp
@@ -602,6 +600,11 @@ blacklist ${PATH}/nslookup
602blacklist ${PATH}/resolvectl 600blacklist ${PATH}/resolvectl
603blacklist ${PATH}/unbound-host 601blacklist ${PATH}/unbound-host
604 602
603# prevent an intruder to guess passwords using regular network tools
604blacklist ${PATH}/ftp
605blacklist ${PATH}/ssh
606blacklist ${PATH}/telnet
607
605# rest of ${RUNUSER} 608# rest of ${RUNUSER}
606blacklist ${RUNUSER}/*.lock 609blacklist ${RUNUSER}/*.lock
607blacklist ${RUNUSER}/inaccessible 610blacklist ${RUNUSER}/inaccessible
diff --git a/etc/profile-a-l/ftp.profile b/etc/profile-a-l/ftp.profile
new file mode 100644
index 000000000..29470360c
--- /dev/null
+++ b/etc/profile-a-l/ftp.profile
@@ -0,0 +1,54 @@
1# Firejail profile for ftp
2# Description: standard File Access Protocol utility
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include ftp.local
7# Persistent global definitions
8include globals.local
9
10noblacklist ${PATH}/ftp
11
12include disable-common.inc
13include disable-devel.inc
14include disable-exec.inc
15include disable-interpreters.inc
16include disable-proc.inc
17include disable-programs.inc
18#include disable-shell.inc
19include disable-write-mnt.inc
20include disable-X11.inc
21include disable-xdg.inc
22
23apparmor
24caps.drop all
25ipc-namespace
26machine-id
27netfilter
28no3d
29nodvd
30nogroups
31noinput
32nonewprivs
33noroot
34nosound
35notv
36nou2f
37novideo
38protocol inet,inet6
39seccomp
40shell none
41tracelog
42
43#disable-mnt
44#private-bin PROGRAMS
45private-cache
46private-dev
47#private-etc FILES
48private-tmp
49
50dbus-user none
51dbus-system none
52
53memory-deny-write-execute
54noexec ${HOME}
diff --git a/etc/profile-m-z/telnet.profile b/etc/profile-m-z/telnet.profile
new file mode 100644
index 000000000..0b0510460
--- /dev/null
+++ b/etc/profile-m-z/telnet.profile
@@ -0,0 +1,54 @@
1# Firejail profile for ftp
2# Description: standard File Access Protocol utility
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include telnet.local
7# Persistent global definitions
8include globals.local
9
10noblacklist ${PATH}/telnet
11
12include disable-common.inc
13include disable-devel.inc
14include disable-exec.inc
15include disable-interpreters.inc
16include disable-proc.inc
17include disable-programs.inc
18#include disable-shell.inc
19include disable-write-mnt.inc
20include disable-X11.inc
21include disable-xdg.inc
22
23apparmor
24caps.drop all
25ipc-namespace
26machine-id
27netfilter
28no3d
29nodvd
30nogroups
31noinput
32nonewprivs
33noroot
34nosound
35notv
36nou2f
37novideo
38protocol inet,inet6
39seccomp
40shell none
41tracelog
42
43#disable-mnt
44#private-bin PROGRAMS
45private-cache
46private-dev
47#private-etc FILES
48private-tmp
49
50dbus-user none
51dbus-system none
52
53memory-deny-write-execute
54noexec ${HOME}
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 3ec5f9660..740095ee7 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -275,6 +275,7 @@ freetube
275freshclam 275freshclam
276frogatto 276frogatto
277frozen-bubble 277frozen-bubble
278ftp
278funnyboat 279funnyboat
279gajim 280gajim
280gajim-history-manager 281gajim-history-manager
@@ -767,6 +768,7 @@ teamspeak3
767teeworlds 768teeworlds
768telegram 769telegram
769telegram-desktop 770telegram-desktop
771telnet
770terasology 772terasology
771textmaker18 773textmaker18
772textmaker18free 774textmaker18free