Commit graph

156 commits

Author SHA1 Message Date
Daniel
8312c7c6b5 Add UDPLite check to ip4_datagram_connect hook 2024-01-11 10:03:40 +01:00
Daniel
67e2dba0d5 Use sk->sk_protocol instead of udp.pcflag to detect UDPLite protocol in eBPF 2024-01-10 14:16:47 +01:00
Daniel
9c3eccfc73 Add exec eBPD objects 2023-12-22 14:09:09 +01:00
Daniel
425a0bed4c Improve getting process group leader 2023-12-21 13:28:40 +01:00
Patrick Pacher
30fee07a89 Add utility for getting processes and process group leaders 2023-12-19 15:51:27 +01:00
Daniel
0fd5cbba4b Improve string operations and use new call limiter in network/proc 2023-09-28 15:07:19 +02:00
Daniel
685291d5c4 Recompile ebpf programs 2023-08-18 16:53:12 +02:00
Daniel
419007ba32 Improve bandwidth update logging 2023-08-18 16:53:01 +02:00
Vladimir Stoilov
18f884b757 Fix ebpf tcp ipv6 2023-08-18 09:51:12 +03:00
Daniel
bf6bf0705d Fix eBPD PID detection for UDP on linux and recompile eBPF programs 2023-08-04 14:10:25 +02:00
Daniel
d3762b2e43 Recompile ebpf programs 2023-08-01 16:22:59 +02:00
Daniel
32eaadd2bf Fix c format 2023-08-01 16:13:50 +02:00
Daniel
b882b910ca Fix PID detection via eBPF 2023-07-28 16:47:52 +02:00
Daniel
8e9f96d3fd Improve ebpf permanent failure detection 2023-07-28 16:47:36 +02:00
Daniel
07f4253e0b Improve logging and make linter happy 2023-07-21 16:05:57 +02:00
Daniel
f0ebc6e72f Update BytesReceived/Sent field names 2023-07-21 16:05:13 +02:00
Daniel
e70fd9abd7 Reduce noisy logging 2023-07-21 16:04:02 +02:00
Daniel
41ffb2c72d Improve windows kext bandwidth stats monitor 2023-07-20 14:02:50 +02:00
Daniel
6d569ca346 Improve epbf bandwidth stats monitor 2023-07-20 14:02:21 +02:00
Daniel
4c21c87b8a Improve ebpf connection listener 2023-07-20 14:01:58 +02:00
Daniel
688b2de26e Rename files for clarity 2023-07-20 13:46:18 +02:00
Daniel
ec85816577 Move interception module and better integrate workers 2023-07-20 13:43:55 +02:00
Daniel
28d3d24988 Add and improve InfoOnly and ExpectInfo packet flags 2023-07-18 16:16:41 +02:00
Vladimir Stoilov
83479acc95 Add example for getting bandwidth stats 2023-06-30 16:56:39 +03:00
Vladimir Stoilov
95716dbb47 Add missing ebpf compiled object 2023-06-26 11:43:30 +03:00
Vladimir Stoilov
74b4ce0869 Make default pid to be -1 and remove unsafe code 2023-06-23 16:41:21 +03:00
Vladimir Stoilov
daeafa406d Add ebpf bandwidth monitoring 2023-06-23 10:06:31 +03:00
Daniel
8a09ba6045 Revamp connection handling flow to fix race condition and support info-only packets 2023-06-21 15:31:45 +02:00
Vladimir Stoilov
83b084959e Fix ebpf return on error 2023-06-14 18:51:20 +03:00
Vladimir Stoilov
2b65e8efe1 Add ebpf check for failed kernel functions 2023-06-14 17:56:01 +03:00
Vladimir Stoilov
cecce3ffcb Fix ebpf source port, add event validation and simpify tcp monitoring 2023-06-14 17:35:09 +03:00
Vladimir Stoilov
f754555979 Add reading of the pid from the kext 2023-06-13 18:03:22 +03:00
Vladimir Stoilov
cee7e9b0c8 Add ebpf compiled programs 2023-06-09 11:33:30 +03:00
Vladimir Stoilov
169a5a1303 Use datagram_connect for udp ebpf process detection 2023-06-09 11:31:24 +03:00
Vladimir Stoilov
0164463ee5 Add udp process detection with ebpf 2023-06-07 19:10:41 +03:00
Vladimir Stoilov
26042ac935 Update libbpf 2023-06-07 17:54:04 +03:00
Vladimir Stoilov
0caa3e792c Add tcp process detection with ebpf 2023-06-07 16:36:44 +03:00
Daniel
5bb2813459 Fix linter errors 2023-04-25 14:37:29 +02:00
Daniel
0aae9b4697 Fix closing nf conntrack session when stopping during start 2023-04-13 16:29:22 +02:00
Vladimir
ddb5b555a6 Fix kext service log wording 2022-12-07 12:04:18 +01:00
Vladimir
d32cde033b Delete old kext service on startup 2022-12-07 11:33:11 +01:00
Vladimir
a1a2338619 Added shutdown request for kext 2022-11-24 09:57:34 +01:00
Daniel
b98d05716d Fix darwin build 2022-11-11 14:12:00 +01:00
Vladimir
50a60639e4 Merge branch 'fix/verdict-cache-update' of github.com:safing/portmaster into fix/verdict-cache-update 2022-11-10 16:42:21 +01:00
Vladimir
b1fb9e10b4 minor refactoring 2 2022-11-10 16:41:56 +01:00
vladimir
c43f6fe463 minor refactoring 2022-11-10 17:36:58 +02:00
Vladimir
f43cf9974d fix linter dot 2022-11-09 12:26:53 +01:00
Vladimir
852fb32bbd Fix linter warnings 2022-11-09 12:23:53 +01:00
Vladimir
a04b76ff58 Fix linter errors 2022-11-09 12:17:23 +01:00
Vladimir
075f9151cd More efficient verdict update structure 2022-11-08 16:53:54 +01:00