summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2024-09-25 18:48:26 +0200
committerPaul Holzinger <pholzing@redhat.com>2024-09-25 19:07:55 +0200
commit22293ef96905b288f4b6087e5cf62212a1f6a543 (patch)
treec10989da045e8814440ba5efa2a049d9cae48ff4 /Cargo.lock
parent56d105fb55568da0215f73135a10d9365321015c (diff)
serve: parse resolv.conf ourselves
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>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock16
1 files changed, 0 insertions, 16 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 6a7db2d..d45bd9a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -17,7 +17,6 @@ dependencies = [
"libc",
"log",
"nix",
- "resolv-conf",
"syslog",
"tokio",
]
@@ -684,12 +683,6 @@ dependencies = [
]
[[package]]
-name = "quick-error"
-version = "1.2.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
-
-[[package]]
name = "quote"
version = "1.0.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -739,15 +732,6 @@ dependencies = [
]
[[package]]
-name = "resolv-conf"
-version = "0.7.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "52e44394d2086d010551b14b53b1f24e31647570cd1deb0379e2c21b329aba00"
-dependencies = [
- "quick-error",
-]
-
-[[package]]
name = "rustc-demangle"
version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"