New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DNS spoofing #294
Comments
Comment by areynold Could you clarify your request?
|
Comment by jheretic Do we still require our own resolver, as in opentechinstitute/commotiond#34? |
Comment by dismantl What I did was run a second instance of dnsmasq on the router, so yes, it does require a resolver to MITM DNS requests. |
My latest thinking on this is to write a small utility in C that receives DNS requests from clients and proxies them to DNSMasq. If DNSMasq responds with RCode=Refused (indicating no gateway to internet), respond with a fake A record to trigger the captive portal, otherwise return DNSMasqs response to the client. |
This solution would provide the benefit of not needing to run another instance of DNSMasq, and will also work with networks that have intermittent gateways to the Internet. |
Implemented per #460 |
Issue by dismantl
Friday Sep 13, 2013 at 18:44 GMT
Originally opened as opentechinstitute/luci-commotion-splash#4
re-try the DNS spoofing feature, but with a script that auto-detects internet connectivity and configures settings.
The text was updated successfully, but these errors were encountered: