-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opensnitch/ui/requirements.txt - Modules pip with minimum version required #18
Comments
Those versions should be the minimum versions required for the UI to work. What distribution are you using? As far as I can tell, we're compatible from >= pyqt 5.6. |
Very good, thanks Question ?Do possible to modify "requirements.txt" with :
File "requirements.txt" - https://github.com/gustavo-iniguez-goya/opensnitch/blob/main/ui/requirements.txt These modifications would prevent the uninstallation of pip modules with the required version, during the installation of Opensnitch (if I don't say errors). |
cool! By the way, did you try to install the UI deb package? |
In the past, I had tested on original Github, but I haven't no enough time. I tried with this command: sudo dpkg -i python3-opensnitch-ui_1.0.0rc8-1_all.deb |
yes, you'll need to run after that: apt -f install |
Ok. So, II done : And at the end, therminal show : A Opensnitch icon appeared. But it doesn't work. I verify he name of pip modules installed, with this command :
These modifications would prevent the uninstallation of pip modules with the required version, during the installation of Opensnitch (if I don't say errors). |
Can you launch the UI from a terminal and post here the output? $ /usr/bin/opensnitch-ui |
By the way, I've compiled the daemon for arm64, I've updated the installation instructions, and I'll try to automate the process to build packages for this architecture (or any other). |
bash: usr/bin/opensnitch-ui: No such file or directory Too, I'm note use Debian but Armbian (Dietpi with LxQt). Maybe I haven't the same package... |
That means that the UI has not been installed. I'll install dietpi to see if I can install it. On the other hand, I'm progressing in generating deb packages for multiple arquitectures (armhf, arm64, i386, amd64). Could you test this package on arm64 and tell me if ot works? |
Very good. I'm ok to test on Armbian, (Dietpi, with Desktop LxQt)
So, I did this :
I use the dietpi-services to add the service : opensnitch. But Opensnitch doesn't work, no icon on start menu, I reboot the system and always no work. I have a Dietpi who work with Opensnitch and I have manually install with your Github . 2 – Installation of PYTHON v3.8.2 -- 1h30 3 – Update Pip v20.1 -- 5 min 4 – Installation of Qt5 v5.7.1 and QMake v3.0 -- 5min 5 – Installation of PyQt5 v5.14.2 and PyQT5-sip v12.7.2 -- 3h 6 – Installation of grpcio v1.28.1, grpcio-tools v1.28.1, protobuf v3.11.3, six v1.14.0 -- 2h 7 – Final installation - OPENSNITCH -- 1h The final terminal : ... Succes ... Cannot find file: icon-white.png In the all tutorial, I believe I set up the installation incorrectly "Go" and maybe "Qt5" |
Coming soon, this weeks, (I Hope), I'm getting my raspberry pi 4. |
ok, let us know how it works! :) |
Sorry to the late, i'm received th Rpi 4 a few days ago. Currently, the Dietpi to Rpi 4 is in 32 bits (armhf). |
Yes, I'll post an armhf deb ASAP. |
Here you have: I haven't tested it, only ensure that it's an arm binary. Let me know if it works. |
I created a folder "rules" in this adress : /home/dietpi
The service opensnitch don't work. |
ok, please, execute the following commands and paste the output:
|
The service opensnitch don't work |
The daemon is running fine, see:
^ this means that the daemon is running, with PID 3053. if you type
^ this also means that the iptables rule has been inserted correctly. You don't have to execute If you want to execute manually, you'll have to stop the service and then launch it like this:
|
Thanks to you and you help.
And then, the terminal is blocked. I don't know to open Opensnitch. Also,
|
Thank you for the logs! Ok. Unfortunately than means that the kernel has no support for NFQUEUE, or that the kernel modules are not loaded. Please, post the output of the following commands: If the And run opensnitch again: |
I think I've found the problem. I'll post a binary ASAP for you to test. |
Please @Pain-Patate , could you copy this binary to /usr/bin, restart the service and try again? Thank you! |
In old libnetfilter_queue libs, we can't know the UID of the packet because the function nfq_get_uid is not present. We check it dynamically on run time, but we were doing it wrong, so the daemon didn't run with old libs. Thaks to Pain-Patate for reporting it in #18.
I put all codes you listed here in the terminal
If I do this |
Great! now it's working as expected. Modify By the way, always restart the daemon with |
Yes, it looks like to work. |
If you have the GUI installed you should be able to view the connections, modify rules, etc.. |
Ok, Let's go to install GUI |
Install GUI
Is it a problem important ? I tried Opensnitch annnnnnnnnddd verrry goood, It work. Thanks you a lot of @gustavo-iniguez-goya I have some small display problems, but I'll mention them later in a new topic, because this one is getting big. :-) |
superb! |
Yes, it's cool.
Is it a big problem ? |
No as far as I can tell. |
Veryy good. I thinck we can to closed this issue with success. |
Thank you!! |
Hi !
Thanks you tou contine the future of Opensnitch. I have on question
In your procedure : Installation from sources (https://github.com/gustavo-iniguez-goya/opensnitch/wiki/Installation#installation-from-sources) :
"
[...]
go get github.com/gustavo-iniguez-goya/opensnitch
cd $GOPATH/src/github.com/gustavo-iniguez-goya/opensnitch
compile && install
make
[...]
opensnitch-ui
"
"Make", compile and choice addons pip : grpcio-tools, pyinotify, unicode_slugify, pyqt5
See : https://github.com/gustavo-iniguez-goya/opensnitch/blob/main/ui/requirements.txt
Question ?
Is it important to have the requested versions in this file (requirements.txt) or can we install the latest versions?
I ask this because my system cannot retrieve and install version 5.10.1 for PyQt5.
Thanks to all.
The text was updated successfully, but these errors were encountered: