rebexnet / mdns-proxy

A very simple Multicast DNS to DNS proxy for Node.js
MIT License
4 stars 1 forks source link

Echoes "Listening for mDNS queries..." and then ends #1

Open montehansen opened 7 years ago

montehansen commented 7 years ago

Thank you for posting this package.

After installing and running the package on Windows 7, the program completes and exits immediately following the echo of "Listening for mDNS queries...". I am able to run it on other machines where the program runs perpetually, so it would appear to me that it is unable to stage its environment.

I get the same result if I specify the interface name or IP (v4) as the first CLI argument.

Any ideas?

Monte

montehansen commented 7 years ago

I was attempting to use this package to add support for Kerberos over iOS that authenticates with a domain of something.local. I added support for SRV records, and although mdns-proxy receives and answers kerberos questions (following a kerberos sso authentication prompt), there appear to be no change on the iOS side such that it often times out or takes 15-20 seconds.

I staged the environment as follows:

  1. Configured a machine to run the mdns-proxy, connected it to a private wireless network and then connected it to the domain via a Cisco VPN client (so it could resolve). The client supports UDP. The wireless was swapped with a variety of devices to ensure not wireless related.
  2. Configured various iOS (9-10) devices for single sign-on via MDM management and connected it to the same wireless network. It also connects over a Cisco VPN client.
  3. Connected to a protected resource over http that has kerberos enabled resulting in an authentication prompt (password only). I drove this test using Safari, a native Swift and Xamarin app.