[dns-operations] last call on dnscap
Tyler Reguly
ht at computerdefense.org
Mon May 14 20:22:47 UTC 2007
I emailed in with my problem before... the error was based on
comparison always being true... A colleague of mine (C developer
solved the problem) one that you may encounter in other cases.
In the parse_args function... ch in defined as a char, in order to
compile properly, we had to define char as an int.
My gcc version that this had to be done for:
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Now it runs... However I ran into an interesting error... I connected
to ssh while dnscap was running... the following occured:
;@ 2007-05-14 19:38:01.825893 - 44 octets via "some interface" (msg #1)
;: [192.168.2.50]:1087 -> [192.168.1.1]:53
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22475
;; flags: rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; XX.XX.XX.XX.in-addr.arpa, type = PTR, class = IN
;--
;@ 2007-05-14 19:38:01.829034 - 89 octets via "some interface" (msg #2)
;: [192.168.1.1]:53 -> [192.168.2.50]:1087
;; ns_initparse: Message too long
;--
On 5/14/07, Paul Vixie <paul at vix.com> wrote:
> in the current rev (on http://public.oarci.net/tools/dnscap, as of 11-may-2007)
> the "-g" logic can be disabled with a trivial Makefile edit (comment stuff out)
> and this will remove the dependency on fp_nquery and therefore on libbind. if
> this is acceptable to all parties, and if the current command line syntax is
> something nobody can't live with, then i'm going to release V1.0, put the .TGZ
> file in a stable location, and let the freebsd and debian folk make packages.
> _______________________________________________
> 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