Single UDP Packet #280
Replies: 4 comments 4 replies
-
Hello, You can convert a python string into hex for easy copy-paste to the "HEX" line of Packet Sender. I looked at what you pasted, and modified it like this... dataSocketRequestSSDP ="M-SEARCH * HTTP/1.1"+"\r\n"+"HOST: 239.255.255.250:1900"+"\r\n"+"MAN: ssdp:discover"+"\r\n"+"MX: 10\r\nST: ssdp:all"
dataUTF8=dataSocketRequestSSDP.encode('utf-8').hex()
print(dataUTF8)
exit(0) This outputted:
Copy that into the HEX line of Packet Sender to get an exact match of what you are trying to send. That became this...
I am guessing you then want to send to address 239.255.255.250 on port 1900. Make sure you are in IPv4 mode and the UDP service is turned on... Note that you do not have to actually join the multicast group to send. You will if you want to receive though... |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
hmm my windows laptop and or its vmware linux/kali running are both unable to perform the python _SSDP_multicast.py i think i should look within my network router to check its firewall settings or like wise |
Beta Was this translation helpful? Give feedback.
-
by the looks it support multicast, hmm then my vmware probarly blocks it i cpuld an other vmware os and see if it works there |
Beta Was this translation helpful? Give feedback.
-
Hello dannagle
I am new to packetsender and very nice its gui awesome, (only the horizontal slider is to narrow a bit)
how do i perform send a single udp packet ?
i tried to use this as ascii string:
M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: ssdp:discover\r\nMX: 10\r\nST: ssdp:all
To Address: 239.255.255.250
To Port: 1900
Resend Delay: 0
UDP
i tried also to left out the first part of the ascii string:
MAN: ssdp:discover\r\nMX: 10\r\nST: ssdp:all
but both did not work out, what is the syntax for the ascii field in case UDP mode is selected by the combo box
is it an idea to disable the fields: To Address and To Port (add "To" infront of the labels of the input textboxes ;)
this ascii works for python, where i use following steps, is it an idea when UDP mode is selected
to enable options to configure/ adjust response buffer size, and an option to set a timeout for waiting for dataSocket receive
Beta Was this translation helpful? Give feedback.
All reactions