[rancid] Diff noise after update

Christopher Hunt dharmachris at gmail.com
Fri Aug 4 16:23:40 UTC 2023


Hello!

Similar to
https://www.mail-archive.com/rancid-discuss@www.shrubbery.net/msg00159.html
and
https://www.mail-archive.com/rancid-discuss@www.shrubbery.net/msg00261.html,
after updating to rancid-3.13-7.el7.x86_64,  I'm getting many diffs each
day that look like this:



  #Version: FortiGate-60F ...

  #Security Level: ...

  #Firmware Signature: certified

- #Virus-DB: 91.05476(2023-07-27 04:26)

- #Extended DB: 91.05476(2023-07-27 04:25)

+ #Virus-DB: 91.05477(2023-07-27 05:26)

+ #Extended DB: 91.05477(2023-07-27 05:25)

  #AV AI/ML Model: 2.12053(2023-07-27 03:45)

  #IPS-DB: 25.00609(2023-07-26 02:53)

  #IPS-ETDB: 0.00000(2001-01-01 00:00)



My Perl regex-fu fails me.  Anyone have any ideas what I'm doing wrong?



[me at ttd ~]# grep -C10 Virus-DB /usr/share/perl5/vendor_perl/rancid/
fortigate.pm

        last if (/$prompt/);



        if ($filter_osc >= 2) {

            next if (/^\s*APP-DB: .*/);

            next if (/^\s*Botnet DB: .*/);

            next if (/^\s*Extended DB: .*/);

            next if (/^\s*industrial-db: .*/i);

            next if (/^\s*IPS-DB: .*/);

            next if (/^\s*IPS-ETDB: .*/);

            next if (/^\s*IPS Malicious URL Database: .*/);

            next if (/^\s*Virus-DB: .*/);

            next if (/^\s*\#*Virus-DB\: .*/);           #2023-07-25 trying
to reduce noise

            next if (/^\s*\#*AV AI\/ML Model\: .*/);    #2023-07-25 trying
to reduce noise

            next if (/^\s*AV AI\/ML Model: .*/);

        }



I can't figure out where the regex identifies the hash symbol, but i'm
pretty sure that's not the issue since other lines, which are updating like
"IPS-DB" aren't included in the diff.



Thanks very much!

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20230804/40acc1e9/attachment.htm>


More information about the Rancid-discuss mailing list