Commit graph

353 commits

Author SHA1 Message Date
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
daa33c1a88 Improve network history setting 2023-07-21 16:06:21 +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
Patrick Pacher
5dcb6b268f Persist bandwidth data in netquery DBs when enabled 2023-07-21 11:38:05 +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
Daniel
c6de741ed8 Disable prompting when re-evaluating connections 2023-01-30 13:57:58 +01: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 Stoilov
219260f605
Merge branch 'develop' into fix/verdict-cache-update 2022-11-10 18:03:10 +02: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
Vladimir
8b8755458e fix sending update verdict info 2022-11-08 16:39:26 +01:00
Vladimir
7a639be526 Merge branch 'fix/remove-glue-library' into fix/verdict-cache-update 2022-11-08 10:14:37 +01:00
Vladimir
fed7b74f51 fix stopping of the kext service 2022-11-07 16:42:12 +01:00
Vladimir
101bf16727 better kext service handling 2022-11-07 16:09:41 +01:00
Vladimir
5e8569dfdd add defer when measuring time 2022-11-07 11:18:09 +01:00
Vladimir
3768db6b32 Removed legacy code and refactoring 2022-11-07 11:07:49 +01:00
Daniel
7e82d036c3 Add safe fallbacks for untrusted home nodes 2022-11-04 16:01:47 +01:00
Vladimir
1b480066be fix slow system calls windows kext 2022-11-04 14:01:13 +01:00