-
Notifications
You must be signed in to change notification settings - Fork 0
Home
jakehertenstein edited this page Feb 17, 2013
·
3 revisions
spawn_dns-sd.sh
expects three parameters:
- Service name
- Resolvable host address
- Service port
Assumptions:
- The mDNS service is always advertised as _http._tcp
General comments:
-
nmap
is used to determine whether the service port is actually open and reachable. - An intermediate file with name formate [PID].nmap is created by nmap with grepable output which is used to determine if the service is up.
-
dns-sd
is used to create a proxy service. The command is spawned when the service is up and killed when the service goes down.
Some basic trapping and error checking is in place but it still needs work.