Discussion:
[rancid] Erratic "e" and "x" characters with clogin and hlogin
Ryan Shea
2008-12-31 15:22:30 UTC
Permalink
We run rancid against two different kinds of devices, one using clogin and
one using hlogin, but we often see erratic config differences. It seems
that almost randomly "e" or "x" characters will show up toward the beginning
of certain lines. Here are a few examples:

@@ -7 +7 @@
- timezone Etc/UTC
+ etimezone Etc/UTC
@@ -35 +35 @@
- e speed auto
+ speed auto
@@ -4 +4 @@
- !xiBGP table version is 0, local router ID is 10.10.10.10
+ !BGP table version is 0, local router ID is 10.10.10.10

This is troubling because with the number of devices we check there is
almost always a flake-out on a few of them, making config change
notifications very spammy.

I am running this system on on an Ubuntu Hardy server with expect version
5.43.0. It did not look like the expect patch had anything to do with these
random characters, so I have not patched/hacked my expect. In the past I
have seen this - as well as seemingly random spaces at the beginning of
lines with Cisco ASAs - on RHEL 5 machines as well. Any pointers in the
right direction would be appreciated.

Thanks,
Ryan
Ryan Shea
2008-12-31 18:08:17 UTC
Permalink
We run rancid against two different kinds of devices, one using clogin and
one using hlogin, but we often see erratic config differences. It seems
that almost randomly "e" or "x" characters will show up toward the beginning
of certain lines. Here are a few examples:

@@ -7 +7 @@
- timezone Etc/UTC
+ etimezone Etc/UTC
@@ -35 +35 @@
- e speed auto
+ speed auto
@@ -4 +4 @@
- !xiBGP table version is 0, local router ID is 10.10.10.10
+ !BGP table version is 0, local router ID is 10.10.10.10

This is troubling because with the number of devices we check there is
almost always a flake-out on a few of them, making config change
notifications very spammy.

I am running this system on on an Ubuntu Hardy server with expect version
5.43.0. It did not look like the expect patch had anything to do with these
random characters, so I have not patched/hacked my expect. In the past I
have seen this - as well as seemingly random spaces at the beginning of
lines with Cisco ASAs - on RHEL 5 machines as well. Any pointers in the
right direction would be appreciated.

Thanks,
Ryan
alex
2009-01-01 01:27:04 UTC
Permalink
seemingly random spaces at the beginning of lines with Cisco ASAs
You're not alone. This seems to be an undocumented feature of the ASA series,
although it only happens when there's been a config change, not spontaneously
on it's own.

alexd
Ryan Shea
2009-01-01 17:11:24 UTC
Permalink
That is really too bad. At least I have a platform where it flakes out
reliably enough that debugging would probably be worthwhile. I can try
pulling the clogin and hlogin from the bleeding edge version of Rancid to
see if that helps.

-Ryan
Post by alex
seemingly random spaces at the beginning of lines with Cisco ASAs
You're not alone. This seems to be an undocumented feature of the ASA series,
although it only happens when there's been a config change, not spontaneously
on it's own.
alexd
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
john heasley
2009-01-09 22:45:32 UTC
Permalink
Post by Ryan Shea
That is really too bad. At least I have a platform where it flakes out
reliably enough that debugging would probably be worthwhile. I can try
pulling the clogin and hlogin from the bleeding edge version of Rancid to
see if that helps.
-Ryan
Post by alex
seemingly random spaces at the beginning of lines with Cisco ASAs
This is caused by the pager on the PIX/ASA. I've not been able to
come-up with a fix for this.
Post by Ryan Shea
Post by alex
You're not alone. This seems to be an undocumented feature of the ASA series,
although it only happens when there's been a config change, not spontaneously
on it's own.
alexd
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
Loading...