[rancid] Rancid Diff Noise

dmack at verizon.com dmack at verizon.com
Tue Apr 22 13:47:19 UTC 2008


Hello!
	We have been happily using Rancid for the past 3 years and love
it! I just upgraded our system to rancid-2.3.2a7 and it went smoothly.
However, our diffs for the Juniper ERX-1440 are "noisy". We are getting
two categories of changes that we would like to ignore. The first is the
disk bytes counts reported by DirSlotN. It changes everyday, I suspect due
to our provisioning changes. The second is mpls ldp passwords are
"randomly" encrypted on the fly so they appear different each time. I have
an example below:


RCS file: /usr/local/rancid/CVS/washdc/configs/washdc-rtr-03,v
retrieving revision 1.340
retrieving revision 1.341
diff -u -p -r1.340 -r1.341
--- washdc/configs/washdc-rtr-03	2008/04/02 13:09:45	1.340
+++ washdc/configs/washdc-rtr-03	2008/04/03 12:09:03	1.341
@@ -255,8 +255,8 @@
 !Flash:                   -------------                   
 !Flash:     Device        (bytes)      (bytes)    (bytes) 
 !Flash: --------------   ----------   ---------   --------
-!Flash: disk0:           1025482752   282328652   68157440
-!Flash: standby-disk0:   1025482752   282314384   68157440
+!Flash: disk0:           1025482752   282344524   68157440
+!Flash: standby-disk0:   1025482752   282330256   68157440
 !
 !                         serial      assembly    assembly   ram 
 !slot       type          number       number       rev.     (MB)
@@ -1701,8 +1701,8 @@ mpls ldp targeted-hello receive list 130
 mpls ldp targeted-hello send list 130.81.100.2
 mpls ldp targeted-hello receive list 130.81.100.2
 ! 
-mpls ldp neighbor 130.81.100.1 password 8 BZ<yYKJE9S
-mpls ldp neighbor 130.81.100.2 password 8 BZ<yYK1E9S
+mpls ldp neighbor 130.81.100.1 password 8 KnT%U(fm7S
+mpls ldp neighbor 130.81.100.2 password 8 7ZfaZ#^r%S
 ! 
 mpls ldp interface profile default
 mpls


Is there a way we can ignore these changes?


In a similar situation, we are working with CRS-1s and are seeing daily
diffs for insignificant changes as shown below:

Use of tainted arguments in exec is deprecated at
/usr/local/apache/cgi-bin/cvsweb.cgi line 2043.
===================================================================
RCS file: /usr/local/rancid/CVS/tampfl/configs/tampfl-rtr-31,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- tampfl/configs/tampfl-rtr-31	2008/04/18 19:36:12	1.14
+++ tampfl/configs/tampfl-rtr-31	2008/04/19 19:20:36	1.15
@@ -198,9 +198,9 @@
 !
 !Flash: bootflash: Directory of bootflash:
 !Flash: bootflash: 7864322     -rw-  1224        Sun Dec 30 12:40:18 2007
temp_hist
-!Flash: bootflash: 7864324     -rw-  29234       Sun Dec 30 12:40:18 2007
temp_cont
+!Flash: bootflash: 7864324     -rw-  35420       Sun Dec 30 12:40:18 2007
temp_cont
 !Flash: bootflash: 7864328     -rw-  1544        Sun Dec 30 12:42:06 2007
uptime_hist
-!Flash: bootflash: 7864330     -rw-  63000       Sun Dec 30 12:42:06 2007
uptime_cont
+!Flash: bootflash: 7864330     -rw-  63768       Sun Dec 30 12:42:06 2007
uptime_cont
 !Flash: bootflash: 15597570    -rw-  0           Sun Dec 30 13:12:12 2007
mbi_image
 !Flash: bootflash: 15597572    -rw-  28          Sun Dec 30 13:13:31 2007
env_static_data
 !Flash: bootflash: 15597576    -rw-  32          Sun Dec 30 13:14:31 2007
uptime_static_data

I could attempt to drag out my Perl books and fix these locally, but
someone out there might have a better fix that we could all share.


Thanks!
Dave


___________________________________________________________
David A. Mack                           (703) 391-7787 (W)
CCIE #6963 CISSP JNCIS SnortCP          (703) 431-7617 (C)
email:  dmack at verizon.com
___________________________________________________________
"For Those About to Route, We Salute You!"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20080422/43925032/attachment.html 


More information about the Rancid-discuss mailing list