Commit graph

1182 commits

Author SHA1 Message Date
Gustavo Iñiguez Goia
a4862f8a36
updated/new translations
- Updated de_DE, lt_LT, nb_NO and ru_RU translations.
 - Added Hindi (hi_IN), Indonesian (id_ID) and Italian (it_IT).
2024-11-06 00:30:46 +01:00
Gustavo Iñiguez Goia
3f00931bd1
Merge pull request #968 from nnsee/1.5.0
use `uname -m` instead of the `arch` command
2023-06-12 15:25:33 +02:00
Rasmus Moorats
ff28230b75
use uname -m instead of the arch command
The `arch` command is deprecated on modern systems, and indeed,
many distros do not provide it (one of those being Arch Linux,
ironically). Since `uname` is already used in the Makefile, prefer
its `-m` flag equivalent instead.
2023-06-12 16:01:18 +03:00
Gustavo Iñiguez Goia
72646221c3
ebpf: switched to CO:RE compilation
- don't require kernel headers to build the module:
  https://nakryiko.com/posts/bpf-portability-and-co-re/#getting-rid-of-kernel-header-dependency
- use CO:RE BTF file:
  https://nakryiko.com/posts/bpf-portability-and-co-re/#btf
2023-06-10 18:12:26 +02:00
Gustavo Iñiguez Goia
63b986542f
ebpf: fixed crash caused by malformed modules
Ref: https://bugs.debian.org/1037282
2023-06-10 13:44:25 +02:00
Gustavo Iñiguez Goia
be1e7fe405
Bump versions to 1.5.9 2023-06-07 23:33:20 +02:00
Gustavo Iñiguez Goia
a0b07000c1
ebpf: allow to load modules from more paths
Allow to load modules from:
 - /usr/local/lib/opensnitchd/ebpf/
 - /usr/lib/opensnitchd/ebpf/
 - /etc/opensnitchd/ (deprecated, and will be removed)
2023-06-07 17:07:00 +02:00
Gustavo Iñiguez Goia
fe88894597
tests: increased activepids test timeouts
In some environments 1s is not enough.
2023-06-07 16:37:02 +02:00
Gustavo Iñiguez Goia
e3e21466c5
updated nb_NO translation 2023-06-07 14:58:36 +02:00
Gustavo Iñiguez Goia
d698a4cbe3
ebpf: added better error messages
It'll add more feedback to the users.
2023-06-07 14:22:33 +02:00
Gustavo Iñiguez Goia
06af6987ee
updated ebpf compilation Action 2023-06-07 01:33:42 +02:00
Gustavo Iñiguez Goia
63e996d7bb
ebpf: new way of compiling the modules
- Don't rename libbpf's bpf_map_def struct, and distribute the needed bpf
  headers.
  The bpf_map_def struct has been deprecated for quite some time now,
  and it was been removed on >= 6.2 anyway.
  We still need it, because we use gobpf.
- Improved compilation behaviour:
  - We don't require the kernel sources anymore. We can just use the
    kernel headers from the distribution.
  - There's no need to copy the sources to the kernel tree, the modules
    can be compiled from the ebpf_prog/ dir.
- Compiling against kernels 6.x seems to solve the problem we had with
  VPNs, where connections were not intercepted with modules compiled
  against 5.8, on kernels >= 5.19.

The modules has been tested on kernels 4.17, 5.4, 5.10, 5.15, 6.1 and
6.2 (kernel connections included).
2023-06-07 01:23:01 +02:00
Gustavo Iñiguez Goia
2e915d5bfd
updated translations 2023-05-19 17:40:59 +02:00
Gustavo Iñiguez Goia
8292923987
ui, pop-ups: increased default timeout to 30s 2023-03-06 10:09:34 +01:00
Gustavo Iñiguez Goia
d49cb9812a
ui, ruleseditor: changed Open icon 2023-03-01 00:12:29 +01:00
Gustavo Iñiguez Goia
6860964e61
ui: fixed 64x64 icon 2023-02-25 21:53:28 +01:00
Gustavo Iñiguez Goia
9b7c101eed
i18n: updated Hungarian translation
kudos to ovari.
2023-02-21 00:16:34 +01:00
Gustavo Iñiguez Goia
844e9ebce6
updated appstream xml 2023-02-19 11:58:33 +01:00
Gustavo Iñiguez Goia
a3a1fdf2e0
ui: updated appstream Summary field 2023-02-19 10:48:07 +01:00
Gustavo Iñiguez Goia
114326e0e9
Merge pull request #855 from petterreinholdtsen/1.5.0-appstream-icon-name
Corrected appstream icon name.
2023-02-18 11:34:15 +01:00
Gustavo Iñiguez Goia
5bc942db7d
Merge pull request #854 from petterreinholdtsen/1.5.0-appstream-content-rating
Added appstream content rating, no restrictions.
2023-02-18 11:19:31 +01:00
Petter Reinholdtsen
28144f57d5 Corrected appstream icon name.
Made sure the base name used matches the svg and png icons provided.
2023-02-18 11:16:36 +01:00
Petter Reinholdtsen
db1ad0d829 Added appstream content rating, no restrictions. 2023-02-18 11:13:19 +01:00
Gustavo Iñiguez Goia
3a9504d30b
Bump versions to v1.5.8 2023-02-11 21:46:56 +01:00
Gustavo Iñiguez Goia
80586a9206
ui: added 64x64 icon 2023-02-11 21:43:37 +01:00
Gustavo Iñiguez Goia
e465d80fd8
Merge pull request #839 from petterreinholdtsen/desktop-nb-typo
Fixed typo in nb comment of desktop file.
2023-02-09 10:06:15 +01:00
Gustavo Iñiguez Goia
f6cb6de81e
Merge pull request #840 from petterreinholdtsen/appstream-metadata-category
Added appstream desktop category to metadata XML.
2023-02-09 10:06:01 +01:00
Petter Reinholdtsen
36c26e60f6 Added appstream desktop category to metadata XML. 2023-02-09 07:59:21 +00:00
Petter Reinholdtsen
4baf218570 Fixed typo in nb comment of desktop file. 2023-02-09 07:51:49 +00:00
Gustavo Iñiguez Goia
262f9afedc
Merge pull request #836 from petterreinholdtsen/recommend-ui
Added Debian package relation between opensnitch and python3-opensnitch-ui.
2023-02-07 11:53:16 +01:00
Gustavo Iñiguez Goia
2ff4a1e4b9
Merge pull request #835 from petterreinholdtsen/desktop-appdata
Adjusted text of appdata and desktop file.
2023-02-07 10:34:15 +01:00
Petter Reinholdtsen
b5c5f21486 Added Debian package relation between opensnitch and python3-opensnitch-ui.
This ensure 'apt install opensnitch' by default also install
the graphical user interface.  Also let the python3-opensnitch-ui
package suggest opensnitch, to let users know about the daemon
package.  Not using recommends here to avoid circular recommend
relation between the two packages.
2023-02-07 07:10:47 +01:00
Petter Reinholdtsen
6f5cc8c99f Adjusted text of appdata and desktop file.
Include 'interactive' more places.  Added Norwegian Bokmål (nb) translation
of desktop name and comment.
2023-02-07 07:05:07 +01:00
Gustavo Iñiguez Goia
dfa3ed26b3
ui: updated translations 2023-02-07 01:02:28 +01:00
Gustavo Iñiguez Goia
8640080326
Bump application versions 2023-02-06 23:29:14 +01:00
Gustavo Iñiguez Goia
e9eef2e10c
ui: added appstream metainformation file
Added file to display GUI information on software centers.

https://www.freedesktop.org/software/appstream/docs/
2023-02-06 21:56:02 +01:00
Gustavo Iñiguez Goia
2667c6c9d4
ui: fixed listing connections when using translations 2023-02-06 17:04:37 +01:00
Gustavo Iñiguez Goia
9a90afb6aa
translations: fixed typo 2023-02-06 14:09:03 +01:00
Gustavo Iñiguez Goia
d055067baf
i18n: fixed creating locales on fedora
kudos to pizzadude for add a note to the wiki:
3164b857c4
2023-02-05 19:17:36 +01:00
Gustavo Iñiguez Goia
833708692d
i18n: added new language nb_NO
by Petter Reinholdtsen
2023-02-05 19:15:57 +01:00
Gustavo Iñiguez Goia
2a27858182
Merge pull request #831 from petterreinholdtsen/deb-desc-improve
Improve short debian package description.
2023-02-04 11:17:18 +01:00
Petter Reinholdtsen
72aad97a30 Improve short debian package description.
No need to repeat the package name, and make sure to mention the
firewall is interactive.  Use the same phrase in both packages.
2023-02-04 08:37:58 +00:00
Gustavo Iñiguez Goia
400fbe83de
debian: changelog updated 2023-02-02 13:16:56 +01:00
Gustavo Iñiguez Goia
a9ce0d4129
improved connections parsing
On rare situations there're no inodes associated with a connection so we
can't obtain the process (short-lived processes for example).
Instead of apply the default action configured, now if the user enables
the option [x] Debug invalid connections they'll be prompted to allow a
generic "outgoing connection".
2023-02-02 12:45:10 +01:00
Gustavo Iñiguez Goia
4f2d67f7f7
debian: new version 1.5.5 2023-02-02 01:16:37 +01:00
Gustavo Iñiguez Goia
bc30318124
tests: disable netlink sockets tests by default
It causes random failures on restricted environments.
Use NETLINK_TESTS=1 to launch them.
2023-02-01 22:50:16 +01:00
Gustavo Iñiguez Goia
69acc5232b
debian: better packaging, added tests 2023-02-01 14:26:21 +01:00
Gustavo Iñiguez Goia
bde909ac73
debian: updated packaging 2023-02-01 01:16:29 +01:00
Gustavo Iñiguez Goia
e9ba2104a7
ui: fixed exception on PyQt 5.15.8
reported by @darkfishy and @uffejakobsen (#821), thank you!
2023-01-29 19:14:42 +01:00
Gustavo Iñiguez Goia
e6bb006aec
ui, deb: avoid gtk-update-icon-cache errors
don't fail install if it's not installed, or if the theme index file
doesn't exist.
2023-01-24 00:50:40 +01:00