™.. Net::DNS::RR::TSIG - Online Linux Manual PageSection : 3
Updated : 2009-01-26
Source : perl v5.10.1
Note : User Contributed Perl Documentation
NAMENet::DNS::RR::TSIG − DNS TSIG resource record
SYNOPSIS\*(C`use Net::DNS::RR\*(C'\fR;
DESCRIPTIONClass for DNS Transaction Signature (TSIG) resource records.
METHODS
algorithm $rr−>algorithm($algorithm_name);
print "algorithm = ", $rr−>algorithm, "\n";
Gets or sets the domain name that specifies the name of the algorithm. The only algorithm currently supported is HMAC−MD5.SIG−ALG.REG.INT.
time_signed $rr−>time_signed(time);
print "time signed = ", $rr−>time_signed, "\n";
Gets or sets the signing time as the number of seconds since 1 Jan 1970 00:00:00 UTC. The default signing time is the current time.
fudge $rr−>fudge(60);
print "fudge = ", $rr−>fudge, "\n";
Gets or sets the ‟fudge”, i.e., the seconds of error permitted in the signing time. The default fudge is 300 seconds.
mac_size print "MAC size = ", $rr−>mac_size, "\n";
Returns the number of octets in the message authentication code (MAC). The programmer must call a Net::DNS::Packet object's data method before this will return anything meaningful.
mac print "MAC = ", $rr−>mac, "\n";
Returns the message authentication code (MAC) as a string of hex characters. The programmer must call a Net::DNS::Packet object's data method before this will return anything meaningful.
original_id $rr−>original_id(12345);
print "original ID = ", $rr−>original_id, "\n";
Gets or sets the original message ID.
error print "error = ", $rr−>error, "\n";
Returns the RCODE covering TSIG processing. Common values are NOERROR, BADSIG, BADKEY, and BADTIME. See RFC 2845 for details.
other_len print "other len = ", $rr−>other_len, "\n";
Returns the length of the Other Data. Should be zero unless the error is BADTIME.
other_data print "other data = ", $rr−>other_data, "\n";
Returns the Other Data. This field should be empty unless the error is BADTIME, in which case it will contain the server's time as the number of seconds since 1 Jan 1970 00:00:00 UTC.
sig_data my $sigdata = $tsig−>sig_data($packet);
Returns the packet packed according to RFC2845 in a form for signing. This is only needed if you want to supply an external signing function, such as is needed for TSIG-GSS.
sign_func sub my_sign_fn($$) {
my ($key, $data) = @_;
return some_digest_algorithm($key, $data);
}
$tsig−>sign_func(\&my_sign_fn);
This sets the signing function to be used for this TSIG record. The default signing function is HMAC−MD5.
BUGSThis code is still under development. Use with caution on production systems. The time_signed and other_data fields should be 48−bit unsigned integers (RFC 2845, Sections 2.3 and 4.5.2). The current implementation ignores the upper 16 bits; this will cause problems for times later than 19 Jan 2038 03:14:07 UTC. The only builtin algorithm currently supported is HMAC−MD5.SIG−ALG.REG.INT. You can use other algorithms by supplying an appropriate sign_func.
COPYRIGHTCopyright (c) 2002 Michael Fuhr. Portions Copyright (c) 2002−2004 Chris Reinhardt. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
ACKNOWLEDGMENTMost of the code in the Net::DNS::RR::TSIG module was contributed by Chris Turbeville. Support for external signing functions was added by Andrew Tridgell.
SEE ALSOperl (1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet, Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 2845 0
Johanes Gumabo
Data Size : 16,256 byte
man-Net::DNS::RR::TSIG.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 172,506
Visitor ID : :
Visitor IP : 18.226.17.3 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Net::DNS::RR::TSIG.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Net::DNS::RR::TSIG.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Net::DNS::RR::TSIG.3pm|41|br══─}─══|'br══─}─══
) (htmlprn|149|Net::DNS::RR::TSIG.3pm|41|'br══─}─══ |'br══─}─══
) (rof_nr_x|149|Net::DNS::RR::TSIG.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (rof_unit_scale_px|41|Net::DNS::RR::TSIG.3pm|51/52|F|.ie \nF ══─{─══. de IX
) (rof_if|19|Net::DNS::RR::TSIG.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (htmlprn|149|Net::DNS::RR::TSIG.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX
) (rof_escape_sequence|91|Net::DNS::RR::TSIG.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2"
) (parse_manual_page_|249|Net::DNS::RR::TSIG.3pm|57|══─}─══|.══─}─══
) (htmlprn|149|Net::DNS::RR::TSIG.3pm|57|.══─}─══ |.══─}─══
) (rof_escape_sequence|91|Net::DNS::RR::TSIG.3pm|136|\*(C`use Net::DNS::RR\*(C'\fR; |\&\f(CW\*(C`use Net::DNS::RR\*(C'\fR;
)