hoof icon indicating copy to clipboard operation
hoof copied to clipboard

anyone success?

Open wxianfeng opened this issue 13 years ago • 5 comments

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

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

wxianfeng avatar Sep 16 '11 06:09 wxianfeng

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.

pyromaniac avatar Sep 16 '11 06:09 pyromaniac

@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

wxianfeng avatar Sep 16 '11 07:09 wxianfeng

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.

adamcrown avatar Sep 16 '11 07:09 adamcrown

@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.

pyromaniac avatar Sep 16 '11 07:09 pyromaniac

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.

thecatwasnot avatar Sep 16 '11 12:09 thecatwasnot