Hi Jan, Very interesting, thanks!
Is this code GPL or does it have any other license? Is there a website where this code is maintained? Regards, Eric > All, > > > I'm not actually a leaf user, but I thought some of you might be > interested in this. > > I have built my own wireless access point using soekris hardware and a > Red Hat-derived linux distro. I consider it to be bad practice for a > wireless access point to act as a bridge (for example because it creates a > single broadcast domain covering both wired and wireless segments). > > This however means that UPnP functionality (not just IGD but also other > functionality from the UPnP protocol suite, such as AV) cannot traverse the > access point. > > Fortunately the problem is confined to the SSDP component of UPnP, which > relies on multicasting as a means for servers to advertise their presence > and capabilities, and for control points to actively search for servers of > interest. This protocol appears to be bridgable (i.e. it is possibly > simply to repeat SSDP IP packets received on one interface on all other > interfaces belonging to the home network), so that there is no need for > more-complicated proxy functionality. > > The attached code works for me in the following use case: > > > - I have a wired Ethernet segment to which a UPnP AV server (running GNU > Media Server) is connected. > - I have a wireless segment to which a UPnP AV control point is > connected (e.g. Cidero on a Windows laptop, and/or a Philips SLM5500 box). > - The attached code is run on the soekris wireless access point (invoked > as follows: "upnpbridge eth0 ath0"). > > Note that I have had to use raw sockets in order to ensure that the IP > from-address of forwarded packets is maintained (so that upnpbridge must be > executed as root). If the IP address is not maintained, UPnP NOTIFY > messages may still work (since the HTML headers contain the URL of the > advertised resource so that the IP from-address is less relevant), but > M-SEARCH messages would get mangled and responses to them would be > unicast to the wrong address. > > Hope this helps. > > > Cheers, Jan > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642-- > ---------------------------------------------------------------------- > leaf-user mailing list: [email protected] > https://lists.sourceforge.net/lists/listinfo/leaf-user > Support Request -- http://leaf-project.org/ > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
