[rancid] Jon Lewis / FILTER_PWDS formatting issue

Pan Affa affa_pan at hotmail.com
Thu Feb 1 02:28:11 UTC 2024


I have same problem.  You can modified lib/rancid/junos.pm as like the following:

AT LINE 676:
        #if (/^(\s+(pre-shared-|)key (ascii-text|hexadecimal) )[^ ;]+/ && $filter_pwds >= 1) {
        if (/^(.*(pre-shared-|)key (ascii-text|hexadecimal) )[^ ;]+/ && $filter_pwds >= 1) { #modify by affa at 20201119
            ProcessHistory("","","","#$1<removed>$'\n"); #modify by affa at 20201119
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20240201/c82cc078/attachment.htm>


More information about the Rancid-discuss mailing list