--- fnrancid.ORIG 2016-02-06 23:11:12.000000000 -0600 +++ fnrancid 2016-10-04 11:38:40.417537679 -0500 @@ -224,6 +224,22 @@ } } } + + # filter cycling ENCRYPTED private keys + if (/^\s*set private-key "-----BEGIN ENCRYPTED PRIVATE KEY-----/) { + ProcessHistory("","","","#$_"); + ProcessHistory("","","","# "); + while () { + tr/\015//d; + last if (/$prompt/); + + if (/^\s*-----END ENCRYPTED PRIVATE KEY-----"/) { + ProcessHistory("","","","#$_"); + last; + } + } + } + # filter cycling password encryption if (/^\s*(set [^\s]*)\s(enc\s[^\s]+)(.*)/i && $filter_pwds > 0 ) { ProcessHistory("ENC","","","#$1 ENC $3\n"); @@ -238,7 +254,11 @@ # Main @commandtable = ( {'get system status' => 'GetSystem'}, + {'get hardware status' => 'GetSystem'}, {'show full-configuration' => 'GetConf'} + # enable below if you want every email to have updates to the engines + # don't forget to add a comma at the end of the line above + #{'diagnose autoupdate version' => 'GetConf'} ); # Use an array to preserve the order of the commands and a hash for mapping # commands to the subroutine and track commands that have been completed.