I'm running into various problems with dproxy crashing on OpenBSD. I
doesn't look like too many people are maintaning this project, the only
message to this list in the year 2005 was in May. I have been
personally looking to use something on my internal network as a caching
DNS - even possibly using it in an embedded OpenBSD Router project I'm
working on. Is anybody doing any hacking on the code still? Anybody
have any ideas where these following problems are coming from. I did
notice that the function in question (according to /var/log/messages)
the code uses strcpy instead of strncpy - that was just a quick look at
the code, dunno if that is the problem. If anybody is doing any work,
or can give me advice in how to fix the problem - let me know... (BTW,
my ISP is road runner and their DNS servers suck monkey balls most of
the time - that might be causing the problem, who knows)...
Debug Output from running dproxy -c /etc/dproxy.conf -d
...
[ 21941 ]: Cache hit
[ 21941 ]: enter cache_purge()
[ 21941 ]: cache_add_hosts_entreies()
[ 21941 ]: cache_add_hosts_entreies(): done
[ 21941 ]: Dumping list:
[ 21941 ]: cache_lookup_name(weather.noaa.gov)
[ 21941 ]: .......... weather.noaa.gov ---- 205.156.51.200
[ 21941 ]: Cache hit
[ 21941 ]: Dumping list:
[ 21941 ]: .......... ---- 172.16.99.21
[ 21941 ]: Cache hit
Abort trap (core dumped)
...
/var/log/messages
...
Jun 10 22:32:21 chii dproxy: stack overflow in function
dns_decode_reverse_name
...
|