From 20dad3dca8536843aca0351592fddbd03603400e Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Sat, 28 Jan 2012 15:04:35 +0100 Subject: [PATCH] Make powerdns better --- examples/fp/data/PowerDNS | 2 +- examples/fp/q.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/fp/data/PowerDNS b/examples/fp/data/PowerDNS index 248245a1..6f2a7812 100644 --- a/examples/fp/data/PowerDNS +++ b/examples/fp/data/PowerDNS @@ -1,6 +1,6 @@ # PowerdNS fingerprints # Tested on server <11122> # CHECK THIS, only the first is correct -.,CH,TXT,QUERY,NOERROR,QR,aa,tc,RD,ra,ad,cd,z,1,0,0,1,do,2800,nsid +.,CH,TXT,QUERY,NOERROR,QR,AA,tc,RD,ra,ad,cd,z,1,0,0,1,DO,2800,NSID auThoRs.bInD.,CH,TXT,QUERY,NOERROR,QR,AA,tc,rd,ra,ad,cd,z,1,15,1,0,do,0,nsid bind.,NONE,SOA,NOTIFY,REFUSED,QR,aa,tc,RD,ra,ad,cd,z,1,0,0,0,do,0,nsid diff --git a/examples/fp/q.go b/examples/fp/q.go index 2d35340e..d94c9b6e 100644 --- a/examples/fp/q.go +++ b/examples/fp/q.go @@ -57,7 +57,7 @@ func main() { // For now, just list them: files := []string{"Atlas", "Bind8", "Bind9", "MaraDNS", "Microsoft", "Nsd3", "PowerDNS"} - fmt.Printf("%s\t%s\t%s\t\t\t\t\t\t\t\t%s\n", "Server type", "Diffs", "Received", "Sent") + fmt.Printf("%s\t%s\t%s\t\t\t\t\t\t\t\t%s\n", "Server type", "Diffs", "Fingerprint", "Recevied") for _, file := range files { diff := 0 prints, _ := fingerPrintFromFile("data/" + file)