Folks,

this patch against fpdns 0.9.3 is supposed to do two things:

1) fix a bug in the debugging code that prints "1" as a query and sends
   the query output to stdout

2) extend fpdns to identify nsd 3.0.x
   as of version 3 nsd no longer responds NOTIMP to NOTIFY messages,
   so the treewalk is different. This may need an update to distinguish
   between root/non-root

Usual caveats apply.

-Peter
--- Fingerprint.pm      Mon Sep  5 15:33:36 2005
+++ NEW/Fingerprint.pm  Thu Feb 22 18:48:20 2007
@@ -156,6 +156,7 @@
           "1,IQUERY,1,0,1,1,0,1,NOTIMP,1,0,0,0",
           "1,QUERY,0,0,0,1,0,0,NOTIMP,1,0,0,0",
           "1,QUERY,0,0,1,0,0,1,SERVFAIL,1,0,0,0",
+          "1,NS_NOTIFY_OP,0,0,0,0,0,0,REFUSED,0,0,0,0",
 );
 
 my @ruleset = (
@@ -243,6 +244,8 @@
                 },
                 { fingerprint => ".+", state => "q0r2q1r16q4r?", },]
           },
+          { fingerprint => $iq[94], result => { vendor => "NLnetLabs", product 
=> "NSD", version => "3.0.x" }, qv => "version.server",  },
+
           { fingerprint => ".+", state => "q0r2q1r?", }, ]
     },
     
@@ -670,7 +673,7 @@
 
     if ($self->{debug}) {
        print STDERR "==> QUERY BEGIN\n";
-       print STDERR $packet->print, "\n";
+       print STDERR $packet->string, "\n";
        print STDERR "==> QUERY END\n";
        print STDERR "\n";
     }
_______________________________________________
fpdns mailing list
fpdns@rfc.se
https://www.rfc.se/mailman/listinfo/fpdns

Reply via email to