[rancid] issue with fortigate FW after upgrade
Shaun Krok
krok at krok.za.net
Tue Jul 14 05:01:59 UTC 2015
Hi
Was hoping someone had come across this in recent days.
We have several sites running fortigate FW cluster without issues.
We then upgraded a site to a new version and now have the following
"noise" issue
Running version 3.0 of rancid and I have checked the fnrancid script
and it does have the patch mentioned in the forum
If anyone can help with this would be much appreciated ?
Shaun
**********************
Here is a snip ?
sub GetConf {
print STDERR " In GetConf: $_" if ($debug);
while (<INPUT>) {
tr/\015//d;
next if /^\s*$/;
last if (/$prompt/);
# System time is fortigate extraction time
next if (/^\s*!System time:/);
# remove occurrances of conf_file_ver
next if (/^#?conf_file_ver=/);
# filter cycling RSA private keys
if (/^\s*set private-key "-----BEGIN RSA PRIVATE KEY-----/) {
ProcessHistory("","","","#$_");
ProcessHistory("","","","# <removed>");
while (<INPUT>) {
tr/\015//d;
last if (/$prompt/);
if (/^\s*-----END RSA PRIVATE KEY-----"/) {
ProcessHistory("","","","#$_");
last;
}
}
}
# filter cycling password encryption
if (/^\s*(set [^\s]*)\s(enc\s[^\s]+)(.*)/i && $filter_pwds > 0
) {
ProcessHistory("ENC","","","#$1 ENC <removed> $3\n");
next;
}
ProcessHistory("","","","$_");
}
$found_end = 1;
return(1);
}
retrieving revision 1.510
diff -U 10 -r1.510 de-fw
@@ -16047,35 +16047,35 @@
Z0nf1R7CqJgrTEeDgUwuRMLvyGPui3tbMfYmYb95HLCpTqnJUHvi
-----END CERTIFICATE-----"
set scep-url ''
set source-ip 0.0.0.0
next
end
config vpn certificate local
edit "Fortinet_Factory"
#set password ENC <removed>
set private-key "-----BEGIN ENCRYPTED PRIVATE KEY-----
- MIICxjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQIHB+yEmeRPUsCAggA
- MBQGCCqGSIb3DQMHBAgiWcwKklgTzQSCAoATyGNsZtmmKFswxEjAoX9nEm1La21g
- ZlbBj0g4GP4hQwQZ+HTXRgQ+FqqQVst1Ylk6P4TYrSSHux4BXSgg4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kwMzE0MDdaMIGdMQswCQYDVQQG
EwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTESMBAGA1UEBxMJU3Vubnl2YWxlMREw
DwYDVQQKEwhGb3J0aW5ldDESMBAGA1UECxMJRm9ydGlHYXRlMRkwFwYDVQQDExBG
RzMwMEMzOTEzNjAzMTQ4MSMwIQYJKoZIhvcNAQkBFhRzdXBwb3J0QGZvcnRpbmV0
--
Shaun Krok
Tel: 050 2424 381
More information about the Rancid-discuss
mailing list