summaryrefslogtreecommitdiffstats
path: root/bin/xrancid.in
Commit message (Collapse)AuthorAgeFilesLines
* Fixing Extreme supportTore Anderson2007-05-221-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi. I finally got around to fix RANCID so it worked flawlessly with my Extreme devices (I've got switches running both ExtremeWare and XOS): * Identify XOS as a separate platform, this is done by looking for a period before the command number instead of a colon. Fix the prompt match regex in xrancid to recognise both cases. * Always "disable clipaging [session]" to avoid pagination, which earlier caused me to lose a configuration line every 24 or so lines for XOS. Remove comments suggesting such commands isn't available. * XOS doesn't have a marker for the end of the configuration file, so use a prompt match to look for the end too. Also make it so that invalid commands are detected, thus preventing an error message to be mistaken for the complete configuration. * Work around a strange bug in XOS where once in a while the line containing the SSH key will only contain the last seven hundred or so octets (causing spurious diffs to be mailed all the time). If we see a line containing only hex octets, assume we hit the bug and replace it like we would the complete line. * Fix the while loop that's supposed to swallow the SSL privkey for ExtremeWare devices, which earlier caused the next valid configuration line following the key to be swallowed also. * Remove special-casing of the quit/exit command for Extreme products, use "quit" always. This fixes all the bugs I experienced using RANCID with Extreme devices running XOS 11.3.3.7 and EW 7.5e.2.6 / 7.5e.3.8. Hope it's useful to others and that it can be applied to the next alpha release. Regards -- Tore Anderson
* Imported from rancid-2.3.2a6.tar.gz.rancid-2.3.2a6Tar Committer2006-12-051-3/+8
|
* Imported from rancid-2.3.2a5.tar.gz.rancid-2.3.2a5Tar Committer2006-08-121-2/+2
|
* Imported from rancid-2.3.2a4.tar.gz.rancid-2.3.2a4Tar Committer2006-05-041-3/+12
|
* Imported from rancid-2.3.2a2.tar.gz.rancid-2.3.2a2Tar Committer2005-07-071-36/+31
|
* Imported from rancid-2.3.tar.gz.rancid-2.3Tar Committer2004-03-141-4/+4
|
* Imported from rancid-2.3.rc1.tar.gz.rancid-2.3.rc1Tar Committer2004-01-121-26/+38
|
* Imported from rancid-2.2.1.tar.gz.rancid-2.2.1Tar Committer2002-05-021-1/+1
|
* Imported from rancid-2.2.tar.gz.rancid-2.2Tar Committer2002-01-041-15/+33
|
* Imported from rancid-2.2b8.tar.gz.rancid-2.2b8Tar Committer2001-10-161-62/+123
|
* Imported from rancid-2.2b5.tar.gz.rancid-2.2b5Tar Committer2001-08-031-0/+407