Age | Commit message (Collapse) | Author |
|
The resolv.conf parsing lib is super strict and does not allow unknown
options, given we do not care about options search domains or really
anything else in this file parse it ourselves with very lax rules.
Basically we try to find the nameserver lines. Anything else is ignored,
the only error we produce is if we fail to parse the nameserver ip
address.
Fixes #418
Fixes https://issues.redhat.com/browse/RHEL-57695
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: Brent Baude <bbaude@redhat.com>
|
|
Signed-off-by: Brent Baude <bbaude@redhat.com>
|
|
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
|
|
add tcp support
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Mostly so we can handle lists see the next commit.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
|
|
We already have tokio as dependency anyway so we might as well just use
it for the signal code as well.
They both internally depend on signal-hook-registry so it isn't a big
gain in terms of used code but it seems cleaner to stick to the tokio
API where possible and the resulting binary is about 14 kb smaller.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: Brent Baude <bbaude@redhat.com>
|
|
Signed-off-by: Brent Baude <bbaude@redhat.com>
|
|
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Don't tear down all server threads on SIGHUP
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Instead we parse the new config, replace the in-memory configuration
state, stop all old threads for IPs which are no longer in the
configuration, and start any new ones for IPs which were added.
Signed-off-by: Johannes Löthberg <johannes.loethberg@elokon.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
nix changed some of its api signatures. small tweaks required
Signed-off-by: Brent Baude <bbaude@redhat.com>
|
|
requires working around two deprecations; small change needed
Signed-off-by: Brent Baude <bbaude@redhat.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: Brent Baude <bbaude@redhat.com>
|
|
Signed-off-by: Brent Baude <bbaude@redhat.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
|
Signed-off-by: Brent Baude <bbaude@redhat.com>
|