Commit graph

82 commits

Author SHA1 Message Date
Daniel
9b58046617 Warn on failed dns server shutdown instead of returning an error 2021-03-10 14:15:54 +01:00
Daniel
0b79173269 Register metrics in start instead of prep 2021-03-10 14:08:32 +01:00
Daniel
df7afe985e Add fast network table lookup 2021-02-23 13:10:08 +01:00
Daniel
c9b89ef2ea Use metrics 2021-01-28 17:45:52 +01:00
Daniel
0e93204caf Return cached entries if device is offline 2021-01-25 17:09:27 +01:00
Daniel
12f3c0ea8d Add support for network service 2021-01-19 15:43:22 +01:00
Daniel
564928a97f Switch nameserver to listen on localhost 2021-01-08 16:36:36 +01:00
Daniel
c80159585e Make DNS Server listen address configurable 2020-12-21 14:53:20 +01:00
Daniel
5170c7a105 Fix nameserver logging 2020-12-04 16:56:21 +01:00
Daniel
f31e19aaac Improve logging 2020-12-01 16:59:58 +01:00
Daniel
057d167221 Block DNS requests with IPs 0.0.0.17 and ::17 2020-11-04 15:51:30 +01:00
Daniel
ed00e1fe83 Add titles and categories to notifications
Also, add more event data to prompts.
2020-10-29 22:54:46 +01:00
Daniel
c09d32cf08 Add option key responsible for the verdict
Also, expose the RevisionCounter
2020-10-29 16:24:17 +01:00
Patrick Pacher
2ccf8c635a
Merge branch 'develop' into feature/ui-revamp 2020-10-16 10:00:04 +02:00
Daniel
eeb2d1053e Remove nameserver/only package 2020-10-15 11:48:27 +02:00
Daniel
3ded87fc2c Fix DNS responders when for non A and AAAA questions 2020-10-15 11:48:27 +02:00
Daniel
cfafbfca4e Improve trace logging 2020-10-15 11:48:27 +02:00
Patrick Pacher
f65d3f36e7
Merge branch 'develop' into feature/ui-revamp 2020-10-15 11:15:07 +02:00
Patrick Pacher
75bc5df34d
Refactor connection locking 2020-10-07 11:55:01 +02:00
Daniel
7b5803482c Support non-standard format on dns query name 2020-09-29 11:23:05 +02:00
Patrick Pacher
69962fcb11
Merge branch 'develop' into feature/ui-revamp 2020-09-29 09:19:15 +02:00
Daniel
a498611a2a Fix second write when responding with extra section 2020-09-25 11:30:01 +02:00
Daniel
991cebb3d3 Retry send DNS response without extra section 2020-09-25 10:23:59 +02:00
Daniel
4e14439112 Handle DNS Rcodes 2020-09-25 10:13:10 +02:00
Daniel
00de73d65e Further logging improvements 2020-09-24 22:44:27 +02:00
Daniel
89dfbf72e6 Final feedback implementation and fixes 2020-09-24 22:03:02 +02:00
Daniel
67cdc52fcd Implement Feedback 2020-09-24 17:25:00 +02:00
Daniel
af056780fc Fix linter errors 2020-09-24 17:12:01 +02:00
Daniel
12b0ff973d Fix special responders 2020-09-24 17:12:01 +02:00
Daniel
3f3d82bdf1 Improve debug information in DNS responses 2020-09-24 17:12:01 +02:00
Patrick Pacher
a5e3f7ff37
Refactor status package to use portbase/runtime.
Refactor the status package to use portbase/runtime and
make system status readonly. Also adapts the code base
to the new portbase/notifications package.
2020-09-21 17:19:07 +02:00
Daniel
39aa3d0879 Improve resilience and logging in resolver and nameserver 2020-08-19 16:20:51 +02:00
Daniel
9d35ff3192 Fix and improve network listener system integration and check
Also, improve logging.
2020-08-12 14:33:09 +02:00
Patrick Pacher
85e4beafa1
Move LMS scoring from nameserver to firewall 2020-08-11 10:28:05 +02:00
Daniel
d17f83a379 Improve nameserver auth IP check 2020-08-11 07:56:51 +02:00
Daniel
68c2d23c1b Fix handling of connectivity / captive portal domains
Also, improve handling of queries during being captive.
2020-07-17 16:09:46 +02:00
Daniel
e369a9484a Improve captive portal handling 2020-07-15 08:53:55 +02:00
Daniel
6298d1df30 Rework tcp resolver to make it cleaner
From PR Review https://github.com/safing/portmaster/pull/78
2020-07-12 21:47:46 +02:00
Daniel
881a757667 Fix netenv resolver interaction
Also fix endless loop in tcp resolver when network is down
2020-06-26 22:50:35 +02:00
Daniel
2248026365 Fix error detection if query was blocked by upstream 2020-05-28 10:04:05 +02:00
Daniel
46411951f6 Further improve logging and messages 2020-05-20 16:43:54 +02:00
Daniel
1c5474bdcd Change dns requests to be workers instead of microtasks 2020-05-20 15:15:07 +02:00
Daniel
e65ae8b55d Implement review suggestions 2020-05-19 16:57:55 +02:00
Daniel
7649859ba6 Switch connection state lookups to use the packet.Info struct
Also, rename the Direction attribute on packet.Info to Inbound
2020-05-18 17:08:32 +02:00
Daniel
55b0ae8944 Revamp process attribution of network connections 2020-05-15 17:15:22 +02:00
Patrick Pacher
972f8fcfc3
Merge pull request #44 from safing/feature/pre-alpha-finalizing
Pre alpha finalizing
2020-04-30 16:42:09 +02:00
Patrick Pacher
2dda3813fa
Let decision reasons decide on the DNS reply 2020-04-30 14:23:06 +02:00
Daniel
95041d217c Fix module dependencies, split filter into interception and filter modules 2020-04-24 10:17:15 +02:00
Patrick Pacher
f2e41a0d32
Refactoring of FilterDNSResponse and DecideOnConnection 2020-04-21 10:17:16 +02:00
Patrick Pacher
8c5526a69b
Add support for verdict and decision reason context 2020-04-21 10:16:32 +02:00