diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-11-05 15:40:53 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-02-14 23:12:22 +0100 |
commit | a9fd8837d42581ed9a72c92855c121f99e423e6f (patch) | |
tree | 2d7b200935d13cfd9c351018ae1ddfea3b726e0e /src/resolve/resolved-manager.h | |
parent | resolved: rename manager_our_packet() → manager_packet_from_local_address() (diff) | |
download | systemd-a9fd8837d42581ed9a72c92855c121f99e423e6f.tar.xz systemd-a9fd8837d42581ed9a72c92855c121f99e423e6f.zip |
resolved: refuse packets looped back to us
Fixes: #17413
Diffstat (limited to '')
-rw-r--r-- | src/resolve/resolved-manager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-manager.h b/src/resolve/resolved-manager.h index faa9e25e30..d2f9048fa7 100644 --- a/src/resolve/resolved-manager.h +++ b/src/resolve/resolved-manager.h @@ -166,6 +166,8 @@ void manager_refresh_rrs(Manager *m); int manager_next_hostname(Manager *m); bool manager_packet_from_local_address(Manager *m, DnsPacket *p); +bool manager_packet_from_our_transaction(Manager *m, DnsPacket *p); + DnsScope* manager_find_scope(Manager *m, DnsPacket *p); void manager_verify_all(Manager *m); |