<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It doesn't, I've md5-key + auth-password now! worse then before.<div class=""><br class=""></div><div class="">I'm using Rancid version 3.2.11 and here my original lines:</div><div class=""><br class=""></div><font face="Courier New" class=""><span class=""> # filter cycling password encryption<br class=""></span><span class=""> if (/^\s*(set [^\s]*)\s(enc\s[^\s]+)(.*)/i && $filter_pwds > 0 ) {<br class=""></span><span class=""> ProcessHistory("ENC","","","#$1 ENC <removed> $3\n");<br class=""></span><span class=""> next;<br class=""></span></font><span class=""><font face="Courier New" class=""> }</font><br class=""></span><span class=""><br class="">Gerhard,</span><div class=""><span class=""><br class=""></span><div class=""><div><blockquote type="cite" class=""><div class="">On Dec 8, 2016, at 12:33 PM, heasley <<a href="mailto:heas@shrubbery.net" class="">heas@shrubbery.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Thu, Dec 08, 2016 at 10:08:28AM -0500, Gerhard Mourani:<br class=""><blockquote type="cite" class="">I've a small problem with Fortigate devices using OSPF with dynamic key. Every time a new check is made, new backup is generated because dynamic MD5 Key change and I get something like the following each time.<br class=""><br class="">set md5-key 10 "ENC 9RFKaZXxTsGOoGB9rTkLTLo3fdR2"<br class=""><br class="">Does someone know how I can exclude this kind of line to be taken?<br class=""></blockquote><br class="">Based on rancid 3.6, i think this will filter it, lmk if it doesn't:<br class=""><br class="">Index: bin/fnrancid.in<br class="">===================================================================<br class="">--- bin/fnrancid.in<span class="Apple-tab-span" style="white-space:pre"> </span>(revision 3536)<br class="">+++ bin/fnrancid.in<span class="Apple-tab-span" style="white-space:pre"> </span>(working copy)<br class="">@@ -228,7 +228,7 @@<br class=""> <span class="Apple-tab-span" style="white-space:pre"> </span> next;<br class=""> <span class="Apple-tab-span" style="white-space:pre"> </span>}<br class=""> <span class="Apple-tab-span" style="white-space:pre"> </span># filter cycling password encryption<br class="">-<span class="Apple-tab-span" style="white-space:pre"> </span>if (/^(\s*set \S*)\s(enc\s\S+)(.*)/i &&<br class="">+<span class="Apple-tab-span" style="white-space:pre"> </span>if (/^(\s*set \S*( \d+)?)\s("?enc\s\S+"?)(.*)/i &&<br class=""> <span class="Apple-tab-span" style="white-space:pre"> </span> ($filter_osc || $filter_pwds > 0)) {<br class=""> <span class="Apple-tab-span" style="white-space:pre"> </span> ProcessHistory("ENC","","","#$1 ENC <removed> $3\n");<br class=""> <span class="Apple-tab-span" style="white-space:pre"> </span> next;<br class=""><br class=""></div></div></blockquote></div><br class=""></div></div></body></html>