On Tue, Jan 30, 2007 at 03:49:26PM -0500, Rishi Srivatsavai wrote: > advertise information about the stream such as the audio codec. inetd > controlled services using 'rpc' transport are not advertised via mDNS. > DNS-SD Internet draft requires the transport protocol of the service to > be either TCP or UDP. >
rpc is supported over tcp, udp, and tli transports. so it seems to me that you could support mDNS for rpc over tcp and udp if you wanted to, but you've chosen not to. (perhaps because you think that rpc doesn't support tcp or udp? it's not clear from the above two sentences.) could you elaborate on why you're not supporting rpc? > > Future work: The master SMF restarter svc.startd(1M) could also be > updated to support advertising network services using mDNS. There are > currently no plans to add service discovery support in the master > SMF restarter. Additional properties could be introduced for inetd > controlled services to customize the advertised service name and to > advertise additional information about the service. > > Open question: Considering the above future work to include this support > in the master SMF restarter and new properties introduced to customize > the service advertisement is it better to create the 'advertised' > property under a new property group 'mdns' that is not specific to a > restarter? > to me, telnet doesn't seem all that interesting, i would be more interested in things like ssh and httpd, and these services are controlled by svc.startd, not inetd. so adding support for advertising these services via an "inetd/advertised" property wouldn't make much sense. it seems something like "mdns/advertised" would make more sense, and it wouldn't be out of place since your making the restarters mdns aware. also, would it be possible to not make smf restarters mDNS aware, but instead make the mDNS server SMF aware and have it access the services repository to look for services that it should advertise? and then somehow subscribe to relevant service state changes in the repository? ed