[rancid] ASA PIX Written by DIFFS
Mahaffey, Brian
bmahaffey at pelco.com
Wed Apr 1 17:47:39 UTC 2009
Hello,
I get the following diff every rancid-run. Rancid Version 2.3.2a9
Just on the following devices
ASA version 8.0(4)
PIX version 8.0(4) & 7.2(4)
Index: configs/b5-m-c5520.pelco.org
===================================================================
retrieving revision 1.907
diff -U 4 -r1.907 b5-m-c5520.pelco.org
@@ -64,9 +64,9 @@
!
!
config-register 0x1
: Saved
- : Written by rancidbk at 00:23:03.433 PDT Wed Apr 1 2009
+ : Written by rancidbk at 10:38:52.023 PDT Wed Apr 1 2009
!
ASA Version 8.0(4)
!
hostname B5-M-C5520
I ran across this on the archives but I am unsure how to apply it and
where. Any ideas would be appreciated!
I think this change, not in 2.3.2a9, will fix this problem.
Index: rancid.in
===================================================================
RCS file: /home/rancid/.CVS/rancid/bin/rancid.in,v
retrieving revision 1.251
retrieving revision 1.253
diff -d -u -r1.251 -r1.253
--- rancid.in 26 Nov 2008 17:43:41 -0000 1.251
+++ rancid.in 2 Feb 2009 21:40:14 -0000 1.253
@@ -1,6 +1,6 @@
#! @PERLV_PATH@
##
-## $Id: rancid.in,v 1.251 2008/11/26 17:43:41 heas Exp $
+## $Id: rancid.in,v 1.253 2009/02/02 21:40:14 heas Exp $
##
## @PACKAGE@ @VERSION@
## Copyright (c) 1997-2008 by Terrapin Communications, Inc.
@@ -1522,6 +1522,7 @@
last if (/^$prompt/);
return(1) if /Line has invalid autocommand /;
return(1) if (/(Invalid input detected|Type help or )/i);
+ return(1) if /\%Error: No such file or directory/;
return(0) if ($found_end); # Only do this routine once
return(-1) if (/command authorization failed/i);
# the pager can not be disabled per-session on the PIX
@@ -1550,6 +1551,8 @@
# some versions have other crap mixed in with the bits in the
# block above
/^! (Last configuration|NVRAM config last)/ && next;
+ # and for the ASA
+ /^: (Written by \w+ at|Saved)/ && next;
# skip consecutive comment lines to avoid oscillating extra comment
# line on some access servers. grrr.
@@ -1823,7 +1826,7 @@
next;
}
- /^Cryptochecksum:/ && next;
+ /^ *Cryptochecksum:/ && next;
# catch anything that wasnt matched above.
ProcessHistory("","","","$_");
Thank you,
Brian Mahaffey
Sr. Network Engineer
Pelco
(559) 292.1981 ext 5323
(559) 840.5686 Mobile
AIM/GTALK/MSN: bmahaffey at gmail.com
- ------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this transmission is legally privileged and confidential, intended only for the use of the individual(s) or entities named above. This email and any files transmitted with it are the property of Pelco. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you receive this communication in error, please notify us immediately by telephone call to +1-559-292-1981 or forward the e-mail to administrator at pelco.com and then permanently delete the e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation.
- ------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20090401/87009b11/attachment.html
More information about the Rancid-discuss
mailing list