diff --git a/scapy/contrib/HomePlugAV.uts b/scapy/contrib/HomePlugAV.uts index 62434eb11..9b4059581 100644 --- a/scapy/contrib/HomePlugAV.uts +++ b/scapy/contrib/HomePlugAV.uts @@ -94,6 +94,7 @@ NetworkInfoConfirmationV10 in a or NetworkInfoConfirmationV11 in a _ == True = Reading local 0x400st octets of Software Image in Module Data blocks +~ netaccess HomePlugAV ReadModuleDataRequest pkt = Ether()/HomePlugAV()/ReadModuleDataRequest(ModuleID=0x1) a = srp1(pkt, iface="eth0") a diff --git a/test/edns0.uts b/test/edns0.uts index d7a448aa0..b3eb6f14c 100644 --- a/test/edns0.uts +++ b/test/edns0.uts @@ -46,6 +46,8 @@ tlv = EDNS0TLV(optcode=5, optdata="\x00\x11\x22\x33") str(tlv) == '\x00\x05\x00\x04\x00\x11"3' = EDNS-PING - Live test +~ netaccess +* NB: 85.17.219.217 and www.edns-ping.org seem down r = sr1(IP(dst="85.17.219.217")/UDP()/DNS(qd=[DNSQR(qtype="A", qname="www.edns-ping.org.")], ar=[DNSRROPT(z=0, rdata=[EDNS0TLV(optcode="PING", optdata="\x00\x11\x22\x33")])]), timeout=1) len(r.ar) and r.ar.rdata[0].optcode == 4 # XXX: should be 5 @@ -56,5 +58,7 @@ tlv = EDNS0TLV(optcode=2, optdata="") str(tlv) == '\x00\x02\x00\x00' = NSID - Live test +~ netaccess +* NB: 85.17.219.217 and www.edns-ping.org seem down r = sr1(IP(dst="85.17.219.217")/UDP()/DNS(qd=[DNSQR(qtype="A", qname="www.edns-ping.org.")], ar=[DNSRROPT(z=0, rdata=[EDNS0TLV(optcode="NSID")])]), timeout=1) r.ar.rdata[0].optcode == 3 and r.ar.rdata[0].optdata == "dns01"