Commit graph

51 commits

Author SHA1 Message Date
Patrick Pacher
8579430db9
wip: migrate to mono-repo. SPN has already been moved to spn/ 2024-03-20 09:45:32 +01:00
Daniel
ec43408a82 Remove network rating / security level system, add migrations 2023-11-24 14:21:07 +01:00
Daniel
995429629b Check failing resolvers asynchronously 2023-10-17 12:41:29 +02:00
Daniel
53c2b82d2e Improve logging 2023-08-04 21:50:03 +02:00
Daniel Hovie
f6d90b008a
Merge pull request #1183 from safing/feature/use-stale-dns-cache-and-update-server-flag
Use stale DNS cache entries and update server flag
2023-04-21 15:33:54 +02:00
Daniel
16c756144a Add config option to always use stale DNS cache entries 2023-04-20 12:52:42 +02:00
Vladimir Stoilov
4784799541 Add check for special android ip in online status check 2023-04-14 11:09:20 +02:00
Daniel
a7380fac90 Warn when query fails 2023-03-16 14:32:02 +01:00
Daniel
9a89f65027 Improve support for DNS-SD and fall back to cached data for non-ICANN queries 2022-05-24 11:25:34 +02:00
Daniel
e178b732bc Calm down and relax dns query check 2022-05-20 16:37:19 +02:00
Daniel
60d8664e7b Fix tests and linters 2022-02-02 12:48:42 +01:00
Daniel
dc31400caa Add workaround for resolver/compat integration 2021-11-29 16:13:08 +01:00
Daniel
8d753808e1 Show compatibility notification when all global resolvers fail 2021-11-17 14:12:19 +01:00
Daniel
48e9a35a07 Implement review suggestions 2021-09-27 14:11:37 +02:00
Daniel
a6ce021dbd Listen for context end better in resolver 2021-09-17 22:04:41 +02:00
Daniel
d626cea102 Improve dns resolving and logging 2021-04-16 21:35:16 +02:00
Daniel
909c7a031c
Merge pull request #279 from safing/fix/resolver-unfailing
Improve resolver unfailing
2021-04-03 16:07:52 +02:00
Daniel
4b2db03957 Unify allow/block naming in messages 2021-03-29 17:36:13 +02:00
Daniel
18617fc617 Improve resolver unfailing 2021-03-29 17:12:47 +02:00
Daniel
20383226f8 Move some Resolver information to ResolverInfo and propagate it 2021-03-20 22:19:27 +01:00
Daniel
6233c76778 Implement review suggestions 2021-01-28 16:44:40 +01:00
Daniel
0e93204caf Return cached entries if device is offline 2021-01-25 17:09:27 +01:00
Daniel
dd6ded0308 Implement review suggestions 2020-10-15 11:23:23 +02:00
Daniel
7d9454f29a Remove RRCache locking and clean up attributes 2020-09-30 17:16:45 +02:00
Daniel
a498611a2a Fix second write when responding with extra section 2020-09-25 11:30:01 +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
c856b7372a Improve handling of expired or failed queries 2020-09-24 17:12:01 +02:00
Daniel
bd8d047428 Retry NSDomain queries, if wanted 2020-09-24 17:12:01 +02:00
Daniel
1da8b7148e Clean up domain resolving scopes
Switch to .17.home.arpa. for internal use
2020-08-17 16:51:18 +02:00
Daniel
4d667afd1d Add more timeouts to blocking calls in resolver 2020-08-14 12:33:06 +02:00
Daniel
dda7cdf7d0 Improve error handling 2020-07-21 14:59:14 +02:00
Daniel
25a3f6053d Improve handling of failing dns resolvers 2020-07-20 16:42:21 +02:00
Daniel
8dea8e6c46 Fix and improve TTL handling 2020-07-20 16:40:47 +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
53e9d3dd47 Add dns cache clearing mechanisms 2020-07-16 16:29:25 +02:00
Daniel
047352f9b5 Implement review suggestions
Fix local. resolving in Firefox
2020-07-15 13:59:56 +02:00
Daniel
e369a9484a Improve captive portal handling 2020-07-15 08:53:55 +02:00
Daniel
834d2e326c Improve resolver netenv integration
From PR Review https://github.com/safing/portmaster/pull/83
2020-07-12 22:01:21 +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
f7320d760d Add TCP/TLS pipelining dns resolver 2020-06-16 16:07:12 +02:00
Daniel
2248026365 Fix error detection if query was blocked by upstream 2020-05-28 10:04:05 +02:00
Daniel
c8223f1a63 Switch resolver pooling to use sync.Pool 2020-05-20 14:57:47 +02:00
Daniel
c71dfaab38 Fix resolver failing 2020-05-20 14:57:17 +02:00
Daniel
3adf52d19c Lower priority of async dns queries
They make take longer if there are network problems
2020-05-18 15:29:28 +02:00
Daniel
53eb309e72 Add TLS resolver connection reusing and pooling
Also, fix caching issues and add more tests
2020-05-15 22:43:06 +02:00
Patrick Pacher
9deb1623d6
Add support to detect upstream DNS resolver blocking 2020-04-21 10:16:32 +02:00
Daniel
180f27307c Fix logging prefixes in resolver package 2020-04-02 17:08:43 +02:00
Daniel
279ab67c7e Streamline configuration 2020-04-01 17:13:30 +02:00