[rancid] Fortigate false notifications

Slacker T slackert at gmail.com
Mon Jul 18 15:16:52 UTC 2011


Hello,

I'm running rancid 2.3.6 and am having trouble with the config
change notification "flapping". The content of the config isn't
really changing, just different whitespace and sometimes crlf's.
Wasn't sure if others have had this problem and whether it can
be fixed on the firewall or within rancid. Maybe tell rancid to
ignore leading and trailing whitespace....not sure about the
errant crlf's.

Firewall info: Fortigate-620B v4.0,build0313,110301 (MR2 Patch 4)
Rancid info: 2.36 on CentOS 5.6 compiled from source

Output of last few updates:

Index: configs/fortigate.example.com
===================================================================
- -- configs/fortigate.example.com      (revision 2556)
      set gui-ipv6 disable
      set gui-lines-per-page 50
      set gui-load-balance enable
- set gui-object-tags disable
+     set gui-object-tags disable
      set gui-policy-interface-pairs-view enable
      set gui-voip-profile disable
      set hostname "fortigate"

Index: configs/fortigate.example.com
===================================================================
- -- configs/fortigate.example.com      (revision 2549)
@@ -75,7 +75,7 @@
      set gui-ipv6 disable
      set gui-lines-per-page 50
      set gui-load-balance enable
-     set gui-object-tags disable
+ set gui-object-tags disable
      set gui-policy-interface-pairs-view enable
      set gui-voip-profile disable

Index: configs/fortigate.example.com
===================================================================
- -- configs/fortigate.example.com      (revision 2554)
@@ -24,8 +24,7 @@
      set sw1 auto
  end
  config system amc-slot
-     edit
- "sw1"
+     edit "sw1"
      next
  end
  config system

Index: configs/fortigate.example.com
===================================================================
- -- configs/fortigate.example.com      (revision 2553)
@@ -24,7 +24,8 @@
      set sw1 auto
  end
  config system amc-slot
-     edit "sw1"
+     edit
+ "sw1"
      next
  end
  config system global

Index: configs/fortigate.example.com
===================================================================
- -- configs/fortigate.example.com      (revision 2552)
@@ -24,8 +24,7 @@
      set sw1 auto
  end
  config system amc-slot
-     edit
- "sw1"
+     edit "sw1"
      next
  end
  config system


More information about the Rancid-discuss mailing list