Discussion:
[rancid] Trailing exclamation mark on Cisco ASA serial numbers
Dale Shaw
2012-01-12 05:41:33 UTC
Permalink
Hi all,

I recently upgraded from RANCID 2.3.3 to 2.3.6.

I noticed a bunch of diffs generated on our Cisco ASA firewalls after
a recent collection.

Example:

***@box:.../firewalls/configs$ cvs diff -D '1 day ago' par-fw01
Index: par-fw01
===================================================================
RCS file:
/usr/local/rancid/var/CVS/firewalls/configs/par-fw01,v
retrieving revision 1.17
retrieving revision 1.18
diff -r1.17 -r1.18
8,9c8
< !Serial Number: JMXXXXXXPQ
< !
---
!Serial Number: JMXXXXXXPQ!
***@box:.../firewalls/configs$

Note the exclamation mark ("!") appended to the serial number string.
This does not appear in the command output when entered interactively.

There seem to be a few possible culprits mentioned in the CHANGES file
between 2.3.3 and 2.3.6.

Our ASAs are running software release 7.0(x).

Cheers,
Dale
Lance Vermilion
2012-01-12 14:19:36 UTC
Permalink
Look at the full log and see if the exclamation is just not getting a new
line character before it.
Post by Dale Shaw
Hi all,
I recently upgraded from RANCID 2.3.3 to 2.3.6.
I noticed a bunch of diffs generated on our Cisco ASA firewalls after
a recent collection.
Index: par-fw01
===================================================================
/usr/local/rancid/var/CVS/firewalls/configs/par-fw01,v
retrieving revision 1.17
retrieving revision 1.18
diff -r1.17 -r1.18
8,9c8
< !Serial Number: JMXXXXXXPQ
< !
---
!Serial Number: JMXXXXXXPQ!
Note the exclamation mark ("!") appended to the serial number string.
This does not appear in the command output when entered interactively.
There seem to be a few possible culprits mentioned in the CHANGES file
between 2.3.3 and 2.3.6.
Our ASAs are running software release 7.0(x).
Cheers,
Dale
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Ryan West
2012-01-12 14:25:13 UTC
Permalink
Post by Dale Shaw
8,9c8
< !Serial Number: JMXXXXXXPQ
< !
---
!Serial Number: JMXXXXXXPQ!
Note the exclamation mark ("!") appended to the serial number string.
This does not appear in the command output when entered interactively.
There seem to be a few possible culprits mentioned in the CHANGES file
between 2.3.3 and 2.3.6.
Our ASAs are running software release 7.0(x).
I'm seeing the same behavior on multiple versions of versions of 8.x as well.

-ryan
Hagen, Skye
2012-01-12 15:49:32 UTC
Permalink
This also occurs on FWSM configs. I'll bet it is in this section of rancid,
in the ShowVersion function.

/^serial number:\s+(.*)$/i &&
ProcessHistory("COMMENTS","keysort","C1", "!Serial Number: $1")
&&
next;

Note: No newline is appended.

Thanks,
Skye Hagen
Post by Dale Shaw
Hi all,
I recently upgraded from RANCID 2.3.3 to 2.3.6.
I noticed a bunch of diffs generated on our Cisco ASA firewalls after
a recent collection.
Index: par-fw01
===================================================================
/usr/local/rancid/var/CVS/firewalls/configs/par-fw01,v
retrieving revision 1.17
retrieving revision 1.18
diff -r1.17 -r1.18
8,9c8
< !Serial Number: JMXXXXXXPQ
< !
---
!Serial Number: JMXXXXXXPQ!
Note the exclamation mark ("!") appended to the serial number string.
This does not appear in the command output when entered interactively.
There seem to be a few possible culprits mentioned in the CHANGES file
between 2.3.3 and 2.3.6.
Our ASAs are running software release 7.0(x).
Cheers,
Dale
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
shouldbe q931
2012-01-13 13:24:47 UTC
Permalink
Post by Hagen, Skye
This also occurs on FWSM configs. I'll bet it is in this section of rancid,
in the ShowVersion function.
        /^serial number:\s+(.*)$/i &&
            ProcessHistory("COMMENTS","keysort","C1", "!Serial Number: $1")
&&
            next;
Note: No newline is appended.
Thanks,
Skye Hagen
Post by Dale Shaw
Hi all,
I recently upgraded from RANCID 2.3.3 to 2.3.6.
I noticed a bunch of diffs generated on our Cisco ASA firewalls after
a recent collection.
Index: par-fw01
===================================================================
/usr/local/rancid/var/CVS/firewalls/configs/par-fw01,v
retrieving revision 1.17
retrieving revision 1.18
diff -r1.17 -r1.18
8,9c8
< !Serial Number: JMXXXXXXPQ
< !
---
!Serial Number: JMXXXXXXPQ!
Note the exclamation mark ("!") appended to the serial number string.
This does not appear in the command output when entered interactively.
There seem to be a few possible culprits mentioned in the CHANGES file
between 2.3.3 and 2.3.6.
Our ASAs are running software release 7.0(x).
Cheers,
Dale
_______________________________________________
I'm running rancid 2.3.6 against ASA 8.2.5 and also seeing the trailing !
shouldbe q931
2012-01-13 14:59:18 UTC
Permalink
Post by shouldbe q931
Post by Hagen, Skye
This also occurs on FWSM configs. I'll bet it is in this section of rancid,
in the ShowVersion function.
        /^serial number:\s+(.*)$/i &&
            ProcessHistory("COMMENTS","keysort","C1", "!Serial Number: $1")
&&
            next;
Note: No newline is appended.
Thanks,
Skye Hagen
Post by Dale Shaw
Hi all,
I recently upgraded from RANCID 2.3.3 to 2.3.6.
I noticed a bunch of diffs generated on our Cisco ASA firewalls after
a recent collection.
Index: par-fw01
===================================================================
/usr/local/rancid/var/CVS/firewalls/configs/par-fw01,v
retrieving revision 1.17
retrieving revision 1.18
diff -r1.17 -r1.18
8,9c8
< !Serial Number: JMXXXXXXPQ
< !
---
!Serial Number: JMXXXXXXPQ!
Note the exclamation mark ("!") appended to the serial number string.
This does not appear in the command output when entered interactively.
There seem to be a few possible culprits mentioned in the CHANGES file
between 2.3.3 and 2.3.6.
Our ASAs are running software release 7.0(x).
Cheers,
Dale
_______________________________________________
I'm running rancid 2.3.6 against ASA 8.2.5 and also seeing the trailing !
and on a PIX running 6.3.5

Loading...