scapy
scapy copied to clipboard
Match Netbios responses for hostnames over length 15
Scapy handles long netbios hostname queries by trimming the hostname to the maximum of 15 characters before sending the request. When a response is sent back, Scapy fails to match the response to the request because it matches the trimmed hostname against the full-length one originally requested.
This PR will trim the original hostname being queried when matching requests in answers
.
This is referenced in issue #4443