scapy icon indicating copy to clipboard operation
scapy copied to clipboard

Match Netbios responses for hostnames over length 15

Open lawndoc opened this issue 7 months ago • 2 comments

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

lawndoc avatar Jun 28 '24 13:06 lawndoc