diff options
author | John Thacker <johnthacker@gmail.com> | 2023-01-20 01:10:27 -0500 |
---|---|---|
committer | John Thacker <johnthacker@gmail.com> | 2023-01-21 22:25:03 +0000 |
commit | c65d5a0a80faed9c9a1d6527be2faa6d92e14ea5 (patch) | |
tree | 44f95a98c8f17c9432a94a919858e30a6d66ec45 /packaging | |
parent | ee5435784d704e16fa15b233c86b92bfda53b1f9 (diff) |
wiretap: Reprocess Name Resolution Blocks during redissect
Keep name resolution information as mandatory elements for
NRBs, and when the ipv4 or ipv6 callback is set, have name
resolution entries from already read NRBs sent to the callback.
rescan_packets can use this when redissecting to reobtain the
name resolution entries from the NRB, similar to what is done
with Decryption Secrets Blocks. (This can also later be used
if we read NRBs and DSBs in pcapng_open before the first packet,
and before the callbacks are set.)
This doesn't yet make the changes to wtap_dumper to write them out,
but is a step towards that too. (It's not clear in cases where we
dissect packets whether we want to copy the entire NRB, or only
write out actually used addresses as done now. For copying without
reading a file, like with editcap, we presumably do want to copy them.)
Fix #13425. Ping #15502
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions