scapy.layers.llmnr module

LLMNR (Link Local Multicast Node Resolution).

[RFC 4795]

LLMNR is based on the DNS packet format (RFC1035 Section 4) RFC also envisions LLMNR over TCP. Like vista, we don’t support it – arno

class scapy.layers.llmnr.LLMNRQuery

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.layers.llmnr.LLMNRQuery'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (LLMNRQuery,LLMNRResponse).id>, <Field (LLMNRQuery).qr>, <Field (LLMNRQuery,LLMNRResponse).opcode>, <Field (LLMNRQuery,LLMNRResponse).c>, <Field (LLMNRQuery,LLMNRResponse).tc>, <Field (LLMNRQuery,LLMNRResponse).z>, <Field (LLMNRQuery,LLMNRResponse).rcode>, <Field (LLMNRQuery,LLMNRResponse).qdcount>, <Field (LLMNRQuery,LLMNRResponse).ancount>, <Field (LLMNRQuery,LLMNRResponse).nscount>, <Field (LLMNRQuery,LLMNRResponse).arcount>, <Field (LLMNRQuery,LLMNRResponse).qd>, <Field (LLMNRQuery,LLMNRResponse).an>, <Field (LLMNRQuery,LLMNRResponse).ns>, <Field (LLMNRQuery,LLMNRResponse).ar>]
hashret()

DEV: returns a string that has the same value for a request and its answer.

class scapy.layers.llmnr.LLMNRResponse

Bases: scapy.layers.llmnr.LLMNRQuery

aliastypes = [<class 'scapy.layers.llmnr.LLMNRResponse'>, <class 'scapy.layers.llmnr.LLMNRQuery'>, <class 'scapy.packet.Packet'>]
answers(other)

DEV: true if self is an answer from other

fields_desc = [<Field (LLMNRQuery,LLMNRResponse).id>, <Field (LLMNRQuery,LLMNRResponse).qr>, <Field (LLMNRQuery,LLMNRResponse).opcode>, <Field (LLMNRQuery,LLMNRResponse).c>, <Field (LLMNRQuery,LLMNRResponse).tc>, <Field (LLMNRQuery,LLMNRResponse).z>, <Field (LLMNRQuery,LLMNRResponse).rcode>, <Field (LLMNRQuery,LLMNRResponse).qdcount>, <Field (LLMNRQuery,LLMNRResponse).ancount>, <Field (LLMNRQuery,LLMNRResponse).nscount>, <Field (LLMNRQuery,LLMNRResponse).arcount>, <Field (LLMNRQuery,LLMNRResponse).qd>, <Field (LLMNRQuery,LLMNRResponse).an>, <Field (LLMNRQuery,LLMNRResponse).ns>, <Field (LLMNRQuery,LLMNRResponse).ar>]