TCP truncated category

O'Neil,Kevin oneil at oclc.org
Thu Aug 31 16:48:29 UTC 2000



Riku...

The BIND error messages page (www.acmebw.com/askmrdns/bind-messages.htm)
lists the category (and the severity) for most of the BIND 8.x.x messages.
In this case the category is "default".

If you had access to the source code, you could have also grep-ed on the
source files (grep 'TCP truncated' src/bin/named/*.c) to see that the
message is in ns_resp.c.  From there you'd go to the code fragment:

                /* XXX truncated tcp response */
                ns_error(ns_log_default,
                         "ns_resp: TCP truncated: \"%s\" %s %s from %s",
                         qname, p_class(qclass), p_type(qtype),
                         sin_ntoa(from));

ns_log_default is the category and indicates that the category is "default";
and ns_error indicates that the severity is "error".

...Kevin O'Neil

-----Original Message-----
From: Riku Hakkarainen [mailto:hakke at meisseli.net]
Sent: Wednesday, August 30, 2000 7:20 AM
To: bind-users at isc.org
Subject: TCP truncated category

I'd like to block these messages out of the syslog:

ns_resp: TCP truncated: "4.3.2.1.in-addr.arpa" IN PTR from [1.2.3.4]

which logging category this belongs to?

-riku-







More information about the bind-users mailing list