Subsonic and IPTables filtering

General discussions.

Moderator: moderators

Subsonic and IPTables filtering

Postby f00dl3 » Mon Nov 24, 2014 3:49 am

So I got some generic stuff figured out and have my SmartTV picking up my Subsonic 5.0 media server w/ some pretty restrictive IPTables rules using MAC & IP filtering...

I have the following rules set up:

23 ACCEPT tcp -- 192.168.1.0/24 0.0.0.0/0 MAC XX:XX:XX:XX:XX tcp dpts:30000:65535
24 ACCEPT udp -- 192.168.1.0/24 0.0.0.0/0 MAC XX:XX:XX:XX:XX udp dpt:1900
25 ACCEPT udp -- 192.168.1.0/24 0.0.0.0/0 MAC XX:XX:XX:XX:XX udp dpts:30000:65535

The one problem I am having is for some reason the DLNA browser on the TV is showing all the Music and Movies folders as empty. I know for a fact they are not, because I can stream on my phone using UltraSonic just fine.

Did I possibly miss a port? I tried enabling (FYI - I tried enabling 1900 TCP and that did nothing.)

Interesting stuff in the Subsonic log:

Version 5.0 (build 4100) – September 21, 2014
Server jetty-6.1.x, java 1.8.0_25, Linux (48.3 MB / 133.5 MB)


[11/23/14 9:36:55 PM CST] ERROR FolderBasedContentDirectory UPnP error: java.lang.IllegalArgumentException: fromIndex(3) > toIndex(2)
[11/23/14 9:36:55 PM CST] INFO FolderBasedContentDirectory UPnP request - objectId: 0, browseFlag: BrowseDirectChildren, filter: @id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@protection,res@bitrate,res@resolution,res@protocolInfo,res@nrAudioChannels,res@sampleFrequency,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID, firstResult: 3, maxResults: 13
[11/23/14 9:36:55 PM CST] ERROR FolderBasedContentDirectory UPnP error: java.lang.IllegalArgumentException: fromIndex(3) > toIndex(2)
[11/23/14 9:36:55 PM CST] INFO FolderBasedContentDirectory UPnP request - objectId: 0, browseFlag: BrowseDirectChildren, filter: @id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@protection,res@bitrate,res@resolution,res@protocolInfo,res@nrAudioChannels,res@sampleFrequency,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID, firstResult: 3, maxResults: 13
[11/23/14 9:36:55 PM CST] ERROR FolderBasedContentDirectory UPnP error: java.lang.IllegalArgumentException: fromIndex(3) > toIndex(2)
[11/23/14 9:36:55 PM CST] INFO FolderBasedContentDirectory UPnP request - objectId: 0, browseFlag: BrowseDirectChildren, filter: @id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@protection,res@bitrate,res@resolution,res@protocolInfo,res@nrAudioChannels,res@sampleFrequency,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID, firstResult: 3, maxResults: 13
[11/23/14 9:36:55 PM CST] ERROR FolderBasedContentDirectory UPnP error: java.lang.IllegalArgumentException: fromIndex(3) > toIndex(2)
[11/23/14 9:36:55 PM CST] INFO FolderBasedContentDirectory UPnP request - objectId: 0, browseFlag: BrowseDirectChildren, filter: @id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@protection,res@bitrate,res@resolution,res@protocolInfo,res@nrAudioChannels,res@sampleFrequency,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID, firstResult: 3, maxResults: 13
[11/23/14 9:36:55 PM CST] ERROR FolderBasedContentDirectory UPnP error: java.lang.IllegalArgumentException: fromIndex(3) > toIndex(2)
[11/23/14 9:36:56 PM CST] INFO FolderBasedContentDirectory UPnP request - objectId: 0, browseFlag: BrowseDirectChildren, filter: @id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@protection,res@bitrate,res@resolution,res@protocolInfo,res@nrAudioChannels,res@sampleFrequency,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID, firstResult: 3, maxResults: 13
[11/23/14 9:36:56 PM CST] ERROR FolderBasedContentDirectory UPnP error: java.lang.IllegalArgumentException: fromIndex(3) > toIndex(2)
f00dl3
 
Posts: 3
Joined: Fri Dec 20, 2013 6:11 pm

Return to General

Who is online

Users browsing this forum: No registered users and 8 guests