Wireless Access

 View Only
Expand all | Collapse all

SSDP between wireless devices does not work

This thread has been viewed 12 times
  • 1.  SSDP between wireless devices does not work

    Posted Jul 31, 2019 05:59 AM

    Hi, we have two devices that should discover each other via SSDP. This is working fine in a 'standard' wireless network with a consumer-grade Access Point, but not in our Aruba wireless network.

     

    Both devices are connected to a wireless network that has traffic between clients allowed and broadcast filtering disabled:

     

    wlan virtual-ap "vap-xxx-lab"
       aaa-profile "aaa-xxx-lab"
       ssid-profile "ssid-xxx-lab"
       vlan 123
       band-steering
       no broadcast-filter arp
    !

    I captured the traffic that is sent from the wireless controller to LAN. Originally, I found these SSDP packets there, sent by device 2 (supposedly the device to discover the other):

     

    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaServer:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaServer:2
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaServer:3
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaServer:4
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaRenderer:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaRenderer:2
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaRenderer:3
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaPlayer:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:Printer:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:service:PrintBasic:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:service:PrintEnhanced:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:dial-multiscreen-org:device:dial:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaServer:3
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:service:PrintBasic:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaRenderer:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:dial-multiscreen-org:service:dial:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaServer:2
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaServer:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaRenderer:3
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaServer:4
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:service:PrintEnhanced:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaRenderer:2
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:Printer:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:MediaPlayer:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:service:RenderingControl:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:service:ConnectionManager:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:service:AVTransport:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:dial-multiscreen-org:device:dialreceiver:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:service:RenderingControl:3
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:service:ConnectionManager:3
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:service:AVTransport:3
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:service:ContentDirectory:3
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:service:ConnectionManager:2
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-upnp-org:device:Basic:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-wifialliance-org:device:WFADevice:1
    Man:"ssdp:discover"
    MX:3
    
    M-SEARCH * HTTP/1.1
    Host:239.255.255.250:1900
    ST:urn:schemas-wifialliance-org:service:WFAWLANConfig:1
    Man:"ssdp:discover"
    MX:3

    From the other device (supposedly the one to be discovered) I see few "Join group 239.255.255.250 for any sources" IGMP packets.

     

    I checked communities and found that this seemed to be related to Airgroup settings. I found that Airgroup was disabled, and enabled it, along with the "allowall" service:

     

    airgroup mdns "enable"
    !
    airgroup dlna "enable"
    !
    airgroup location-discovery "disable"
    !
    !
    airgroup active-wireless-discovery "enable"
    !
    airgroupservice "airplay"
      id "_airplay._tcp"
      id "_raop._tcp"
      id "_appletv-v2._tcp"
      description "AirPlay"
    !
    airgroupservice "airprint"
      id "_ipp._tcp"
      id "_pdl-datastream._tcp"
      id "_printer._tcp"
      id "_scanner._tcp"
      id "_http._tcp"
      id "_http-alt._tcp"
      id "_ipp-tls._tcp"
      id "_fax-ipp._tcp"
      id "_riousbprint._tcp"
      id "_ica-networking._tcp"
      id "_ptp._tcp"
      id "_canon-bjnp1._tcp"
      id "_ipps._tcp"
      id "_ica-networking2._tcp"
      description "AirPrint"
    !
    airgroupservice "itunes"
      id "_home-sharing._tcp"
      id "_apple-mobdev._tcp"
      id "_daap._tcp"
      id "_dacp._tcp"
      description "iTunes"
    !
    airgroupservice "remotemgmt"
      id "_ssh._tcp"
      id "_sftp-ssh._tcp"
      id "_ftp._tcp"
      id "_telnet._tcp"
      id "_rfb._tcp"
      id "_net-assistant._tcp"
      description "Remote management"
    !
    airgroupservice "sharing"
      id "_odisk._tcp"
      id "_afpovertcp._tcp"
      id "_xgrid._tcp"
      description "Sharing"
    !
    airgroupservice "chat"
      id "_presence._tcp"
      description "Chat"
    !
    airgroupservice "googlecast"
      id "_googlecast._tcp"
      description "GoogleCast supported by Chromecast etc"
    !
    airgroupservice "AmazonTV"
      id "_amzn-wplay._tcp"
      description "Amazon fire tv"
    !
    airgroupservice "DIAL"
      id "urn:dial-multiscreen-org:service:dial:1"
      id "urn:dial-multiscreen-org:device:dial:1"
      description "DIAL supported by Chromecast, FireTV, Roku etc"
    !
    airgroupservice "DLNA Media"
      id "urn:schemas-upnp-org:device:MediaServer:1"
      id "urn:schemas-upnp-org:device:MediaServer:2"
      id "urn:schemas-upnp-org:device:MediaServer:3"
      id "urn:schemas-upnp-org:device:MediaServer:4"
      id "urn:schemas-upnp-org:device:MediaRenderer:1"
      id "urn:schemas-upnp-org:device:MediaRenderer:2"
      id "urn:schemas-upnp-org:device:MediaRenderer:3"
      id "urn:schemas-upnp-org:device:MediaPlayer:1"
      description "Media"
    !
    airgroupservice "DLNA Print"
      id "urn:schemas-upnp-org:device:Printer:1"
      id "urn:schemas-upnp-org:service:PrintBasic:1"
      id "urn:schemas-upnp-org:service:PrintEnhanced:1"
      description "Print"
    !
    airgroupservice "allowall"
      description "Remaining-Services"
    !
    airgroup service "airplay" enable
    !
    airgroup service "airprint" enable
    !
    airgroup service "itunes" enable
    !
    airgroup service "remotemgmt" enable
    !
    airgroup service "sharing" enable
    !
    airgroup service "chat" enable
    !
    airgroup service "googlecast" enable
    !
    airgroup service "AmazonTV" enable
    !
    airgroup service "DIAL" enable
    !
    airgroup service "DLNA Media" enable
    !
    airgroup service "DLNA Print" enable
    !
    airgroup service "allowall" enable
    !

     

    #show airgroup status
    
    AirGroup Feature
    ----------------
    Status
    ------
    Enabled
    
    AirGroup- MDNS Feature
    ----------------------
    Status
    ------
    Enabled
    
    AirGroup- DLNA Feature
    ----------------------
    Status
    ------
    Enabled
    
    AirGroup Location Discovery
    ---------------------------
    Status
    ------
    Disabled
    
    AirGroup Active Wireless Discovery
    ----------------------------------
    Status
    ------
    Enabled
    
    AirGroup Enforce Registration
    -----------------------------
    Status
    ------
    Disabled
    
    AirGroup IPV6 Support
    ---------------------
    Status
    ------
    Disabled
    
    AirGroup Service Information
    ----------------------------
    Service     Status
    -------     ------
    airplay     Enabled
    airprint    Enabled
    itunes      Enabled
    remotemgmt  Enabled
    sharing     Enabled
    chat        Enabled
    googlecast  Enabled
    AmazonTV    Enabled
    DIAL        Enabled
    DLNA Media  Enabled
    DLNA Print  Enabled
    allowall    Enabled

    It still does not work though. I thought this might be related to IGMP and enabled IGMP for that VLAN:

    #show ip igmp interface vlan xxx
    
    IGMP Interface Table
    --------------------
    VLAN  Addr            Netmask        MAC Address        Snooping  Querier  Querier-dest  IGMP Proxy
    ----  ----            -------        -----------        --------  -------  ------------  ----------
    xxx  10.2xxxxx        255.255.252.0  xx:xx:xx:xx:47:98  enabled   unknown  unknown       disabled

    With "show ip igmp group" I can then also see the group, and device 1 as a member, but still it does not work.

     

    Where could I look to get this working? Ideally, this virtual network should behave just like a personal network at home behind a consumer-grade ISP router, without any filters.



  • 2.  RE: SSDP between wireless devices does not work

    Posted Aug 01, 2019 04:25 AM

    Was able to fix it myself by configuring IGMP proxy (not snooping) and disabling Airgroup.