Commit graph

383 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 Hovie
496016b810
Merge pull request #1399 from safing/feature/remove-prompt-on-settings-change
Remove connection prompts when applicable settings are changed by user
2023-12-22 14:19:38 +01:00
Daniel
9c3eccfc73 Add exec eBPD objects 2023-12-22 14:09:09 +01:00
Daniel
4ffc6e53b7 Remove connection prompts when applicable settings are changed by user 2023-12-22 11:00:14 +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
bed5c72a6b Finalize profile merging, add profile metadata state handling, re-attribute connections after profile deletion 2023-10-25 13:54:06 +02:00
Patrick Pacher
bc285b593d Update bandwidth handling and add basic chart support 2023-10-10 14:11:12 +02:00
Daniel
0fd5cbba4b Improve string operations and use new call limiter in network/proc 2023-09-28 15:07:19 +02:00
Daniel
af41e07648 Add support for AllowUnencrypted state (disabled) 2023-09-19 15:46:55 +02:00
Daniel
81c801237d Move blocking of invalid IPs behind rules 2023-09-19 10:04:26 +02:00
Daniel
1376e46d21 Improve IP/Port parsing 2023-09-06 11:08:02 +02:00
Daniel
07995b7a4f Remove config option from privacy filter subsystem 2023-08-24 09:45:53 +02:00
Daniel
a44312d516 Expose tunnel options creation and split tunnel options 2023-08-22 16:30:56 +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
Daniel
f3e7abf908 Use DNS request connections to attribute DNS requests 2023-08-18 16:49:45 +02:00
Daniel
fab3208929 Remove check for self-communication (allowed by default) 2023-08-18 14:32:15 +02:00
Vladimir Stoilov
18f884b757 Fix ebpf tcp ipv6 2023-08-18 09:51:12 +03:00
Daniel
9ccdfad328 Disable connection self-check as it uses the old process detection 2023-08-11 11:55:29 +02:00
Daniel
8138a2aa4c Improve performance when custom lists are not loaded 2023-08-11 11:55:04 +02:00
Daniel
d9c76cf4dc Correctly finalize DNS requests if filtered 2023-08-11 11:41:07 +02:00
Daniel
37fbc4b74c Update all connection feature flags on account update 2023-08-07 16:49:12 +02:00
Daniel
d0f4392b9d Fix netquery connection ID generation 2023-08-04 21:49:57 +02:00
Daniel
9e4bdfb341 Add support for DNS RRs SVCB and HTTP; improve DNS conn handling 2023-08-04 21:43:46 +02: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
4fcfb424c9 Fix and improve packet handling procedures 2023-07-28 23:26:10 +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
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