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

Too many Firefox notifications #12

Closed
impredicative opened this issue Jan 13, 2022 · 4 comments
Closed

Too many Firefox notifications #12

impredicative opened this issue Jan 13, 2022 · 4 comments

Comments

@impredicative
Copy link

Are all of these useful?

$ tail -f -n 100 ~/.config/picosnitch/exe.log

2022-01-12 16:11:42 DNS Resolver #3 - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-12 16:11:42 DNS Resolver #3 - /snap/firefox/838/usr/lib/firefox/firefox (name)
2022-01-12 16:11:43 DNS Resolver #4 - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-12 16:11:43 DNS Resolver #4 - /snap/firefox/838/usr/lib/firefox/firefox (name)
2022-01-12 16:11:44 DNS Resolver #8 - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-12 16:11:44 DNS Resolver #8 - /snap/firefox/838/usr/lib/firefox/firefox (name)
2022-01-12 16:11:48 DNS Resolver #7 - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-12 16:11:48 DNS Resolver #7 - /snap/firefox/838/usr/lib/firefox/firefox (name)
2022-01-12 16:11:48 DNS Resolver #6 - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-12 16:11:48 DNS Resolver #6 - /snap/firefox/838/usr/lib/firefox/firefox (name)
2022-01-12 16:11:48 DNS Resolver #5 - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-12 16:11:48 DNS Resolver #5 - /snap/firefox/838/usr/lib/firefox/firefox (name)
2022-01-12 16:11:48 Socket Thread - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-12 16:11:48 Socket Thread - /snap/firefox/838/usr/lib/firefox/firefox (name)
2022-01-12 16:17:16 GeckoMain - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-12 16:17:16 GeckoMain - /snap/firefox/838/usr/lib/firefox/firefox (name)
2022-01-12 17:09:58 DNS Resolver #9 - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-12 17:09:58 DNS Resolver #9 - /snap/firefox/838/usr/lib/firefox/firefox (name)
2022-01-12 19:02:03 DNS Res~ver #10 - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-12 19:02:03 DNS Res~ver #10 - /snap/firefox/838/usr/lib/firefox/firefox (name)
2022-01-12 22:02:07 DNS Res~ver #11 - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-12 22:02:07 DNS Res~ver #11 - /snap/firefox/838/usr/lib/firefox/firefox (name)
2022-01-13 10:17:40 DNS Res~ver #12 - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-13 10:17:40 DNS Res~ver #12 - /snap/firefox/838/usr/lib/firefox/firefox (name)
2022-01-13 10:47:14 DNS Res~ver #13 - /snap/firefox/838/usr/lib/firefox/firefox (exe)
2022-01-13 10:47:14 DNS Res~ver #13 - /snap/firefox/838/usr/lib/firefox/firefox (name)
@lazysoundsystem
Copy link

I'm also curious about this - I get many messages from firefox and from thunderbird and not sure how to ignore them:

2022-01-15 18:20:16 DNS Res~er #206 - /usr/lib/firefox/firefox (name)
2022-01-15 18:20:16 DNS Res~er #207 - /usr/lib/firefox/firefox (exe)
2022-01-15 18:20:16 DNS Res~er #207 - /usr/lib/firefox/firefox (name)
2022-01-15 18:26:49 DNS Res~er #882 - /opt/thunderbird/thunderbird-bin (name)
2022-01-15 18:26:49 DNS Res~er #883 - /opt/thunderbird/thunderbird-bin (name)
2022-01-15 18:26:49 DNS Res~er #884 - /opt/thunderbird/thunderbird-bin (name)

@elesiuta
Copy link
Owner

I updated it so now you should only get notifications on new executables or hashes, not process names (these will still appear in the log file though). I also tidied up the messages a bit. aa1f698

@impredicative
Copy link
Author

Well, the log file is what I monitor. I think it'll help to remove meaningless lines from the log file too.

@elesiuta
Copy link
Owner

elesiuta commented Jan 18, 2022

In that case I wouldn't say it's meaningless, because other than just including the first seen name, there isn't really a best way to determine which name to include.

Also in cases for things like containers, the executable path is basically useless, and you can have multiple different executables appear to have the same path, usually they'd also have the same name, but not always, so it could be useful to have some differentiation other than the hash since that could be delayed, or fail if the process was extremely short lived.

Also in your example it won't be as bad (no more duplicates)

2022-01-12 16:11:42 DNS Resolver #3 - /snap/firefox/838/usr/lib/firefox/firefox (new name, exe)
2022-01-12 16:11:43 DNS Resolver #4 - /snap/firefox/838/usr/lib/firefox/firefox (new name, exe)
2022-01-12 16:11:44 DNS Resolver #8 - /snap/firefox/838/usr/lib/firefox/firefox (new name, exe)
...

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

3 participants