Giter Site home page Giter Site logo

firetools's People

Contributors

a1346054 avatar d2s avatar dmio avatar fred-barclay avatar helmutg avatar netblue30 avatar piraty avatar reinerh avatar smitsohu avatar startx2017 avatar topimiettinen avatar wtogami avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

firetools's Issues

Localizations (Translations) for Firetools and Firejail Configuration Wizard (firejail-ui.png)

Hello netblue30 .

Is it possible to localize Firetools e Firejail Configuration Wizard for other languages?

Firetools and Firejail Configuration Wizard are used in antiX Linux and I am interested in collaborating with the volunteer work of translating to the Brazilian Portuguese language.

I appreciate you programming, developing and maintaining Firetools and Firejail.

marcelocripe
(Original text in Brazilian Portuguese language, English text is an automatic translation)


Olá netblue30.

É possível localizar o Firetools e Firejail Configuration Wizard para outros idiomas?

O Firetools e Firejail Configuration Wizard são utilizados no antiX Linux e eu tenho interesse em colaborar com o trabalho voluntário de tradução para o idioma Português do Brasil.

Eu agradeço por você programar, desenvolver e manter o Firetools e Firejail.

marcelocripe
(Texto original em idioma Português do Brasil)

Window and fonts sizing on HiDPI

A small cosmetic bug... on large screens (I have 4k) and scaling set in gnome shell (using 2) the firetools window has a few issues:
firetools-hidpi
The font scaling for the title is not correct.
Is it possible to remove the black grid lines?

Overall a fantastic app. Thanks so much.

Keys not working properly in firejail-ui

I can select the application categories by mouse in firejail-ui, but when I want to navigate by cursor keys,
only the highlighted line is moving. It doesn't update the content of the window on the right, not even
when pressing Enter.

fstats launches second firetools instance

When I start fstats from firetools, there is a link "Sandbox Launcher" that starts firetools.
firetools is already running, but fstats starts then a new instance, so that then two firetools processes are running.
I'm not sure if this is intended or not...

Icons in firetools

How to get icons to show up in firetools when they are not picked up automatically?
Example kmymoney - icon is in /usr/share/icons but is not shown by firetools.

Configuration wizard compatibility with dark themes

When using a dark theme some issues are very noticeable:

  • All steps: white "Firejail reduces the risk ..." text is not legible on its light background
  • All steps: black checkboxes' and radio buttons' marks are not legible on dark background
  • Step 1: black text in application list is not legible on dark background
  • Step 3: white Network pane, both background and text, compared to black colors in other panes
  • Step 3 (continued), Kernel pane: "Enable seccomp-bpf" has white text compared to black texts of other options
  • In a maximized window, the background image looks terrible.
  • Besides, people use dark themes for a reason and a white background image defeats that

01
02
03

Make “Firejail Tools and Stats” independent of the red launcher window and the latter one optional

I really enjoy the monitoring features of the “Firejail Tools and Stats” window. But I don't need the red window for launching jailed applications at all. It's just not needed, in the way, and I don't like its look very much.

So far I couldn't find a way to get rid of the launcher window while keeping the “Tools and Stats”. If there is one, please tell me about. If not it would be great to have it at some point!

Thank you!

patch included in firecfg.config, breaks it

It seems that patch was added to the firecfg.config and until I manuall removed the entry patch would fail, reporting that it cannot access /usr/lib/libdl.so.2

Edit: Guess this belongs into the other repo

System tray icon for Gnome Shell

Is it possible to change the system tray icon? It is a little bit gaudy and loud for my taste. It would be nice to have it in B&W that matches with the Gnome Shell experience.
firetoolsicon

Should not delete entire rpmbuild tree

Please do not delete the entire rpmbuild tree, but only related files instead.
May be you can use something like:

find $HOME/rpmbuild/ -iname firetools | xargs rm -rf $1

Or use some $NAME-$VERSION variables

Displaying namespaces in firestats

When launching a firejail with the net= paremeter the namespace creation shows the relevant details:

Interface MAC IP Mask Status lo 127.0.0.1 255.0.0.0 UP eth0-12628 fa:10:92:f6:ce:87 192.168.1.249 255.255.255.0 UP eth1-12628 66:71:f5:09:63:47 192.168.1.196 255.255.255.0 UP Default gateway 192.168.1.1
However when launching from an icon you never get to see these details. It would be very useful if the namespace details were displayed from within firestats under the PID details page.

cannot delete entries

Hello everybody,

I am using firetools v. 0.9.62 running on Linux/Lubuntu 20.04.2 LTS.

Evereything works fine except for one thing: If I want to delete any entry I don´t seem to be allowed to do this as the option "Delete" is greyed out.
Can anybody please help me with that one?

Many thanks in advance.
Greetings from Rosika

D'nt start firetools 0.9.58

ROSA Fresh R11

firetools-0.9.52 start
firetools-0.9.58 not start

https://i.imgur.com/RjP9uMJ.png

`%build

autoreconf -if
./configure --prefix=/usr --with-qmake=%{_bindir}/qmake-qt5
%make
`

what fix it?

dark theme addition for fstats

For dark theme users, the blue links in fstats can be very difficult to see, depending on the background color. I recommend a very simple addition to stats_dialog.cpp to remedy this:

  QString StatsDialog::header() {
	QString msg;
+	const char *color = getenv("FSTATS_LINK_COLOR");
+	if (color) {
+		msg += "<style>a:link { color: ";
+		msg += color;
+		msg += "; }</style>";
+	}
	if (mode_ == MODE_TOP) {

Patch for Alpine Linux support in configure

I'm adding firejail & firetools to Alpine Linux.

The following patch works for qt4 & qt5:

--- firetools-0.9.30/configure
+++ firetools-0.9.30/configure.new
@@ -3811,18 +3811,24 @@
        as_fn_error $? "*** Please install Qt5 svg support - apt-get install libqt5svg5 ***" "$LINENO" 5
    fi

-# Arch Linux 64bit
+# Arch Linux 64bit & Alpine Linux
 elif test -f /usr/lib/libQt5Core.so
 then
+   if test -d /usr/lib/qt5
+   then
+       qtdir='qt5'
+   else
+       qtdir='qt'
+   fi
         echo "Found qt5 library in /usr/lib directory"
         # check libqt5svg5 library
-        if test -f /usr/lib/qt/plugins/imageformats/libqsvg.so
+        if test -f /usr/lib/$qtdir/plugins/imageformats/libqsvg.so
         then
                 echo "Found qt5 svg library"
         else
                 as_fn_error $? "*** Please install Qt5 svg support - pacman -S qt5-svg ***" "$LINENO" 5
         fi
-        if test -f /usr/lib/qt/plugins/iconengines/libqsvgicon.so
+        if test -f /usr/lib/$qtdir/plugins/iconengines/libqsvgicon.so
         then
                 echo "Found qt5 svg icon library"
         else

--- firetools-0.9.30/configure
+++ firetools-0.9.30/configure.new
@@ -3939,6 +3939,11 @@
        QMAKE=/usr/lib64/qt4/bin/qmake
    fi

+        # fix for Alpine Linux
+        if test -f /usr/lib/qt5/bin/qmake; then
+                QMAKE=/usr/lib/qt5/bin/qmake
+        fi
+
    if test -z "$QMAKE"
    then
        as_fn_error $? "qmake is missing, please install Qt4 or Qt5 development packages." "$LINENO" 5

I can create a pull request if the above fix is ok.

I'm temporarily building firetools with qt4 until qt5.60 is in the Alpine main repo (at the moment main is 5.50 & the edge repo is 5.60).

Add Use FireJail by Default Options

Short Explanation: A configuration option to allow for an application to automatically use a FireJail profile if he/she utilized a built in DE launcher like Gnome or KDE.

Long Explanation: It would be great to have it so that when I launch an jailed application via your normal application launcher. There are some shortcut editors like AppEditor for Ubuntu, that will let you execute terminal commands when you click a shortcut.

It would make things much easier if FireTools could have this as a feature adding to the overall ecosystem.

fstats memory column seems to wrap at 32 bits

Sandbox memory displayed by fstats grows up to a bit over 4GB, then falls to 0 and grows from there. Looks like a 32-bit value where a 64-bit should be. Although, it also looks like firejail --top's RES column behaves the same way.

Can't install in Whonix (Couldn't find any package by rege)

Tried with and without .deb extension. Following error:

root@host:/home/user/Downloads#` dir
firetools_0.9.52_1_i386.deb
root@host:/home/user/Downloads# apt-get install firetools_0.9.52_1_i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package firetools_0.9.52_1_i386
E:  'firetools_0.9.52_1_i386'
root@host:/home/user/Downloads# 

Build error

I'm getting the following error when trying to build firetools 0.9.62:

g++ -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -lrt -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o ../../build/fstats main.o stats_dialog.o pid_thread.o db.o dbpid.o graph.o utils.o pid.o config.o qrc_fstats.o moc_pid_thread.o moc_stats_dialog.o   /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so -lGL -lpthread -lmd4c   
/usr/bin/ld: stats_dialog.o: undefined reference to symbol 'shm_open@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib/librt.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:182: ../../build/fstats] Error 1
make[2]: Leaving directory '/build/firetools/src/firetools-0.9.62/src/fstats'
make[1]: *** [Makefile:5: fstats] Error 2
make[1]: Leaving directory '/build/firetools/src/firetools-0.9.62/src'
make: *** [Makefile:17: src] Error 2
  • This is caused by commit 15a4571.

  • Reverting commit 15a4571 "fixes" the issue.

  • Executing export LDFLAGS="-lrt ${LDFLAGS}" before building also "fixes" this issue.

  • System Information:

    • OS: Arch Linux x86_64
    • compiler: gcc 9.2.0
    • Qt: 5.14.0 (qmake: 3.1)

Slight Cosmetic & Convenience Issues

The functionality of Firetools is great but the width of the GUI is very wide in comparison to the icons within. I also don't get the black grid. Also, it would be nice if it were a tray icon rather than in the task bar. Some theming options would be nice. Otherwise, it works fine. Was just hoping you might have these sorts of changes on the roadmap.

Build failure on some architectures

Hi,

firetools can't be built on architectures other than amd64 in Debian [1].
The reason is a check for a hardcoded path in configure.ac.
I would suggest to drop the whole blocks checking manually for Qt and replace it with a pkg-config check:
PKG_CHECK_MODULES(QT5, [Qt5Widgets], [], AC_MSG_ERROR([*** Qt5 not installed]))
(I also think you no longer need to support Qt4, so this line should be sufficient.)

I think the checks for Qt5svg are also not necessary, since it is not required during build time (it doesn't include or link against it).
And you could also drop the check for firejail and xterm in configure.ac, since they are also no build requirements.

1: https://buildd.debian.org/status/logs.php?pkg=firetools&ver=0.9.30-1&suite=sid

Is there a plan to add Firetools to official Fedora repositories ?

Recently - after long waiting time - Firejail become available in Fedora repositories ....... I'm not know if the package of Firejail is official from you or pre-built by 3rd party (maintainer). If it is not official from you, so this issue is non sense & please close it. But, if it is official package from you, then I would like to ask if there a plan to add Firetools to official Fedora package or not ?

"firejail --list" does not show hardlinked firefox

I made a hard link to start firefox in firejail:
sudo ln -s /usr/bin/firejail /usr/local/bin/firefox
when I run firejail --list I don't get any results
but when I run which firefox I get /usr/local/bin/firefox

Manjaro, firejail 0.9.70-1

Firetools fstats v0.9.58 cpu% goes high for systemd > 242.85-2.

For full details, testing & discussion pls see my Manjaro Forum thread https://forum.manjaro.org/t/nasty-fstats-cpu-bug-since-testing-update-2019-09-06/102009.

Summary.

  1. For all systemd versions tested so far above 242.85-2, running applications in Firejail continues to provide normal behaviour, but then viewing them in the Firetools fstats window immediately drives up overall cpu% high, due to high cpu% by fstats.
  2. The problem is repeatable by independent users [see Manjaro thread for other users' confirmations], & is independent of Desktop Environment [KDE, Cinnamon, Xfce tested, at least], & independent of distros [at least, for Arch-based ones; Manjaro & EndeavourOS tested].
  3. No Firetools fstats problem occurs for systemd versions 242.85-2 (& below), however given current Arch versions are already higher than that, this is an ongoing problem.
  4. A temporary workaround is available; downgrade installed systemd version back to 242.85-2 or lower.
  5. My original Manjaro test https://forum.manjaro.org/t/nasty-fstats-cpu-bug-since-testing-update-2019-09-06/102009?u=kdemeoz
  6. My EndeavourOS test https://forum.manjaro.org/t/nasty-fstats-cpu-bug-since-testing-update-2019-09-06/102009/24?u=kdemeoz

add tools to systray menu

hello, it's pretty painful to have to open the widget, run Tools, close the widget, each time that you want to open Tools, it is possible to add it to the systray context menu ?

thanks

(minor) firetools current process window sizing

Hi !

I'm on Ubuntu 16.04 and I noticed a minor annoyance in firetools. When I display the current process window I get this :
1

But what I would really like after resizing is this :
2

It's annoying ot have to resize it every time I open it just to see precisely which command is running.
Isn't there a way to remember the former size ? Or just to have it display large enough to print in one line the process ?

Thank you and great work so far :)

How do I install Tor Browser and ProntonVPN in Firetools ?

Hello everybody
I have 2 questions

I have installed Tor Browser from Software Manager in Linux Mint Xfce .
It works but how can I install Tor browser in Firetools?
https://firejailtools.wordpress.com/screenshots/
With Edit / Command / firejail tor browser does not work .

And how can I install the free version of ProtonVPN in Firetools ?
I installed ProtonVPN DEB package on Linux Mint Xfce like this .
https://protonvpn.com/support/official-linux-vpn-mint/
It works but how can I install ProtonVPN in Firetools?
Also this I can not install with Edit / Command / firejail protonvpn .

Can someone explain me how to install these 2 programs in Firetools ?

(I am a beginner )

"Process Tree"-tab is empty

Hello altogether,

I´ve noticed that clicking on "Tools" in the firetools context-menu and then clicking on a certain PID
produces the overview of that process alright.
But when clicking on "Process Tree" the resulting window remains empty.

The other tabs seem to work alright; it´s just the "Process Tree" tab.

I assume this has something to do with the latest firejail update although I may be wrong there.

Currently I´m using firejail version 0.9.64. I updated only recently. The former firejail version didn´t display that behaviour.
Firetools version is 0.9.50-1

Any ideas what can be done done about it?

Thanks a lot in advance.

Greetings.
Rosika

P.S.:
system: Linux/Lubuntu 18.04.5 LTS, 64 bit

Add button to show active profile for each sandbox

E.g. in the screen which displays detailed information about the running process.
This would be a great help in debugging and to see if a process is using the 'correct' profile (e.g. if it was started automatically at boot time)

Firetools dark theme

Firetools can't be used with dark themes

Firetools:  0.9.62-1
Operating System: Manjaro Linux
KDE Plasma Version: 5.19.3
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0
Kernel Version: 5.7.9-1-MANJARO
OS Type: 64-bit

Screenshot_20200724_115847

Whitelist not working for some directories

I have a sandbox for vsocde, with the following in the firejail profile:

whitelist ${HOME}/bin/VSCode-linux-x64/
mkdir ${HOME}/.vscode
whitelist ${HOME}/.vscode
mkdir ${HOME}/.config/Code
whitelist ${HOME}/.config/Code
whitelist ${HOME}/src
whitelist ${HOME}/.rustup
whitelist ${HOME}/.cargo
whitelist ${HOME}/.profile
whitelist ${HOME}/.bashrc

However, if I use that profile, I still cannot access some of these directories:

r@r-thinktop:~/bin$ firejail --profile=/etc/firejail/vscode.profile 
Reading profile /etc/firejail/vscode.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-common.local
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-common.local
Parent pid 24344, child pid 24345
Child process initialized in 74.12 ms
r@r-thinktop:~/bin$ ls ~/.rustup
downloads  settings.toml  tmp  toolchains  update-hashes
r@r-thinktop:~/bin$ ls ~/.vscode
ls: cannot open directory '/home/r/.vscode': Permission denied

I am rather puzzled, why are some whitelist entries just plain ignored?

Project ERROR: Library 'libatomic' not defined

Failing to configure/install with both git clone and tar versions
Project ERROR: Library 'libatomic' is not defined.
./configure: line 3971: cd: src/firejail-ui: No such file or directory
./configure: line 3972: cd: src/fstats: No such file or directory
./configure: line 3973: cd: src/fmgr: No such file or directory
cp: cannot stat 'confdefs.h': No such file or directory
sed: can't read confdefs.h: No such file or directory
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'

Any workarounds? Dependencies have been satisfied

Fails to sandbox an app

Firejail cannot keep an app named Clipgrab in the sandbox. No matter what it will not sandbox.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.