Questions tagged [ssdp]

Simple Service Discovery Protocol (SSDP) is a protocol for advertizing and discovering services on the network. It is mainly used in Universal Plug and Play (UPnP).

112 questions
28
votes
1 answer

How can I list upnp server/renderer in command line (console mode) on linux?

I want to list my available upnp/dlna renderers on my local network in console mode. I can do that with gupnp but not in console mode
scanpat
  • 309
  • 1
  • 4
  • 8
15
votes
3 answers

UPnP Multicast: missing answers from M-SEARCH (Discovery)

I created a small program to test UPnP Multicast (Visual C# 2010 Express, running on Windows 7 Professional 64 Bit). I can receive the UPnP NOTIFY Messages from UPnP Devices in my Network. But when i send the M-SEARCH Message, i get no Answers. I…
Jörn
  • 545
  • 1
  • 4
  • 11
8
votes
1 answer

How to prevent SSDP reflection / amplification attacks correctly?

I'm implementing a device that ought to respond to SSDP M-SEARCH queries. I'm a device vendor and I don't have control where these devices will be deployed. There's a known DDoS attack that uses SSDP search amplification, that is attacker sends…
Dima Tisnek
  • 11,241
  • 4
  • 68
  • 120
8
votes
2 answers

SSDP protocol - implementation

I am trying to implement SSDP protocol, but I am not sure how exactly it works. SSDP sends data over udp, that is clear. If controller connects to network it can search for devices with MSEARCH message, which can be send to multicast address…
user1453857
  • 207
  • 1
  • 3
  • 13
7
votes
3 answers

SSDP on the iPhone

I need to be able to send out a UDP message and also receive one in order to discover SSDP devices on the network from the iPhone. I know that I need to send the packet to the multicast address and my HTTP request needs to look something like…
Magic Bullet Dave
  • 9,006
  • 10
  • 51
  • 81
7
votes
1 answer

Why is NOTIFY necessary in SSDP?

I'm hoping somebody can clear up my confusion behind the purposes of NOTIFY and M-SEARCH messages used by upnp/ssdp protocol. My understanding is that a NOTIFY message is sent when a device wants to advertise itself to other UPNP capable devices and…
TtT23
  • 6,876
  • 34
  • 103
  • 174
7
votes
3 answers

Unable to receive proper UDP packets using SSDP

I'm trying to implement a very simple SSDP functionality into my android app taken from here. My application sends some UDP packets containing a relevant M-SEARCH message to the broadcasting address without any issue. The problem is, I should be…
TtT23
  • 6,876
  • 34
  • 103
  • 174
6
votes
1 answer

How to Send M-SEARCH Query with Java

I have a Roku device on my network and I want to be able to discover it programically. The official Roku documentation says: There is a standard SSDP multicast address and port (239.255.255.250:1900) that is used for local network communication. …
John Dorian
  • 1,884
  • 1
  • 19
  • 29
6
votes
1 answer

Receiving SSDP response using CocoaAsyncSocket in Swift

I'm trying to receive a SSDP response using swift with the library CocoaAsyncSocket (https://github.com/robbiehanson/CocoaAsyncSocket) I can successfully send the M-Search command to the multicast group and get a response, I've looked at the…
Wesley Elder
  • 181
  • 1
  • 9
6
votes
1 answer

service discovery with android smartphone and other devices

In my environment I have an Android smartphone and some other devices. The other devices are running linux. All devices are connected to a local network via Wifi. Now I want the Smartphone to recognize and discover the other devices in the network,…
Moonlit
  • 5,171
  • 14
  • 57
  • 95
6
votes
1 answer

Skip the IP headers with tcpdump

I'm using tcpdump to debug an SSDP service. $ sudo tcpdump -Aq udp port 1900 When printing the UDP packets, I'm getting a lot of gibberish before the HTTP headers I presume to be the IP and UDP headers. How do I suppress printing these, and just…
Matt Joiner
  • 112,946
  • 110
  • 377
  • 526
5
votes
0 answers

Module not found: Error: Can't resolve 'dgram' in node-ssdp

After installing rokujs via npm, Can't seem to get past this error: The package is installed correctly. No other errors reported. Any ideas? ERROR in ./~/node-ssdp/lib/index.js Module not found: Error: Can't resolve 'dgram' in…
Jason Smith
  • 333
  • 3
  • 15
5
votes
1 answer

ssdp discovery of upnp devices using multicast sockets

i am trying to discover UPnP devices in the network using multicast sockets however, I seem to be getting the same device multiple times. What is the issue with the discovery code here. The results I am getting are as follows HTTP/1.1 200…
TrustyCoder
  • 4,749
  • 10
  • 66
  • 119
5
votes
3 answers

Can I use IdUDPClient to send M-SEARCH request?

There are few uPNP devices in my network. I am trying to send M-SEARCH request to the network and hope receiving some responses from it. This is what I am trying: var sIP, sOut: string; iPort: Word; S: TStringBuilder; begin S :=…
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
4
votes
1 answer

How to Respond to SSDP Searches with Sockets in Python?

I'm trying to create a Chromecast like device that can stream video from the internet and be remotely controlled. I do the remote control with HTTP get requests to the device and listen for them with the following code: Listening for HTTP Requests…
Dan13_
  • 193
  • 1
  • 2
  • 16
1
2 3 4 5 6 7 8