Commit Graph

197 Commits

Author SHA1 Message Date
Daniel 9ff824967e Get/Create connections in single-inflight lock 2021-04-07 16:43:13 +02:00
Daniel c8bb071e29 Make pre-authenticated ports simpler and stricter 2021-04-07 16:29:42 +02:00
Daniel 4390df8cb5 Merge pull request #278 from safing/fix/netenv
Fix and improve netenv for Windows and Linux
2021-04-03 16:06:35 +02:00
Daniel bbb1c828e8 Implement review suggestions 2021-04-03 16:03:00 +02:00
Daniel a305c4e81c Merge pull request #281 from safing/fix/allow-block-naming
Unify allow/block naming in messages
2021-03-30 14:26:36 +02:00
Daniel 4398e96af5 Fix check if filter/removeOutOfScopeDNS should applied to a connection 2021-03-30 12:00:58 +02:00
Daniel 4b2db03957 Unify allow/block naming in messages 2021-03-29 17:36:13 +02:00
Daniel 259a0a8b22 Add ICMP listener 2021-03-29 13:41:17 +02:00
Daniel 5d61b7b682 Improve packet parsing 2021-03-29 13:39:36 +02:00
Daniel 60bdea7c50 Fix network debug formatting 2021-03-21 21:49:37 +01:00
Daniel bc341b60c0 Enable Windows dnscache again 2021-03-20 23:14:38 +01:00
Daniel 01e7160bfe Add special handling to dns queries from the system resolver 2021-03-20 23:12:46 +01:00
Daniel 43cfba8445 Add IP scoping data to entity.Entity and network.Connection 2021-03-20 22:07:17 +01:00
Daniel a221fdd3d2 Merge pull request #272 from safing/fix/patch-set-1
Minor fixes and improvements
2021-03-11 15:20:09 +01:00
Patrick Pacher dd5273add7 Merge pull request #264 from safing/fix/negative-config-ints
Add validation to non-negative int config options
2021-03-11 14:25:09 +01:00
Daniel 56d5ce1a47 Add more documentation for prompt handling 2021-03-10 17:28:05 +01:00
Daniel 1178749747 Implement review suggestions 2021-03-10 17:19:51 +01:00
Daniel 0b79173269 Register metrics in start instead of prep 2021-03-10 14:08:32 +01:00
Daniel b60427c68b Add validation to non-negative int config options 2021-02-23 22:45:08 +01:00
Daniel c952e0e0fa Fix bulk profile updates via prompts 2021-02-23 22:14:24 +01:00
Daniel df7afe985e Add fast network table lookup 2021-02-23 13:10:08 +01:00
Patrick Pacher 9da2ba25cb Fix failing build by updating firewall package to new function name 2021-02-05 08:38:44 +01:00
Daniel c9b89ef2ea Use metrics 2021-01-28 17:45:52 +01:00
Daniel 9cf214fdff Simplify profile reloading
Also, increase prompt decision timeout.
2021-01-25 17:07:09 +01:00
Daniel d9483e6251 Fix imcpv6 protocol name 2021-01-23 14:47:44 +01:00
Daniel a30287014c Fix nil check for nil value interfaces 2021-01-23 14:47:08 +01:00
Daniel f5e2b0f9af Merge pull request #234 from safing/fix/iptables-icmp6-handling
Fix icmp6 handling just like for icmp4
2021-01-20 09:11:00 +01:00
Daniel 9d12804211 Fix icmp6 handling just like for icmp4 2021-01-19 15:48:34 +01:00
Daniel 12f3c0ea8d Add support for network service 2021-01-19 15:43:22 +01:00
Daniel 3f8c99517f Merge pull request #229 from safing/feature/switch-to-localhost-nameserver
Switch to localhost nameserver
2021-01-19 15:13:10 +01:00
Daniel 564928a97f Switch nameserver to listen on localhost 2021-01-08 16:36:36 +01:00
Daniel ae32a2e29a Fix typo 2021-01-07 12:40:06 +01:00
Daniel a23c0fffa9 Increase default prompt timeout to 60s 2021-01-07 12:39:54 +01:00
Daniel 60ac9af5f2 Update based on portbase review suggestions 2021-01-06 13:35:25 +01:00
Daniel 72c7592cdd Update API endpoints and handlers 2020-12-31 00:00:48 +01:00
Daniel 8a3e15ec72 Merge pull request #222 from safing/fix/slow-nfq-shutdown
Fix slow nfq shutdown
2020-12-21 19:18:53 +01:00
Daniel 684555e5e5 Fix slow nfq shutdown 2020-12-21 14:55:33 +01:00
Daniel 68b6649a76 Fix fast-tracking of the block-IPs 2020-12-21 14:54:10 +01:00
Patrick Pacher 44e1b97c30 Update linux integration code to re-create the nfqueues on failure 2020-12-14 09:42:04 +01:00
Daniel d206eca3fa Merge pull request #211 from safing/fix/process-profile-deadlock
Fix process/profile deadlock
2020-12-04 17:03:39 +01:00
Daniel 8e34be70bb Remove concept of primary/virtual processes
Simplify single in flight for getting a process
2020-12-04 17:01:10 +01:00
Daniel 7f26a28776 Improve internal tooling 2020-12-04 16:59:14 +01:00
Daniel f31e19aaac Improve logging 2020-12-01 16:59:58 +01:00
Daniel b29775b6a1 Merge pull request #205 from safing/fix/packet-context
Fix tracing context assigned to packets
2020-11-30 15:13:23 +01:00
Daniel c37674d94c Fix tracing context assigned to packets 2020-11-30 14:49:21 +01:00
Daniel e58f28c323 Reduce locking in nfqueue and netlink 2020-11-27 17:20:58 +01:00
Daniel 484012712f Adapt profiles to use new binary metadata system 2020-11-17 09:33:28 +01:00
Daniel 28bb8ec6ca Fix connection blocking on Linux 2020-11-06 08:53:07 +01:00
Daniel b0187862f8 Improve prompt notifications 2020-11-05 16:00:44 +01:00
Patrick Pacher a7df1097a0 Merge pull request #189 from safing/feature/improve-firewall-blocking
Improve firewall blocking
2020-11-05 10:05:05 +01:00