[rancid] Fortigate last-login

Merijn Evertse merijn at trans-ix.nl
Tue Jan 17 23:13:33 UTC 2017


Hello,

On our Fortigate units the last-login entry is causing RANCID to detect a change every hour.
To fix this I have added the next few lines in fnrancid:

        # filter last-login
        if (/^(\s*set)\slast-login\s(.*)/ && $filter_osc) {
            ProcessHistory("","","","#$1 last-login <removed>\n");
            next;
        }

After the "# filter cycling password encryption" block.

Maybe it helps others, or it can be done better.

Kind regards,

Merijn Evertse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170117/0dc9d451/attachment.html>


More information about the Rancid-discuss mailing list