When we receive 2 responses packets, if the first is cname, et second who contain de A record is not processed, and then flow->info do not contain protos.dns.rsp_addr.ipv4 value
Expected behavior
A clear and concise description of what you expected to happen.
Obtained behavior
A clear and concise description of what happening.
nDPI Environment (please complete the following information):
OS name: fedora
OS version: 41
Architecture: x86_64
nDPI version or commit hash: Using nDPI (4.11.0-4871-ddd08f9) [1 thread(s)]
I acknowledge the problem.
However it is a little bit more complex that "skip any answers up to A/AAAA record" because we must be sure to return request metadata and answer metadata of the SAME transaction.
Describe the bug
When we receive 2 responses packets, if the first is cname, et second who contain de A record is not processed, and then flow->info do not contain protos.dns.rsp_addr.ipv4 value
Expected behavior
A clear and concise description of what you expected to happen.
Obtained behavior
A clear and concise description of what happening.
nDPI Environment (please complete the following information):
config.log
file generated after./configure
ran (if you are building from source).How to reproduce the reported bug
Reproducible using ndpiReader?
If applicable, the used ndpiReader options:
If your bug is reproducible using a pcap, please attach a pcap file (or a valid link to download it)
dns.pcap.gz
Example: dns.pcap.gz
Steps to reproduce the behavior:
Additional context
Add any other context about the problem here.