[rancid] Trailing exclamation mark on Cisco ASA serial numbers

shouldbe q931 shouldbeq931 at gmail.com
Fri Jan 13 13:24:47 UTC 2012


On Thu, Jan 12, 2012 at 3:49 PM, Hagen, Skye <skyeh at uidaho.edu> wrote:
> 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
>
>
>
>
> On 1/11/12 9:41 PM, "Dale Shaw" <dale.shaw+rancid-discuss at gmail.com> wrote:
>
>> 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:
>>
>> dale at 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!
>> dale at 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
>> _______________________________________________

I'm running rancid 2.3.6 against ASA 8.2.5 and also seeing the trailing !


More information about the Rancid-discuss mailing list