Skip to content
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

Program asking for network access is not found in location stated by opensnitch #771

Closed
julikaiba opened this issue Nov 20, 2022 · 4 comments

Comments

@julikaiba
Copy link

julikaiba commented Nov 20, 2022

Starting recently some programs are supposedly launched from ~/.local/bin/ or /usr/local/bin/ even though these folders dont include any executables. Not sure if this is a problem with wrong detection by this tool, or some weird behavior of my OS but I dont know what to test.

Include the following information:

  • OpenSnitch version: 1.6.0rc2
  • OS: Manjaro
  • Window Manager: xfce
  • Kernel version: Linux someones-pc 5.15.78-1-MANJARO # 1 SMP PREEMPT Thu Nov 10 20:50:09 UTC 2022 x86_64 GNU/Linux

To Reproduce

Steps to reproduce the behavior:

  1. Open for example telegram
  2. get asked about the connection origination from ~/.local/bin/telegram-desktop
  3. check ~/.local/bin/ and whereis and see no mention of that file

Screenshots
https://i.imgur.com/zUbIxN8.png
https://i.imgur.com/TJljSDy.png
https://i.imgur.com/Wg0NO8t.png
(somehow I'm currently not able to upload here directly)

@gustavo-iniguez-goya
Copy link
Collaborator

hi @julikaiba ,

This is a known bug with v1.6.0rc2. Could you download latest modules and see if the issues reproduces?

At the bottom of this page:
https://github.com/evilsocket/opensnitch/actions/runs/3500148840

Direct link to opensnitch-ebpf-modules-5.8-master:
https://github.com/evilsocket/opensnitch/suites/9391255521/artifacts/442881640

Unzip the file and copy the module opensnitch-procs.o to /etc/opensnitchd/opensnitch-procs.o

@julikaiba
Copy link
Author

julikaiba commented Nov 21, 2022

The issue (tested with telegram since its the easiest to test with) still persists, seemingly only when launched using the applications menu or .desktop file though. So far it hasnt happened when launched using the terminal.

Edit: After a system restart it also happens when launched using the terminal, so it seems to be somewhat random if it works or not.

@gustavo-iniguez-goya
Copy link
Collaborator

Thank you for the feedback @julikaiba . I've just realized that the fix for this problem in particular needs, besides the ebpf module, a new daemon. I'm about to release the version 1.6.0rc3 , so it should be fixed in that version.

@gustavo-iniguez-goya
Copy link
Collaborator

I've modified the behaviour and now it should work as in previous versions. It'll be soon available on the next rc release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants