SOURCES: tinydns-log - 11-OCT-2006 update
glen
glen at pld-linux.org
Mon May 5 21:34:08 CEST 2008
Author: glen Date: Mon May 5 19:34:08 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- 11-OCT-2006 update
---- Files affected:
SOURCES:
tinydns-log (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/tinydns-log
diff -u SOURCES/tinydns-log:1.1 SOURCES/tinydns-log:1.2
--- SOURCES/tinydns-log:1.1 Fri Mar 25 20:52:19 2005
+++ SOURCES/tinydns-log Mon May 5 21:34:03 2008
@@ -8,6 +8,10 @@
# to add tinydns response flag "C" and more DNS RR type codes
# modified 26-AUG-2002 by Andrew Pam <xanni at sericyb.com.au>
# to support axfrdns logs as well as tinydns logs
+# modified 11-OCT-2006 by Andrew Pam <xanni at sericyb.com.au>
+# to enable autoflush and support new "X" NXDOMAIN responses
+
+$| = 1; # enable autoflush
# convert addresses in hex to dotted decimal notation.
s/\b([a-f0-9]{8})\b/join(".", unpack("C*", pack("H8", $1)))/eg;
@@ -17,7 +21,7 @@
# query tai64n host:port:qid flag qtype thing
# keep tai64n header as is - use tai64nlocal to convert it to TAI
-s/^(@[a-f0-9]+) \b([\d.]+):(\w+):(\w+) ([\+\-CI\/]?)\s?\b([a-f0-9]+) \b([-.\w]+)/$1." ".printQueryLine($2,$3,$4,$5,$6,$7)/e;
+s/^(@[a-f0-9]+) \b([\d.]+):(\w+):(\w+) ([\+\-CIX\/]?)\s?\b([a-f0-9]+) \b([-.\w]+)/$1." ".printQueryLine($2,$3,$4,$5,$6,$7)/e;
### subs
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/tinydns-log?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list