I am using Scapy to create an SSDP protocol discovery packet for all devices (ssdp:all) however suddenly I am not getting any response from the devices when I did get them before. I am using a Ubuntu VM. This is the code I am using to create the packet.
ssdpPacket = IP(dst="18.104.22.168")/UDP(sport=6700,dport=1900)/Raw(load='M-SEARCH * HTTP/1.1rnHOST: 22.214.171.124:1900rnST:ssdp:allrnMAN:"ssdp:discover"rnMX: 2rnrn') send(ssdpPacket)
In wireshark, I see that it does send the packet but no response. I am kind of frustrated because it worked before and now its just not working. Help!!
Source: Python-3x Questions