[rancid] (no subject)

heasley heas at shrubbery.net
Mon May 5 14:17:44 UTC 2014


Thu, May 01, 2014 at 01:21:42PM -0400, Gerhard Mourani:
> Hello,
> 
> I'm using Rancid 3.0 to check FortiGate configuration changes and it is
> working except that I receive every time when the script is running, the
> following diff.
> 
> -     set password ENC
> ttKtc1dKyMz19Q6J7FQ6TLuM4ijBajn0gOgs8OvSaaExqFScZf1ngJTXpyHOrg8gdkcZLYKnTAWNGooEasQAYgnzwTq1siZvMrE37H1tQaBhDvenHB94CP7W+Esp/82LBKVA57xuaAVpehH0WCeFLIjdogE+N8yBfcmObOqBYewbTt9xRL/MG+XwQqtjHeyGC5tsrw==
> +     set password ENC
> Ig68IRG3Y25jMaueDr6VTnROaGLp2DbwMKjK7AzIkDserF+TDqcdSOKof+vGSfBL52TPZGNN/JXsC6SRIZcBrPm2yE3ciRgkX9FxoNmN2WieUBr8GEaEdwD4HpHFe31D13Sc+k9tHLczdXOCYnGVFXMZNH2zaa6ZIzSIQuYPPaWBltJolkCcdEHQoUjQ4tB8imTGmw==

this should fix that.

Index: bin/fnrancid.in
===================================================================
--- bin/fnrancid.in	(revision 2837)
+++ bin/fnrancid.in	(working copy)
@@ -225,7 +225,7 @@
 	    }
 	}
 	# filter cycling password encryption
-	if (/^\s*(set [^\s]*)\s(Enc\s[^\s]+)(.*)/i && $filter_pwds > 0 ) {
+	if (/^\s*(set [^\s]*)\s(enc\s[^\s]+)(.*)/i && $filter_pwds > 0 ) {
 	    ProcessHistory("ENC","","","#$1 ENC <removed> $3\n");
 	    next;
 	}



More information about the Rancid-discuss mailing list