Commit graph

23 commits

Author SHA1 Message Date
Gustavo Iñiguez Goia
01dc1d2e9b
Bumped debian packages versions to 1.6.0.1
1.6.0-rc.5-1 is newer than 1.6.0-1 unfortunately.
2023-06-15 23:52:56 +02:00
Gustavo Iñiguez Goia
a7e64b0374
new script to restart the daemon after suspend
There's a bug when coming back from suspend state, that causes eBPF proc
monitor method stop working.

The only solution to this problem for now, is restart the daemon every
time the computer wakes up.

See: https://github.com/evilsocket/opensnitch/discussions/834#discussioncomment-5712431).
2023-06-08 17:25:29 +02:00
Gustavo Iñiguez Goia
96a962be2b
ci fixes 2023-05-17 13:00:13 +02:00
Gustavo Iñiguez Goia
f97e7392a3
ci fixes 2023-05-17 12:26:49 +02:00
Gustavo Iñiguez Goia
ba64379348
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).

Closes: #939
2023-05-17 01:20:53 +02:00
Gustavo Iñiguez Goia
2341b69fe7
added script to dump ebpf maps 2023-04-24 17:55:05 +02:00
Gustavo Iñiguez Goia
cbdb00b620
deb: remove autostart file on uninstall
Closes #916
2023-04-22 23:38:36 +02:00
Gustavo Iñiguez Goia
a1948e259a
Bump versions to 1.6.0 2023-04-22 12:32:53 +02:00
Gustavo Iñiguez Goia
a4b59e6ce0
Updated packaging files, bump versions to 1.6.0rc5 2023-02-18 20:35:34 +01:00
Spencer Comfort
f845f12db9
Update make_ads_rules.py 2023-02-01 07:32:49 -05:00
Gustavo Iñiguez Goia
7f81e010a3
utils: updated modules compilation script
Apply a different patch depending on the arquitecture.
2023-01-16 11:31:55 +01:00
Gustavo Iñiguez Goia
ceee7970a3
fixed script to compile ebpf modules 2022-12-22 12:08:18 +01:00
Gustavo Iñiguez Goia
85776f4d17
Bump ui and daemon versions to 1.6.0rc4 2022-12-22 10:20:36 +01:00
Gustavo Iñiguez Goia
58ceb90996
deb: fixed latest changelog datetime 2022-12-08 11:42:18 +01:00
Gustavo Iñiguez Goia
fcecff3d36
rpm: fixed installed files 2022-11-16 22:57:07 +01:00
Gustavo Iñiguez Goia
6bfe6cef8d
Bump versions to 1.6.0-rc.3 2022-11-15 00:52:23 +01:00
Gustavo Iñiguez Goia
a3538a728f
systemd service: wait 10s to stop, otherwise kill daemon 2022-10-27 17:53:42 +02:00
Gustavo Iñiguez Goia
44500f9c09
pkgs, deb: improvements
- Don't share sources (reduces deb size).
 - Install eBPF modules under /usr/lib/opensnitchd/ebpf/
   /etc/is only mean for configuration files, and /usr/lib for object
   files and libraries.
   https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s07.html#purpose6
   https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s06.html#purpose22
 - Added NEWS file, to inform users about breaking changes and other
   relevant changes.
2022-10-19 13:13:45 +02:00
Gustavo Iñiguez Goia
fb3a8ccb37
added helper script to compile eBPF modules 2022-10-05 14:51:00 +02:00
Gustavo Iñiguez Goia
564c263d71
packaging: moving files out of the gui/daemon dirs 2022-09-26 23:03:49 +02:00
Gustavo Iñiguez Goia
c9650cbc49 update_adlists.sh updated
set output directory to /etc/opensnitchd/blocklists/domains/
2022-07-07 21:48:20 +02:00
Gustavo Iñiguez Goia
c3a356bdb8 update_adlists.sh updated
- TOP_EU_US_Ads_Trackers_HOST list is no longer available, and the new
  list is not in hosts format.
- curben malware list moved to malware-filter.gitlab.io
- some improvements

Closes #695
2022-07-07 13:18:15 +02:00
Gustavo Iñiguez Goia
be32ddc574 added script to update ads lists, old script relocated.
There's a new way of blocking lists of domains:
https://github.com/evilsocket/opensnitch/wiki/block-lists

However the update of the lists is not implemented yet. You can use
this or other simple script to download and update the lists (in hosts
format).
2021-07-17 00:41:13 +02:00