[dns-operations] Fwd: Execution Problems WAS (Re: friday version of dnscap)
Tyler Reguly
ht at computerdefense.org
Thu May 10 04:44:14 UTC 2007
This tool caught my interest but I've had no luck with it so far..
After solving the --enable-bind problem..
(previously I was replacing ns_put32 with NS_PUT32 and including
-lresolv in order to get the fp_nquey function)
I'm still having other issues... I get the help output regardless of what I do
Using man page example:
root at iMac:/home/htregz/dnscap# ./dnscap -d - | tcpdump -r -
dnscap: usage error: unrecognized command line option
usage: dnscap
[-avfg6] [-i <if>]+ [-o <file>] [-l <vlan>]+ [-p <port>]
[-m [quire]] [-h [ir]] [-q <host>]+ [-r <host>]+
[-d <base> [-k <cmd>]] [-t <lim>] [-c <lim>]
note: the -? or -\? option will display full help text
tcpdump: truncated dump file; tried to read 24 file header bytes, only got 0
Using email example:
root at iMac:/home/htregz/dnscap# ./dnscap -g -c2
dnscap: usage error: unrecognized command line option
usage: dnscap
[-avfg6] [-i <if>]+ [-o <file>] [-l <vlan>]+ [-p <port>]
[-m [quire]] [-h [ir]] [-q <host>]+ [-r <host>]+
[-d <base> [-k <cmd>]] [-t <lim>] [-c <lim>]
note: the -? or -\? option will display full help text
I'm running Ubuntu 6.06.1 LTS PPC.
Thanks,
Tyler
On 5/6/07, Paul Vixie <paul at vix.com> wrote:
> > On GNU/Linux systems, at least Gentoo and Debian, this is a regression
> > since we have again:
> >
> > /home/stephane/AFNIC/dnscap/dnscap.c:1127:
> > undefined reference to `__ns_put32'
>
> given that you have to link against libbind to get fp_nquery, it's a mystery
> to me why the ns_put32 symbol would be missing. is fp_nquery in libc there?
>
> > Otherwise, a problem with libbind is that it can have different
> > names. On Gentoo or Debian or NetBSD, it is libbind9 so I have to
> > change the Makefile to LDLIBS=-lbind9
>
> libbind9 does not have fp_nquery, or ns_put32. it is part of bind9 and all
> of its symbols begin with isc_. you really need libbind, not libbind9, here.
> _______________________________________________
> dns-operations mailing list
> dns-operations at lists.oarci.net
> http://lists.oarci.net/mailman/listinfo/dns-operations
>
More information about the dns-operations
mailing list