I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / 3Com Audrey
DNS Errors updating...what DNS servers does audrey attempt to use?
Strange Behavior trying to update

New MessageDNS Errors updating...what DNS servers does audrey attempt to use? (modified 0 times) jspaleta
Profile | Email
Okay here the deal.
I'm tryin to go through the update process for the first time and I can't get audrey to actually use any DNS server information I give it...it seems the DNS servers it wants to use are hard wired.
Anyone have a clue as to what DNS servers my poor little audrey is trying to use? If I can figure out what ip address audrey is using as a dns server...I think I can figure out how to get my linux router to do some routing tricks on the out going packets and have it query the DNS servers I need to use.

This is very strange...to diagnose the problem I even pointed audrey to my internal DNS server for my lan and I had dns errors trying to resolve valid hostnames on my lan. Audrey is using some other DNS servers instead of the ones I'm asking for. Every other computer on my lan can use the Spoofed dns server except for little old audrey...she's using something to do dns lookups....but its not anything I'm telling her it seems.

So I think I can get around this without having to get a compact flash image.

1) Figure out where audrey is actually getting dns info from...some simple logging of the outbound packets...

2) Build in a transparent proxy into the firewall scripts in my linux router/DNS server
to force all outgoing dns queries to redirect to a modified bind server setup to cache DNS from r2.artoo.net..i already have the DNS setup to do this...i just need to shuffle the network around a little to get the audrey to talk through the DNS box so I can do a transparent proxy.

For those of you keeping score:
Ergo Audrey 1.00.18.02 01/16/2001

-jef

04-13-2002 01:00:21

New MessageRE:DNS Errors updating...what DNS servers does audrey attempt to use? (modified 0 times) jspaleta
Profile | Email
I got it to work!!!!!!!
I still dont know what DNS servers audrey is trying to use but I have a working solution using a linux router/DNS server to transparently proxy the dns port...so all dns query's coming from the lan are redirected to the dns server running on the linux router. The dns server is a minimal configuration...which uses one of the DNS spoof ip addresses as forwarder. The linux router basically just pass queries to the DNS spoof address.

If your audrey absolutely refuses to use the DNS spoof IP addresses correctly and gives you DNS errors tuying to access the website 3com.marimba.net you can use this solution to force audrey to talk to a linux router/dns server..instead of image flashing.

Here is what you need on the linux box:
kernel 2.4.x with iptables
2 nic's (one to connect the audrey to, one to connect to the outside)
a very simple configuration of bind.
a very simple iptables firewall/masquerading script.

If anyone is having problems getting audrey to use the DNS spoof technique, contact me (jspaleta@princeton.edu) and I can send you the configs for bind and iptables.

-jef

04-13-2002 23:51:15

New MessageRE:DNS Errors updating...what DNS servers does audrey attempt to use? (modified 0 times) jspaleta
Profile | Email
Not to beat a dead horse or anything...I've put my named.conf and rc.firewall script on my ftp server, instead of having to email them out to everyone who wants to try my fix. So if you are interesting in using my work around for audrey not using the DNS spoof correctly becuase audrey refuses to use the dns name servers you type in, check out the files in
ftp://jspaleta.dyndns.org/pub/audrey/

For those of you with some linux iptables experience here's the meat of the fix
echo " Setting up Transparent Proxy on outgoing DNS queries"
$IPTABLES -t nat -A PREROUTING -i $INTIF -p tcp --dport 53 -j REDIRECT
$IPTABLES -t nat -A PREROUTING -i $INTIF -p udp --dport 53 -j REDIRECT

use those redirect lines with a decently setup dns server and you can force audrey to use your local DNS server, which can forward queries to the DNS spoof server.

-jef

04-14-2002 15:06:16

New MessageRE:DNS Errors updating...what DNS servers does audrey attempt to use? (modified 0 times) jroysdon
Profile
Of course, you could just use my DNS server which points to my Marimba Castanet update server which will get you shell, and from there you can hack without flashing either.

http://2-1b.artoo.net/ (66.17.16.112)


Jason Roysdon
http://jason.roysdon.net/
jroysdon AT hotmail DOT com
05-05-2002 22:12:05

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3