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

anyone success? #8

Open
wxianfeng opened this issue Sep 16, 2011 · 5 comments
Open

anyone success? #8

wxianfeng opened this issue Sep 16, 2011 · 5 comments

Comments

@wxianfeng
Copy link

i config it step by step , but failed!!!

open browser , and cant resolve app.dev, anyone success?

@pyromaniac
Copy link
Owner

Hello.

  1. How is your nsswitch.conf looks like now?
  2. Does /lib/libnss_hoof.so.2 exists?
  3. According to this https://github.com/pyromaniac/hoof/blob/master/lib/hoof/cli.rb#L49 there should be some routes in your sudo iptables -t nat -L So take a look there please.

@wxianfeng
Copy link
Author

@pyromaniac
1
passwd: compat
group: compat
shadow: compat

hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 hoof
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis

2
exist

3,

no that lines in iptables

why? i have exec hoof install

@adamcrown
Copy link

For anybody else that might be having problems I discovered that if you have an overly "helpful" DNS server that resolves bad DNS names to a search page (like OpenDNS does) then the DNS lookup will never get past the DNS stage in order to try hoof. You can move hoof to the left of dns in your nsswitch.conf file but that broke my VPN abilities for some reason.

So for me the best solution was to just switch from OpenDNS to Google's public DNS which returns an actual NXDOMAIN result like it should.

@pyromaniac
Copy link
Owner

@wxianfeng iptable records drops after system restart. So, man iptables of hoof install again.

@adamcrown hoof nsswitch extension is a little bit bugged ) i do not recommend to move at the start of line. There are many applications that will be broken.

Hoof is a proof of concept, so it needs additional researches and bug reports.

@thecatwasnot
Copy link

I'm having the same problem with dns I think, I have fixed nsswitch.conf, I do have a /lib/libnss_hoof.so.2 and I re-ran hoof install to get iptables set up and still no joy. Running Ubuntu 11.10.
Would love to have this working, please let me know what else I can do.

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

No branches or pull requests

4 participants