I am trying to generate an STP packet and to capture it with wireshark, this is my code:
from scapy.all import STP
import scapy
from scapy.all import *
sendp(Dot3(dst="01:00:0c:cc:cc:cd", src="08:17:35:51:29:2e")/LLC(dsap=0xaa, ssap=0xaa)/SNAP(OUI=0x0c, code=0x010b)/STP(), iface="eth1", count=200)
I have been able to generate the desired output but I got an error in wireshark
Are there some fields that I should add in the
sendp
command?