Re: [DNSOP] TSIG - add presentation format for humans.

2018-11-21 Thread Mark Andrews
and BIND does

..  0   ANY TSIGhmac-md5.sig-alg.reg.int. 
1542840965 300 16 T1lmN3NSeGQvxA0xXiAL6g== 57713 NOERROR 0 

with hex for the other data if present.

> On 22 Nov 2018, at 9:51 am, Dick Franks  wrote:
> 
> On Wed, 21 Nov 2018 at 21:31, Mark Andrews  wrote:
> 
> --
> 
> Net::DNS has offered this information for many years in the form of comments,
> which avoids a disaster if inadvertently ingested by a parser.
> 
> $packet->print;
> 
> ;; HEADER SECTION
> ;;id = 51343
> ;;qr = 0aa = 0tc = 0rd = 0opcode = QUERY
> ;;ra = 0z  = 0ad = 0cd = 0rcode  = NOERROR
> ;;qdcount = 1ancount = 0nscount = 0arcount = 1
> ;;do = 0
> 
> ;; QUESTION SECTION (1 record)
> ;; query.example.INA
> 
> ;; ANSWER SECTION (0 records)
> 
> ;; AUTHORITY SECTION (0 records)
> 
> ;; ADDITIONAL SECTION (1 record)
> ; hmac-sha1.example.TSIG
> ;algorithm:HMAC-SHA1
> ;time signed:1542837913fudge:300
> ;signature:364892b4af8d131a647157838c541d2606d30be4
> ;original id:51343
> ;NOERROR
> 
> 
> --Dick
> 

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742  INTERNET: ma...@isc.org

___
DNSOP mailing list
DNSOP@ietf.org
https://www.ietf.org/mailman/listinfo/dnsop


Re: [DNSOP] TSIG - add presentation format for humans.

2018-11-21 Thread Dick Franks
On Wed, 21 Nov 2018 at 21:31, Mark Andrews  wrote:

>
> --
>

Net::DNS has offered this information for many years in the form of
comments,
which avoids a disaster if inadvertently ingested by a parser.

$packet->print;

;; HEADER SECTION
;;id = 51343
;;qr = 0aa = 0tc = 0rd = 0opcode = QUERY
;;ra = 0z  = 0ad = 0cd = 0rcode  = NOERROR
;;qdcount = 1ancount = 0nscount = 0arcount = 1
;;do = 0

;; QUESTION SECTION (1 record)
;; query.example.INA

;; ANSWER SECTION (0 records)

;; AUTHORITY SECTION (0 records)

;; ADDITIONAL SECTION (1 record)
; hmac-sha1.example.TSIG
;algorithm:HMAC-SHA1
;time signed:1542837913fudge:300
;signature:364892b4af8d131a647157838c541d2606d30be4
;original id:51343
;NOERROR


--Dick
___
DNSOP mailing list
DNSOP@ietf.org
https://www.ietf.org/mailman/listinfo/dnsop


[DNSOP] TSIG - add presentation format for humans.

2018-11-21 Thread Mark Andrews


-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742  INTERNET: ma...@isc.org

___
DNSOP mailing list
DNSOP@ietf.org
https://www.ietf.org/mailman/listinfo/dnsop