Skip to content
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

Closed
oti-tech opened this issue Jun 18, 2014 · 6 comments
Closed

DNS spoofing #294

oti-tech opened this issue Jun 18, 2014 · 6 comments

Comments

@oti-tech
Copy link

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.

@oti-tech
Copy link
Author

Comment by areynold
Thursday Sep 19, 2013 at 13:59 GMT


Could you clarify your request?

  • Is this intended for DR2.1?
  • Could you link to the procedures you want to retest?

@oti-tech
Copy link
Author

Comment by jheretic
Friday Oct 11, 2013 at 19:59 GMT


Do we still require our own resolver, as in opentechinstitute/commotiond#34?

@oti-tech
Copy link
Author

Comment by dismantl
Friday Oct 11, 2013 at 20:09 GMT


What I did was run a second instance of dnsmasq on the router, so yes, it does require a resolver to MITM DNS requests.

@dismantl
Copy link
Contributor

dismantl commented Dec 4, 2014

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.

@dismantl dismantl self-assigned this Dec 4, 2014
@dismantl
Copy link
Contributor

dismantl commented Dec 4, 2014

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.

@jheretic
Copy link
Member

Implemented per #460

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants