| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2024-12-12 | Remove some deprecated ref patterns | Joakim Hulthe | 1 | -15/+12 | |
| 2024-11-28 | Log failure reason when trying DNS managers | Joakim Hulthe | 1 | -14/+27 | |
| 2024-09-18 | Keep separate tunnel state machine configs for tunnel and non-tunnel DNS | David Lönnhager | 1 | -1/+4 | |
| 2024-02-27 | Replace err_derive with thiserror | Joakim Hulthe | 4 | -35/+35 | |
| `err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical. | |||||
| 2023-09-11 | Fix warnings about static_resolv_conf | David Lönnhager | 1 | -4/+5 | |
| 2023-08-30 | Fix clippy lints | Emīls | 2 | -16/+10 | |
| 2023-03-27 | Fix many typos | Alexander Seiler | 1 | -1/+1 | |
| Signed-off-by: Alexander Seiler <seileralex@gmail.com> | |||||
| 2023-01-30 | Run `cargo clippy --fix` with the new Rust 1.67 preferred format | Linus Färnstrand | 1 | -1/+1 | |
| 2022-12-21 | Apply more clippy fixes. | Emīls | 1 | -2/+2 | |
| 2022-11-07 | Split up talpid-core | Emīls Piņķis | 3 | -8/+4 | |
| 2022-09-27 | Fix clippy complaints | Emīls Piņķis | 1 | -1/+1 | |
| 2022-06-29 | Remove notify dependency and add inotify instead | Jonathan | 2 | -44/+69 | |
| Switch from notify to inotify since we only used notify on Linux. This helps cleanup our dependency tree and allows us to have more control over how the thread responsible for monitoring `resolv.conf` exits. | |||||
| 2022-06-21 | Fix the large majority of clippy warnings | Jonathan | 2 | -14/+14 | |
| This commit fixes most of the remaining clippy warnings in the codebase. These warnings were the more semantically difficult ones to fix. There are some warnings that remain from the rebase that will be fixed in the upcoming PR. | |||||
| 2022-06-14 | Manually fix the simpler non-semantic clippy warns | Jonathan | 3 | -5/+6 | |
| This commit tries to manually fix the clippy warnings that are fairly straightforward and do not have rippling effects on the codebase nor have a very high chance of causing bugs. | |||||
| 2022-04-29 | Fix log about selecting NetworkManager | David Lönnhager | 1 | -1/+1 | |
| 2022-01-11 | Use ": " as delimiter instead of " - " between messages and value | Linus Färnstrand | 1 | -2/+2 | |
| 2021-11-29 | Reformat code without blank_lines_upper_bound = 2 | Linus Färnstrand | 3 | -5/+0 | |
| 2021-11-05 | Remove unused DNS monitor arguments | David Lönnhager | 1 | -6/+2 | |
| 2021-11-03 | Ignore local resolvers for systemd-resolved | Emīls Piņķis | 3 | -446/+26 | |
| 2021-10-08 | Simplify cleanup in systemd resolved monitor | David Lönnhager | 1 | -3/+1 | |
| 2021-10-05 | Fix mutex/await warning | David Lönnhager | 1 | -5/+13 | |
| 2021-08-09 | Always disable DNS over TLS in systemd-resolved | Emīls | 1 | -0/+6 | |
| 2021-06-22 | Use the route manager for the Linux offline monitor | David Lönnhager | 1 | -1/+1 | |
| 2021-06-22 | Use the route manager for route monitoring in the DNS monitor | David Lönnhager | 3 | -145/+83 | |
| 2021-06-09 | Fix D-Bus errors by using a separate connection for the route monitor | David Lönnhager | 1 | -1/+1 | |
| 2021-06-09 | Infer and monitor interfaces for DNS config | David Lönnhager | 3 | -52/+506 | |
| 2021-03-26 | Fix deadlock in systemd-resolved | Emīls | 1 | -50/+63 | |
| 2021-03-02 | Watch DNS config changes in systemd-resolved | Emīls | 2 | -276/+76 | |
| Certain NM versions will overwrite systemd-resovled config when they're reapplying existing config, this can be invoked `nmcli general reload dns-full` or by receiving a new DHCP lease. NM will just wipe the config for interfaces it doesn't have the config for in systemd-resolved, and since our daemon prefers systemd-resolved over NM, our config would be wiped. To fix this, I've changed the systemd-resolved DNS code to listen to changes to the global DNS config and reapply the tunnel interface DNS config if it's changed in any way. To better seperate the conecrns, the systemd-resolved DBus specific code was moved to the `talpid-dbus` crate, and the DNS code that manages the state and applies changes remains in `talpid-core`. One other solution that was considered was to just prefer NM over systemd-resolved, and we already kind of could do that, but the coming NM versions (1.28 and up) seem to not be able to manage DNS via it's own /etc/resolv.conf. | |||||
| 2021-03-01 | Stop using NM if it's too new | Emīls | 1 | -0/+1 | |
| 2021-01-12 | Rely on talpid-dbus in talpid-core | Emīls | 2 | -7/+8 | |
| 2021-01-07 | Match content of /etc/resolv.conf for systemd-resolved | Emīls | 1 | -11/+41 | |
| 2020-12-15 | Add new resolve.conf path to check for systemd-resolved | Emīls | 1 | -11/+34 | |
| 2020-11-19 | Simplify systemd-resolved code | Emīls | 1 | -5/+1 | |
| Since issues with NM managing DNS via systemd-resolved are fixed, it's no longer necessary to check if NM is actually using systemd-resolved before picking systemd-resolved to manage DNS. The end result of these changes is that the daemon fall back to using NM more often now, but it shouldn't be an issue. | |||||
| 2020-11-19 | Add shared DBus connection | Emīls | 1 | -4/+4 | |
| 2020-11-19 | Refactor systemd-resolved DBus code | Emīls | 1 | -97/+70 | |
| 2020-11-19 | Use refactored NM code for managing DNS | Emīls | 2 | -485/+17 | |
| 2020-11-19 | Refactor connectivity check disabling | Emīls | 1 | -3/+4 | |
| 2020-11-16 | Remove deprecated NetworkManager option | David Lönnhager | 1 | -15/+2 | |
| 2020-11-13 | Allow obtaining a DBus connection from DNS monitor | Emīls | 3 | -2/+10 | |
| 2020-11-09 | Add search domain to NM DNS config | Emīls | 1 | -0/+1 | |
| 2020-11-09 | Always let DnsMonitor::reset succeed if it finds no interface | David Lönnhager | 3 | -54/+72 | |
| 2020-11-09 | Enable NM's WireGuard via an environment variable | Emīls | 1 | -2/+0 | |
| 2020-11-09 | Use netlink to create WireGuard device instead of NM | Emīls | 2 | -25/+27 | |
| 2020-11-05 | Prefer systemd-resolved over NM if it's working | Emīls | 2 | -10/+73 | |
| 2020-11-04 | Don't log absence of systemd-resolved as an error | David Lönnhager | 1 | -2/+6 | |
| 2020-11-04 | Fix device state check | David Lönnhager | 1 | -1/+1 | |
| 2020-10-28 | Adjust NM DNS code for IPv6 | Emīls | 1 | -1/+5 | |
| 2020-10-28 | Allow more device states with NM DNS | Emīls | 1 | -22/+40 | |
| 2020-09-22 | Upgrade dbus-rs | David Lönnhager | 2 | -17/+23 | |
| 2020-09-03 | Allow more systemd-resovled config paths | Emīls | 1 | -9/+19 | |
