3.13 iosxr.pm: handle power shelves in eXR-lite dnos10.pm: add command show inventory media - github.com/spike77453 dnos10.pm: filter fan speed for other fans on same tray - github.com/spike77453 junos.pm: recognize error connecting to dead slave RE rancid.types.base: add type ios-xr7 for Cisco XR >=7.0 on *some* devices, such as NCS - Bill Owens rancid.types.base: add axis type for axis.com switch - Troy Beisigl smc.pm: filter module uptime on PowerConnect 5524 nxos.pm: filter fluctuating WWNs arcos.pm: show features command no longer exposed in ~4.x sros.pm: end of config marker disappeared ~20.5, to be fixed in 20.7r1. Use the MD context marker as an alternative marker jlogin: adjust code to set screen with for -s and -c lg.cgi, lgform.cgi: fix missing variable inializations - Troy Boudreau ios.pm: ASAv fails to read licensing debug info sometimes lgform.cgi: ibcgi-pm-perl removed start/endform version 4.04 - Troy Boudreau mtrancid, routeros.pm: convert mikrotik to module control_rancid: omit .old when looking for rogue files a10login: regex lacking regex option - Tim Warnock control_rancid: add --porcelain to git status for expected output - github.com/jude avocent.pm: fix prompt match, so filters will match the exit command, which only occasionally has a leading space, avocent.pm: # seems to be the ACS comment character, not !. Collect total memory from /proc/meminfo. Comment output from some cat commands. rancid.pm: return an error when a rancid.type.conf line has too few fields avorancid, avocent.pm: convert avocent to module avologin: run_commands(): prompt match s.b. [#$], not [#>] avologin: normalize to clogin avologin: make default timeout longer, these are slow ios.pm: show license could return an author failure - Majed Zouhairy zrancid, frr.pm: convert zebra script to FRR perl library wlogin: send_human the logout command rancid.types.base: note AAA role needed for WLC - Charles Allen rancid.pm: check that opt_t is defined before use xilogin: arcos login banner match can fail if a motd-banner is set mtrancid: filter dynamic configuration, such as fluctuating pppoe user-specific config ios.pm: filter flash dir license_evlog, receives debug logs on XE >=17.2 - Reuben Farrelly arbor.pm: add commands system file show, system show, system disk show jerancid: remove more temperatures - Christian Rohmann via debian package man: Move rancid_intro(1) and lg_intro(1) to man section 7 - - Roland Rosenfeld misc: Add some documentation for a10login, brlogin, fxlogin, rblogin - Roland Rosenfeld 3.12 sros.pm: summarize flash free space junos.pm: ShowSystemLicense(): missing variable initialization exos.pm: ShowVersion(): improve parsing of h/w - James Andrewartha ios.pm: do not use perl /n regex modifier; it didnt appear until 5.22 and is causing heartburn 3.11 ios.pm: some IOS, possibly newer releases, report command authorization failures in a different format - Majed arcos.pm: ShowHardware(): drop indexer counts rancid.pm: loadtype(): check if script is defined before processing -C ios.pm: filter lines from 'term exec prompt time' on IOS - Joe Clarke junos.pm: ShowSystemLicense() must recognize some backend daemon communication errors rancid.types.base, iosxr.pm: collect show memory summary iosxr.pm: ShowVersion(): parse eXR flavor rancid.types.base: more eXR command clean-up iosxr.pm: ShowLicense(): import filters from ios.pm for for eXR >=6.4; guessing here that the filters will be the same since the format is the same, but I have nothing to test against. iosxr.pm: ShowRedundancy(): fix for XR >=5.4.3 & eXR >=6.4 iosxr.pm: ShowHWfpd(): remove trailing WS found in eXR rancid.types.base: add ios-exr for IOS-EXR with alias cisco-exr and add ios, ios-sb, ios-nx, ios-xr for the other cisco ios versions. iosxr.pm: ShowInventory(): change commands for exr to make the output the same. Add ShowDiag() for exr equivalent of admin show diag rancid.types.base: rename juniper -> junos. Add alias for juniper iosxr.pm: ShowInventory(): remove trailing WS found in eXR description iosxr.pm: ShowInstallSummary(): add "Image:" prefix for consistency with ShowInstallActive() rancid-fe: recognize rancid.types.conf aliases junos.pm: show chassis clocks is broken in 19.1R2.1-EVO on some platforms. remove the command for now. edgemax.pm: filter fan speed/duty from o/s 1.9 foundry.pm: wrap secure MAC address if FILTER_OSC > YES junos.pm: ShowChassisClocks() must recognize some backend daemon communication errors junos.pm: EVO RE DRAM fluctuates; replace with "installed" value dnos10: add command show inventory iosxr.pm: match old files where the 4-digit year replaces the timestamp add device type junos-evo for JunOS EVO panos.pm: ShowConfig(): missing last line of config - ermuller ios.pm: ShowFlash(): file permissions field in catch-all branch must also match directories ios.pm: ShowFlash(): filter ASA fluctuating files in LOCAL-CA-SERVER/ - Emille Blanc dnos9.pm|force10: ShowVersion(): drop trailing WS - Howard Jones blogin: normalize part of login() to clogin *login: handle openssh fingerprint prompt for new keys - Emille Blanc junos.pm: ShowChassisFirmware(): drop trail WS ios.pm: remove file numbers from flash rancid.pm: fix handling of script name when handling -C ios.pm: processor type may be multiple words eg: AS920 - Emille Blanc ios.pm: dot1x state match must be case-insensitive - Bart Bylemans iosxr.pm: filter .sspdc file sz/ts iosxr.pm: filter volt_hist file sz/ts sros.pm: improve power data filters 3.10 rancid.types.base: cisco eXR does not have admin show install summary; use admin show install active instead, which appears to be the same at least as far back as 5.3.4. rancid, rancid.pm: handle non-modulized rancid scripts in the rancid script by exec()ing the real script dnos10.om: start Dell NOS10 module - Bjørn Skobba smc.pm: filter Dell N1148T-ON and Powerconnect 7048 temperature info smc.pm: inloop() must set clean_run smc.pm: replaces srancid; modularization. ios.pm: collect show dot1x; if dot1x auth is enabled and rancid.conf:FILTER_OSC = ALL, filter show vlan, which otherwise change frequently exos.pm: rancid.types.base: collect show policy detail dnos9.pm: replaces f10rancid; modularization. force10 is now an alias. rancid.types.base: add alias direction - see manpage rancid.pm: ensure device type is lowercase ios.pm: DirFlash(): fix sort field & DirSlotN(): match ASA's unique date format hlogin: add variation of user prompt from Dell PowerConnect M8024-k as type 'smc'. iosxr.pm: match diskN, where N may be >1 in XR 6.x on 9k with a usbdrive arcos.pm: fail on cli to application error rancid-run: wrong variable used in OLDTIME comparison - Adrian Hardy f10rancid: drop version/last config/startup-config comments from config - Florin Vlad Olariu fss2.pm: drop cpu stats and process stats from FSS >=2.5.1 iosxr.pm: DirSlotN(): drop the file number from all files. Missing Arista documentation - github.com/inphobia GC "procket" from manpages & README arcos.pm: drop trailing spaces jlogin: handle change in Fujitsu FSS2 telnet prompt rivlogin: remove some debug output *login: fix password decision when -e or -p are used, and make error msg common - report from Pan Affa ios.pm: add showPlatform() filter for show hw-programmable all flogin: handle config-mode prompts in run_command() ios.pm: drop count status from show license summary hrancid: filter rogue diagnostic output from 3rd-party transceivers in Aruba - Huber Florian Tobias remove manpages, etc of rancid scripts converted to modules - Roland Rosenfel Deprecate rancid.conf:NOPIPE; default is now enabled prancid: deprecated arcos.pm rancid.types.base: change show hardware handling to eliminate fluctuation in formatting and output junos.pm: filter SRX cluster RE/LC names in prompts - Charles R Anderson junos.pm: filter negative chassis temps - Charles R Anderson wavesvros.pm: filter alternate form of user password - Charles R Anderson panos.pm: filter SNMP community strings & protocol encryption keys & correct comment character - Charles R Anderson rancid: escape "s in rancid.types command definitions - Charles R Anderson ios.pm: filter some log files on ASA 9.8 / FTD2100s - Erik Muller various documentation updates/corrections - Nick Nauwelaerts 3.9 ios.pm: add show module switch for 6500 vss data - Per-Olof Olsson arcos.pm: add tacacs key filter arcos.pm: fix prompt handling - WIP noklogin: exit if pager disable command is not permitted xilogin: handle pager disable for arcos junos.pm: add ShowSystemConfDB() sros.pm: ignore Error: Bad command. error msg form older sros devices ciscowlc.pm: filter mgig temperature - Erik Muller anlogin: make the pty allocation the same as in jlogin dell.pm: powerconnect N[234]000 do not reliably echo the after exit - Wayne Eisenberg clogin: new variation of username prompt - Wayne Eisenberg wlogin: fix prompt match in run_commands() which was failing for longer hostnames/prompts - Erik Muller bigip: add "cd /" command for v13 to collect all routes - Wouter de Jong nxos.pm: recognize older SAN nexus devices - Wouter de Jong a10login: handle logout prompt variation for older ACOS - Wouter de Jong junos.pm: handle show chassis firmware bug for 11.x on EX - Wouter de Jong panos.pm: ignore show chassis inventory on invalid syntax sros.pm: remove duplication of chassis type - Greg Hankins sros.pm: restore chassis type line - Greg Hankins panos.pm: add show chassis inventory - Erik Muller nxos.pm: filter bcm_mem_lock_trace.log since ~7.0.3 - Erik Muller hlogin: send \r rather than for "Press any key to continue" to work-around apparant bug - Benoit Dolez panlogin: move scripting mode and pager disabling from command list to panlogin to work-around complete-on-space {mis-}feature added around 8.1.4 - Erik Muller sros.pm: restore chassis type from bootlog.txt clogin: fix problem with catos prompt sros.pm: take chassis s/n from bootlog.txt *login: adjust the command separated used within; tcl <8.6 does not recognize u002 and u0002 as the same value, which caused a regex compilation failure clogin: ArubaOS >~8.3 has a '*' which must be escaped in prompt matching -PJ Goodwin *login: backout send-human change in previous commit, where it wasnt before. W/O an appropriate adjustment of the send-human variables, it was killing performance. *login: address bug in escaping empty commands of -[cx] sros.pm: use file type debug command only for total memory and card type panlogin: copy/customize last/failed login match from clogin fnlogin: accept new banner prompt at login - Ni Ne ciscowlc.pm: the device may not echo the \r\n at logout fss2: filter sys-uptime anlogin, jlogin, noklogin: use spawnopts spawning ssh/telnet nxos.pm: GC unused variables fortigate: rename fortigate device type to fortigate-full and re-create the fortigate type with 'show' (not 'full-configuration') anlogin: use login_top sros.pm: take chassis type and s/n from show chassis instead of boot.log noklogin: remove ^H handling; its consuming too much arbor.pm: increase anlogin timeout for slow cli commands noklogin: allocate a pty if not on a tty & set term width iosxr: DirSlotN(): drop fileno from oscillating files to ignore the rotation by renaming behavior seen with ce_switch.log and sort all files by filename iosxr: also ignore ce_switch.log* *login: add -i option arcos.pm: initial arcos support - WIP anlogin: copy last/failed login match from clogin nxos.pm: also ignore accounting_log.0 - Pavel Korovin srancid: prevent ShowSys() power supply handling from consuming too much fortigate: filter INDUSTRIAL-DB version - Chris Wopat nxos.pm: filter out oscillating data from transceivers - Pavel Korovin fortigate: wrap other DB signatures within FILTER_OSC hlogin: allow prompts with ()s, still not a good idea imo fxlogin: missing escape in regex - Erik Muller wavesvros.pm: add cmds license file list, blade show, & alarm show fortigate.pm: GC unnecessary output spacers & fix comment character - Nick Nauwelaerts fnlogin: fix logout sequence in run_commands() & used -h option of send fnrancid, fortigate.pm: convert fortigate to module waverserver.pm: filter power support wattage, new in waveserveros 1.6 nxos.pm: in ShowEnvTemp() sub-input loop, catch prompt - Scott McInness jlogin: skip login tips that look like prompts, like: JUNOS tip: Use the configuration statement [system login class login-tip] rancid.conf.sample: note ALL option FILTER_OSC fnrancid: filter db version stamps wrapped in FILTER_OSC - Chris Wopat ulogin: parse (ignore) last (failed) login message at login time 3.8 nxos.pm: ShowEnv() missing prompt handling & CR filter - Frank Mogaddedi ios.pm, iosxr.pm: re-organize the DirSlotN() filtering a bit toward reducing fluctuations sros.pm: misc cleanup - Greg Hankins sros.pm: make last config saved/modified info filtering dependent on FILTER_OSC=ALL ios.pm: ShowFlast(): sort by file name noklogin: disable pager in classic cli, from MD cli sros.pm: add non-native commands for MD cli sros.pm: separate WriteTermMD() for MD cli rancid.types.base: add sros-md type (wip) noklogin: disable pager in MD cli sros.pm: ignore "Error: Invalid parameter" error from MD cli ios.pm: DirSlotN(): sort by filename ios.pm: DirSlotN(): roll XE-specific filter into the generic and drop the file number from all files. ios.pm: DirSlotN(): drop XR-specific filter ciscowlc: skip new oscillating o/p for WLC 8.8 - Reuden Farrelly ciscowlc: fix logout match, like ASA, it missed the CR sometimes fxlogin, fxos: initial FX-OS support - thanks Erik Muller sros: filter change since last save line clogin: add clause to recognize F5 >=11 "exit" command error msg rancid.type.base: add bigip13 for >=13.x - Howard Jones control_rancid: @sysconfdir@ not fully expanded rancid.type.base: remove dir command from edgemax, no useful data and produces endless diffs - Reuben Farrelly & Clemens Shrimpe nxos.pm: use diskszsummary() for disk space rancid.pm: add bytes2human(), diskszsummary(), human2bytes() junos.pm: adjust match for backup RE communication failure. ios.pm: filter date/size of underlying-config file fnlogin: handle empty command index in run_commands() fnlogin: fix escaping of '$' in full prompt matching iosxr.pm: filter date/size of cisco_support file ios.pm: match WIC/VIC/HWIC slots - Rybakov Evgeny vrp.pm: drop file number in filesystem filters vrp.pm: add filesystem filters vrp.pm: add Hauwei VRP support - very much alpha quality ATM xilogin: few change to support Hauwei VRP clogin: new info in ASA login sequence matched as login prompt nxos.pm: add show interface transceiver mrv.pm: add show inventory ios.pm: filter new "% free" string from dir slot in new ASA code hrancid: filter timestamp bug in show tech transceivers nxos.pm: filter show redundancy/show env fex when unsupported iosxr.pm: filter .python-history flash file & non-existent paths/devs ulogin: trim match of "last login:" for timing reasons nx.pm: filter debug_logs/ in flash output - Charles T. Brooks rancid.conf: add check for docker environment where the root user check is skipped. this allows rancid.conf to be sourced inside a dcoker build environment. clogin: add tty settings when a real tty doesnt exist; hoping this will help with the long command problem on ASA devices that I have not been able to replicate on ASAs I can access rancid.conf.sample: move UID check after setting PATH aeos.pm: handle new power supply output format fss2.pm, et al: add Fujitsu FSS2/1finity support ulogin: fix regex typo for skipping last login msg in login sequence srancid: filter power rates and tmestamps from 7024 power supply info ciscowlc.pm: handle variant of logout bug fnrancid: update md5-keys filter for Fortigate 5.4.6 sros.pm: move show chassis power-supply o/p - Greg Hankins ciscowlc.pm: filter rogue client Unknowns - Bill Fenner junos.pm: filter scale-subscriber license counters ulogin: increase default timeout to 30s for slower Edgeroute Lite - Andreas Herrmann 3.7 sros.pm: fix prompt match to correctly handle the prompt with a modified config & remove the atom from the output arbor.pm: fail on intermittent h/w retrieval failure iosxr.pm: recognize another possible intermittent failure in show install active fnrancid: filter cluster uptime waveserver.pm: adjust prompt for the case where a ^ appears in the prompt after displaying the config. waveserver.pm: prompt could be # or >, depending on access level - Chris Wopat tested fnlogin.in: Fortiweb 5.8 changed password prompt acos.pm: show aflex is not be supported in the CGN/LSN image wlogin: support -S wlogin: use login_top & GC the code to enable - tested by Reuben Farrelly ciscowlc.pm: filter bogus & oscillating mgmt address disaplay - Reuben Farrelly wlogin: GC some stuff from clogin, disable pager & fix the prompt regex anlogin: disable pager on arbor wlogin: fix use of exitval rancid.pm, rancid.types.base: add timeout directive to set a default login timeout. Move timeouts from the modules to rancid.types. rancid.types.base: argument missing for cisco-wlc8 - Reuben Farrelly iosxr.pm: fail if install director is not up or ready ios.pm: report physical memory for XE devices ios.pm: filter config archive file names running-config-archive-*; no reasonable file name suggestion found in docs. aeos.pm: filter unsaved config changes notification ios.pm: ignore size of throughput_monitor_params on XE - Emille Blanc rancid.types.base, ios.pm: add 'show inventory' w/o raw argument for ASA/PIX arbor.pm: filter cmosh timer error that is intermitent and does appear to affect collection hpuifilter: fix an error in patch import in r3233: hpuifilter: fix escape sequence parsing so that it does not consume sequences after another that are incomplete - Brian Candler rancid.types.base: add cisco-wlc8 with longer default timeout ciscowlc.pm: remove noisy debugging o/p srancid: add username/enable password filtering nxos.pm: adjust regex for nexus with decimal wattages - Howard Jones fnlogin: fix full prompt gleaning code - much appreciated help from Merijn Evertse fnrancid: filter oscillating ospf md5 keys - Merijn Evertse sros.pm: final formatting tweaks - Greg Hankins sros.pm: power info changes for 7750/7950 - Greg Hankins control_rancid: check for duplicated device names in the router.db of the active group. print a warning and drop the dumplicate. http://www.shrubbery.net/pipermail/rancid-discuss/2017-June/009661.html hlogin: recognize username prompt User Name: mtrancid: remove license renewal timestamp junos.pm: filter cycling & useless last commit config line hlogin: prompt matching not needed for interactive - Per-Olof Olsson nxos.pm: drop bootvar_debug.* log files reported on the ML hpuifilter: add 3 CR replacements, fixing hp5412 J8697A or hp5406 and HP/Aruab-2920 switches running WB_16_03_0004 - Kalani Sanders arbor.pm: force a terminal type so as not to confuse the PoS with "network." Seems that it might also support "dumb". clogin: respond to prompt from config:file prompt noisy ios.pm: Filter perpetually changing file "snooping" - Mark Felder nxof.pm: Filter vtp_debug.log and vtp_debug_old.log CDETS bug CSCuy87611 - Mark Felder aeos.pm: skip some junk in the config output ios.pm: fail if show license can not retrieve license info ios.pm: filter ASR901 fan speed - Nick Peelman ios.pm: ShowDiag misinterprets WIC/VIC/HWIC slots - Rybakov Evgeny *login: add cloginrc telnetcmd directive and with the defualt telnet -K (no automatic login) if -K is supported, which otherwise can break logins if the unix username and device username are not the same. dllogin, hlogin, mrvlogin, nslogin, panlogin: include common functions and cmd-line opts from login_top rivlogin: normalize this a bit; its still a mess junos.pm: ShowVersion: fail on no route to secondary RE ios.pm: ShowDiag misinterprets PVDM slots - Rybakov Evgeny junos.pm: add VMX-SCALE & VMX-BANDWIDTH to license filter - Brad Dreisbach rancid.spec: fix omissions & typo - Brad Dreisbach configure: fix --with-git fnlogin: do not send \r to the prompt in run_commands() - Daniel Fussell fnlogin: fix missing/extra brace - Daniel Fussell edgerouter.pm: add match for transient show version command failure ios.pm: summarize bytes free on flash noklogin: SR OS has no concept of enable mode; remove such code so that autoenable/etc are not needed sros.pm: add show card detail - Erik Muller ios.pm: filter flash:smart-log/agentlog, debug file turd that changes size in perpetuity sros.pm: filter passwords & trap communities - Erik Muller ios.pm: ASAv 9.6(2) has a bug with a cycling debug file: smart-log/agentlog *rancid: print which of found_end or clean_run are false with -d option plogin: fix cmd-line option spec - Erik Muller f10rancid: remove s4048 PS fan speed f10rancid: WS after filenames in some versions cause the dir and parent dir filters to fail. fnrancid: filter last-login - Merijn Evertse sros.pm: drop unnecessary command: file type config.dbg - Greg Hankins alogin: respond to modified config saving & peer syncing appropriately - thanks Bob Franzke alogin: missing global variable sros.pm: config.dbg doesnt exist w/o a saved debug config, ignore errors ios.pm: remove fan speed from fan status on ASR901 - Emille Blanc cloginrc.5: make note of special-character escaping precise - Lee timeos -> sros & allogin -> noklogin, at the request of nokia nxos.pm: pull snmp trap host filtering from ios.pm - Brandon Ewing rancid-run, control_rancid: add -c option to specify a SCM commit message - Mischa Diehm rancid.pm, junos.pm: add ALL option to FILTER_OSC and apply this to junos license info summarization and summarize more of the feature license info - Erik Muller et al junos.pm: also summarize dynamic-vpn licenses & use a blank percentage for features with < 100 licenses - Erik Muller iossb.pm: Cisco small business rancid module hlogin: do not use hpuifilter for interactive telnet with non-std port csblogin: start Cisco small business device support complogin, eos.pm: Compass EOS support removed. RiP allogin, timos.pm: TiMOS support 3.6.2 Fix etc/Makefile for rancid.types.conf handling. 3.6.1 ios.pm: filter license registration timestamp fnrancid: filter oscillating md5-keys par.c: fix misplaced pointer deref 3.6 rancid.pm: ipaddrval() if IPv6 prefix length is missing, simply set 128. *login: in_proc must be global in expect_after. had trouble reproducing the original error, but this should be the correct fix. xlogin: escape the * in lastprompt - Mattieu Beretti *login: change handling of ssh key-related prompts to one line at a time to eliminate timing-related problem. alogin: login() eat one line at a time a10login: remove the aflex-specific stuff. This is the wrong way to do this and it doesn't work properly anyway. control_rancid: create /configs if it does not exist hrancid: use rancid.pm (removes code duplication) rancid.pm: check for existence of functions for given device type after loading the modules for the type. return failure if any are missing. par: add -FH options rancid.types.conf, iosshtech.pm: Add device type ciscoshtech for example purposes acos.pm: filter trailing WS & recognize incomplete/invalid command error in basicFilter() acos.pm: filter trailing WS in ShowAflex() acos.pm: 'show vlan' is 'show vlans' in ACOS 4.x. acos.pm: Add cmd 'show partition-config all' for ACOS 4.x, where 'show running-config all-partitions' does not work. acos.pm: recognize invalid cmd error in ShowRunningConfig() and filter the config size comment fnlogin: missing "end" to exit global mode for -[csx] - Richard Goode plogin: add -m & -M rancid.pm: missing variable initialization nxos.pm: fix bug in recognizing the end of an access-list hlogin: set tty init options when there is no controlling tty and set set the term width to 132 when there is no controlling tty and for -[sc] so that the hp device does not wrap lines. ios.pm: also filter IPv6 PDP addresses - Reuben Farrelly ios.pm: evaluation license periods are displayed differently lg: Add show interface optics iosxr.pm: More useless FPD messages junos.pm: handle a transient cmd protocol failure seen in show version control_rancid: use git ls-files instead of git status for .gitignore and /rancid.conf fnrancid: fix formatting around removal of private-keys bigip.pm: filter snmpv3 oscillating auth-password-encrypted iosxr.pm: filter useless FPD upgrade message 3.5.1 hlogin: missed an ssh -c option among the clean-up - Mark Felder 3.5 aeos.pm: handle returning from a function with a prompt in $_ rancid-cvs, rancid-run, rancid.conf: use LOGDIR from rancid.conf, set a default, and makes manpage notes - David Jones complogin: correct ssh/telnet port variable check control_rancid: if the router list is empty, commit everything, not just router.db. .cvsignore, rancid.conf, etc. *login: do not default to ssh -c 3des; as openssh removes more legacy algorithms. note work-arounds in the FAQ S3 & adjust manpages. ciscowlc.pm: filter OUI classification failures - Reuben Farrelly ciscowlc.pm: filter rogue client config that are added/removed automatically - Reuben Farrelly fnlogin: fix pager disabling for newer o/s - Romanens Xavier, Michael Newton confirms working for older 4.x o/s edgerouter.pm: filter passwords, snmp community, keys, GC some unused code, & fix comment character. ciscowlc.pm: some older code fails to echo after logout - Bill Fenner edgerouter.pm: initial module for Ubiquity Edgerouter, WiP hlogin: when refactoring prompt, eat full lines before looking for the prompt hpuifilter: only turn off echo on the tty, not also the slave pty, which fixes the echoing problem with Ubiquity Edgerouters a10login: fix cut-n-paste bug - Romanens Xavier flogin: eat spaces followed by ^H - from Allen login_top: move variable initialization so it doesnt override env()s - Bill Fenner foundry.pm: ignore invalid command errors in inloop found on Ironware 5.5 for MLX - Erik Muller srancid: filter oscillating file aaafile.prv - Wellie W. Chao nxos.pm: reverse VTP test for nexus without vtp ios.pm: filter ios-xe requested time from show inventory feature iosxr.pm: differences in NCS6k show inventory nxos.pm: show env temp does not exist on 1000v lg.cgi: add show interfaces wanphy for cisco-xr & juniper cisco: Change command show flash to show flash:. The first has been dropped from the 15.5M and the latter seems to be supported back as I can check. - Onno Ossendrijver mrvlogin, mrv.pm: fixes for MRV Optiswitch devices - Christian Rohmann iosxr.pm: fix handling of comments in access-lists nxos.pm: sort ip{v6} access-lists & filter sequence numbers foundry.pm: summarize flash free space xrancid, exos.pm, xlogin: convert extreme to a module and hack clogin into xlogin to deal some weird terminal handling in EXOS >11.0 that uses terminal manipulation to reprint the login prompt (telnet) or the first cli prompt (ssh). - thanks to Nick Hilliard nxos.pm: fix PS wattage filtering - Kyle Wilson junos.pm: filter benign subsystem warnings ios.pm: filter license broker BS FAQ: add notes about openssh client changes for logjam hpuifilter: fix handling of buffer when it drains rancid.conf: change NOCOMMSTR to require "YES", not just defined arrancid, aeos.pm: convert Arista to a module ios.pm: add show license summary for older XE images, such as C4500e 3.04/15.1 bigip.pm: module for F5 BIG-IP >=v11 rancid.conf: add variable FILTER_OSC to control filtering oscillating data. See rancid.conf(5). This may not yet be applied in all places. rancid: change logging of missed commands to preserve order to make it easier for us to parse when providing support. also, only log to stderr and not just with -d. fnrancid: filter new private key format and fix filtering of encryptd passwords ios.pm: filter/sort new ipv4/6 access-list format where list names are omitted from rule lines. ios.pm: correct debug log msg - Reuben Farrelly iosxr.pm: ShowInstallSummary() return error if active install operation iosxr.pm: filter perpetually changing file aaa srancid: Add 'terminal dump' cmd for Dell PowerConnect 3524/3548 - Wellie W. Chao iosxr.pm: fail on temp error in admin show install configure: fix mktemp variable inconsistency - Lee edgemax.pm: https://www.ubnt.com/edgemax/ flogin: merge ssh key code from jlogin junos.pm: chassis command error changed/differs in vMX: error: the chassis subsystem is not running to error: the chassis-control subsystem is not responding to ... jlogin: missing catch for wait in login() rancid-cvs: initialize .git/description iosxr.pm: ASR show version chassis line changed - tip top work cisco ios.pm: strip license period from 2900 ios.pm: show license is an incomplete cmd on older XE images ios.pm: trim trailing WS is show activation key, formatting problem on old ASAs plogin: wrong variable used in error msg - randy bush control_rancid: test -e -> -f for old shells hpuifilter: missing include for solaris ios.pm: recognize aironet in ShowVersion & filter counters in ShowVlan - Howard Jones rancid-cvs: do not set git config --global, local only flogin: build with login_top foundry.pm: add 'show media' and 'show media validation', tested on Brocade ICX 6650 and Brocade CER 2024, but not available on pre-8 firmware - Chris Wopat 3.4.1 iosxr.pm: add errmsg_cont to filtered flash files - xr 5.3.1 debugging turd? configure: fix error in filtering '.' from ENV_PATH and filter [\r\n]. 3.4 configure: fix login_top inclusion - Robert Minsk mrv.pm: filter temps from Optiswitch 960G - Christian Rohmann a10 load balancer support - Robert Minsk 3.3 par: fix quote handling in spliting input file lines. Also clean-up some error messages. wavesvros.pm: fix handling of prompt that changes with unsaved config iosxr.pm: filter the vm crap from admin commands on NCS iosxr.pm: add another unknown command filter for NCS - why have one error message that means "unknown command" when you can have two or more iosxr.pm: collect license udi & clean-up license info nxos.pm: filter new format of PS info - Minh Scholes ios.pm: collect show activation-key on ASA - suggested by Bob Brunette control_rancid: track number of invocations per-group in untracked file runcount; after 100, perform extra-cleanup. Currently only applies to git repos. hpuifilter: fix escape sequence parsing so that it does not consume sequences after another that are incomplete - Brian Candler ios.pm: collect ios & iosxe license info suggested by Roman Hochuli wavesvros: initial Ciena Waveserver o/s support hlogin: save config prompt changed - Per-Olaf Olsson control_rancid: always recreate the .{cvs,git}ignore file(s) and append .{cvs,git}ignore.locale if it exists rancid.conf: add option ACLFILTERSEQ for Hakala Reijo rancid-run: use mktemp for mail temporary file in the error path rancid-run: exit status 1 if group is locked control_rancid: scm-ignore routers.single, -r option temp file rancid-run: improve locking by using an exclusive open anlogin: openssh reduced what ssh ciphers are available (https://bbs.archlinux.org/viewtopic.php?id=188613); allow ssh to use its default list if not specified in cloginrc. ios.pm: filter fan rpm on 7201 - Mike Stupalov *login.in: ignore openssh authentication agent forwarding failure nxos.pm: filter unsupported commands on 1000v - Reuben Farrelly panos.pm: update show system info dynamic info filter - Robert Minsk arrancid: filter uptime from older AOS' show version - Robert Minsk nxos.pm: filter ee.log and accounting.log - Reuben Farrelly panos.pm: filter dynamic info from show system info - Reuben Farrelly juniper: add command show version invoke-on other-routing-engine srancid: temp sensor parsing for M6348 and M8024 - Frank Fegert srancid: Insert the command string at the top of some of the output to give some context, along with a preceeding blank line - Frank Fegert srancid: remove uptime on dell powerconnects - Frank Fegert iosxr.pm: misc hacks for NCS rtftpboot: example script to save copies of configs from /tftpboot rblogin, rbt.pm: initial riverbed steelhead support ciscowlc.pm: filter fan status & make temperature match case insensitive ios.pm: filter oscillating DTE lines from show diag alogin: select ibmnos-cli on IBM Flex System Fabric nlogin: handle netscreen agreement - Yannick Charton mtlogin: avoid line truncation with TERM for wide screen - Ehud Gavron f5rancid: change TERM to vt100-w for 132 width - John Kougoulos arbor.pm: sort IP addresses in policy and display one-per-line as comments so that they are readable and it is easier to see what changed in the policy. There does not appear to be a way to split these lines and have the saved config still be loadable into the device. anlogin: arbor produces some *really* long prefix match lines on account of its lousy config syntax. this exceeds the default expect max buffer size, which i have never seen before. Utilize the full_buffer magic patlist to dump the buffer when it is full but hasnt matched an EOL. arbor.pm: sort ip access lists zrancid: change TERM to ansi - Tore Anderson configure: remove . from PATH - Tetsuo Handa rancid-run, control_rancid, rancid.conf.sample: fix sendmail variable usage Rancid 3.0 change - Tetsuo Handa jlogin mtlogin: fix match for method "ssh:port" *login: fix usage line display of -m | -M rancid: fix error checking of module::init() & calling command handlers that are undefined. ios.pm: filter ike2 keys on ASA - Mike Eklund rancid.conf: move the UID check after setting PATH control_rancid: add check for router.db FS mrvlogin: fix prompt re-factoring in run_commands() rancid.types.base: remove cisco-xr dir slave and sec cmds, they do not appear to apply to any XR platforms - Buchan Milne ios.pm: ignore PDP addr and resolvers in cellular o/p - Reuben Farrelly clogin jlogin mtlogin: Add -m & -M options control_rancid: specify path of /rancid.conf iosxr.pm: fix ShowEnv() collection of power info iosxr.pm: dir may return no route error for unknown devicename ios.pm: ShowDiag(): recognize 3800 AIM modules - Terry Kennedy ios.pm: ShowDiag(): if slot # is empty, use Chassis - Terry Kennedy ios.pm: remove "Fan n RPM is #" on 7201's - Terry Kennedy iosxr.pm: collect admin show hw-module fpd location all junos.pm: fix showsystemlicense for errant licenses w/ 0 available rancid.pm: check result from inet_pton() ciscowlc.pm: comment a few config lines that can not be imported 3.2 control_rancid: fix handling of /rancid.conf in git - Mike Eklund control_rancid: fix handling of configs/.cvsignore panos.pm: fix package definition - martyMusto rancid.type.base: comment adtran definition to avoid confusion configure, rancid.pm: check minimum revision of Socket.pm mtlogin: support cloginrc passphrase and identity ios.pm: add ios::ShowCellular() and cmd show cellular 0 profile control_rancid: fix mail rcpt bug in error path rancid-cvs: change git push.default to current - Per Carlson add .old to configs/{.cvsignore,.gitignore}; see control_rancid(1) rancid.pm: rework IP address sorting based on patch from Nick Hilliard ciscowlc.pm: filter some config junk that wont import nxos.pm: not all nexus have show process log vdc-all f5rancid: filter fluctuating monitor state in config FAQ: updates - Thomas Greer ios.pm: drop the fabricated portion of the "Chassis type:" line; its too much to try to track it accurately and doesnt seem to provide any value foundry.pm: filter altitude and pressure in ShowChassis ios.pm: cellular modem speeds not filtered on C819G ios.pm: 3560X w/ XE has different show sdm prefer and show system mtu formats - Reuben Farrelly update lg for router.db delimeter change - Buchan Milne rename slogin to plogin (poly-login), as slogin collides with ssh pkg - Reuben Farrelly jlogin, mtlogin: set tty init options when there is no controlling tty, and update jlogin to match this method to an error from stty on the O/S used by the user, Linux, I believe. http://www.shrubbery.net/pipermail/rancid-discuss/2015-January/007981.html flogin: send term length 0 for MLX & other cases. flogin: remove sleeps, send -h should work, and lower send_human timers *login: set base send_human values and lower (faster) values where it was already set (clogin, complogin, etc), except flogin. rancid.conf: add DIFFSCRIPT knob dllogin, wlogin: handle -t option control_rancid: read rancid.conf sooner & fix handling group/ranicd.conf rancid-run: pass -f to control_rancid Fix the commit command used for -r - Jethro R Binks Updates to default mail headers for RFC3834 & MS - Jethro R Binks rancid.types: fix show config commands for cisco-wlc* ios.pm: filter line password on c2800s & c2900s - Ira Byerly add support for git. See the UPGRADING file. Based on Jeffrey C. Ollie's patch & thanks Dan Lowe, Job Snijders and a number of folks on rancid-discuss. rancid-cvs: add -f option dell.pm: filter up time from show switch control_rancid: svn cleanup after collection commits iosxr.pm: access-list/prefix-list sorting regex fixes ios.pm: access-list/prefix-list sorting regex fixes nxos.pm: filter ASIC/INTAKE cycling temps - Vincent Aniello panos.pm: convert panrancid to a module panlogin, panrancid: import palo alto network script from Doug Hughes jlogin: set tty width to 132 to avoid problems with cli complete-on-space, which fixes problems occuring when hostnames are longer iosxr.pm: access-list regex truncating lines - Peter Jackson rancid.pm: improve IP sorting, esp for IPv6 ios.pm: filter show flash & dir bytes free better ciscowlc: add filters for oscillating config & env o/p - Daniel Schmidt ciscowlc: convert Cisco WLC scripts to library import Cisco WLC scripts from http://www.shrubbery.net/pipermail/rancid-discuss/2010-February/004652.html *login.in; fix handling of empty lines in -x input - reported by lee.e.rian nxos.pm: recognize invalid command in ShowFex - lee.e.rian nxos.pm: does not set $proc - lee.e.rian nxrancid: convert nexus to module nxos.pm ios.pm: save "next reload" template - lee.e.rian tntlogin, tntrancid: remove TNT support par, hpuifilter: type fixes for Raspian compatibility - thanks Dan Anderson slogin: add switching login ios.pm: filter timestamp and size from filename "syslog" configure: complain if sendmail is not found control_rancid: DIR set too early clogin,ios.pm,iosxr.pm: escape plus (+) regex atom in prompt handling foundry.pm: remove rogue newline in regex - from P. R. Wilson Note Allied Telesis AW+ devices support, works as type 'cisco' according to Allied Telesis Employees fix handling of absent sendmail in configure script 3.1 Change rancid script exec(); move cmd-line options to rancid.types.* files. This allows older scripts to function without change, ie: needing to support -t. clogin: missing variable initialization - Per-Olaf Olsson ios.pm: filter fan speed setting on 2900, etc. fnrancid: fix filter match for encrypted pwd ios.pm: filter vlan traffic counters on gsr, 6400 & switches srancid: fix up time filter for dell 3448 ios.pm: some ASAs do not support show vlan ios.pm: bgp password filtering removing neighbor address rancid.types.base: dell definition missing inloop configuration rancid: display useful error if inloop is not configured dell.pm: missing variable declarations nxrancid: filter INTAKE temps and cycling file BufferMonitor-1HourData - reported by Vincent Aniello 3.0 add SENDMAIL variable to rancid.conf - requsted by Mariusz Kruk nsrancid,nslogin: Fix prompt and end-of-config-markers - from Jesse House confirmed by Tom Luong ios.pm: show flash on 867VAE w/ 15.3(3)M2 produces the same output as dir slotN: on "normal" ios, so filtering fials - reported by Reuben Farrelly ios.pm: change $type comparisons to eq - reported by Reuben Farrelly junos.pm: filter MX2020 fan speed ios.pm: update XE match for XE 3.11.00.S - Jan Rheindorf grancid: rename to rancid, now that the IOS script is converted and to reduce confusion. rancid.pm: fix syntax error hrancid: filter uptime from show stack - Alan McKinnon junos.pm: filter primary/secondary on SRX - Frank Eargle par: replace par with C version rancid.types.conf: allow multiple module lines for device type mrvrancid, francid: converted to perl modules hrancid: filter uptime from show version - reported by Rikard Ekman cloginrc: add prompt directive to workaround prompt special characters in login banners. Not supported by all scripts; just clogin, ATM. ios.pm: filter sflog file for cisco 10k alogin: match display private keys prompt - noted by majoosh chacko rancid.types.conf: add jlocal example base on Serge Malev's comment clogin: Extreme XOS >= 12.5 has a new prompt-like banner before the initial prompt, ignore it to avoid confusing location of the prompt rancid.types.base: add command show chassis hardware models nxrancid: filter Fan Zone Speed ios.pm: reverse logic of whether to 'show vlan', skip VTP clients f10rancid: skip . & .. *login: change -c handling of ;'s for escaping like \; rancid.conf: add MAILSPLIT to split large diff mail by kilobytes control_rancid: add group-specific rancid.conf file & supporting -f option nxrancid: filter snmp communities, tacacs keys and neighbor pwds - Alan McKinnon ios.pm: remove lpd neighbor passwords - Alan McKinnon ios.pm: remove interface dynamic addresses - Alan McKinnon nxrancid: add show (fex|module fex) - Alan McKinnon nsrancid: filter last modified lines - Roman Hochuli rancid.conf: add check for EUID - Matthew Walster & Ed Ravin control_rancid: allow MAX_ROUNDS to be zero - Alan McKinnon ios.pm: include 6500 sup-2t CPU info - Per-Olof Olsson fnrancid: filter oscillating certs - based on patch from Gavin McCullagh flogin: handle -S/do_saveconfig xrrancid: filter perpetually changing harddisk:ce_switch.log, a DDTS is open for this ios.pm: filter private-multiple-fs flash file found on APs - robert drake ios.pm: Removing "AC Revision" from UBRs and some others - robert drake ios.pm: GC unused old 7000 series code from ShowEnv - robert drake arrancid: Parse power supplies with no power, Skip free flash space altogether, Optionally include the ribd running-config, Skip the "Time:" comment in "show running", Delete a bunch of cruft left over from IOS rancid copy, Include diffs of unsaved changes, if there is a difference between startup-config and running-config., Handle the common practice of putting the time in the prompt. - Bill Fenner hrancid: ignore disclaimer from show tech transceivers starting with procurve 2610 R11.98 - Mika Tiainen ios: skip the "^" line that preceeds invalid input consistently merge compass branch comprancid: fail on command premature exit/failure in show config comprancid: fail on read failure in show inventory comprancid: add recognitin of EOS 1.1 end of config marker nlogin: add code to filter more prompts in run_commands. no complaints from users; hope this is right as I have no way to test it. hpuifilter: New HP2920-switches use [6n (ansi u7) - Per-Olof Olsson ios.pm: some c3750 stack-specific clean-up - Terry Kennedy ios.pm: add show switch detail, show sdm prefer, show system mtu - Terry Kennedy anrancid: fail collection on TCL traceback grancid: add -h cloginrc(5): remove - from method port example and note that ssh can also take a port argument. hlogin: do not use hpuifilter for interactive - Per Olof Olsson nxrancid: fail collection if show debug times out - Daniel Schmidt rancid, ios.pm: correct strings comparison operator - Vitaly Nikolaev hlogin: match Login Name for radius client w/ old code - David Byers f5rancid: filter auth-password-encrypted lines, which oscillate clogin: match "username" prompt, lowercase u fix install of rancid.types.conf ios.pm: fix INPUT reference implement grancid and rancid.types.{conf,base} collection configuration stuff. rancid, ios.pm: kill rx/txspeed on cellular modem cards cloginrc: add enablecmd directive, for clogin - Jason Greenberg lg.cgi: add cisco ios xr specific commands francid: filter new uptime on netiron switch fabrics - Roman Hochuli hlogin: add Login (capital L) as default login prompt - Johan Ryberg rancid,ios.pm: update ASA/PIX pre-shared-key format - Michael Hertrick *rancid: pass (INPUT,OUTPUT,$cmd) to filter functions rancid::base renamed rancid Add lib/ and bin/grancid to the build process *rancid: add -t option for rancid-fe to pass the device type from router.db. Mainly for grancid, but pass it to all scripts. router.db,rancid.types.*: change field separator to ';' (semi-colon) to allow for IPv6 addresses in router.db and avoid conflict with :s in device commands and perl module names *rancid: few variable name changes to match rancid::base arrancid: summarize flash remaining space jrancid: show version can terminate abnormally when unable to communicate with a daemon nxrancid: improve power supply wattage filtering further nxrancid: improve power supply wattage filtering - Zenon Mousmoulas jlogin: set cli screen-width to prevent cli from mucking with the command line in irritating ways - Jay Borkenhagen xrrancid: adjust for ARS9k RSP440 show version format anrancid: add arbor networks module *rancid: add the -C option rivlogin,jlogin,fnlogin: command-line option clean-up mtlogin: fix cloginrc timeout handling & clean-up command-line options xrancid: capture more info from show switch. xrrancid: filter changing files (*_cont) from nvram:. rancid: ignore "Load for five secs:" and "Time source is NTP" lines. rancid: remove LISP-MapCache files; fix date removal for dhcp & vlan.dat files in flash. nxrancid: delete the line with the "^" from the "Invalid command at" errors. hlogin: add "username" to prompt match for Cisco ACS 5.3 - Skye Hagen rancid: Filter issu_loc_lock and volt_cont files nxrancid: try to get show env power output to line up better. hrancid: ignore unrecognized command for "show system( |-)information" xirancid: xirrus support - Aaron Smith jrancid: filter $9$ at the FILTER_PWDS=YES level rancid: include fans in ShowEnv - Affa Pan fnlogin: correct check for ssh port setting - Robert Blayzor rancid: adjust snmp community filter for ASA version >=8.x - Skye Hagen Add MAILOPTS variable to rancid.conf - Matej Vela share/Makefile: missing MAIL* variables in sed script - Aaron Smith jrancid: distill used subscriber licenses to a percentage, else its forever changing. nxrancid: nx5000 generates spurious 'Permission denied' error for 'show debug' if command authorization is used - Per-Olof Olsson nxrancid: remove cisco ios residuals - Per-Olof Olsson hlogin: add "--" in comment to prevent older expect/tcl from interpretting "-," as an option. !@#&!#$ rancid, xrrancid: add KB to disk/flash bytes free filtering xrrancd: also filter temp_static_data rancid: filter LISP cache file number, size and date on IOS-XE LISP EFT and filter dhcp db and vlan.dat in the same manner, instead of removing clogin.1: note not using [#>] in prompts xrrancid: additional file filters for 4.2 hpuifilter: dont use memcpy for overlapping regions - David Byers 2.3.8 rancid: filter sup-bootflash if sup-bootdisk worked *login: fix match of (yes/no) prompts from ssh rancid: carry-over additional inventory filtering from XR 2.3.7 xrrancid: change some "admin show" sorting to reflect previous code xrrancid: filter useless junk from show inventory mrvrancid: update ShowChassis() for temp filtering in new s/w nrancid: installed memory on Juniper SSG series - Steven Bertsch rancid: missing CR after s/n xrrancid: admin show variables boot clean-up - Per Carlson xrrancid: add admin show install summary, license - Per Carlson xrrancid: fix access-list formatting & sorting rancid: collect show capture & shun for ASA - Josh Ward xrancid: misc patches for XOS - Zenon Mousmoulas rancid-cvs: svn repository handling improvement - Zenon Mousmoulas rancid: filter WPA passwd - Pavel Korovin rancid: add 'show running-config view full' for role cli - Pavel Korovin rancid: filter ppp hostnames (aka usernames) - Pavel Korovin *login: update host key change match for newer ssh clogin: disable pager for XOS-12.3 - Zenon Mousmoulas rancid.conf & control_rancid: support arbitrary subversion URLs as (pre-provisioned) repositories and do not overwrite an existing local repository - Zenon Mousmoulas rancid.conf: add LC_COLLATE - Daniel Schmidt nlogin: add identfile support - Garry Shtern hrancid: match 'logout' in new procurve versions for end of run hrancid: include comment line for procurve parser - Per-Olof Olsson hrancid: collect show config status - mostly from Per-Olof Olsson nxrancid: add show environment fex all fan cmd - Deny IP Any Any *login: dont split $sshcmd nxrancid: Nexus 4000s don't support 'show environment power' - Lee xrrancid: add admin show running - Troy Boudreau arancid: /info/sys -> /info/sys/dump - Tim Frost rancid: correct isakmp key filter - Pan Affa clogin; set terminal width to 132 for both -s and -c clogin: respond to ASA's pager in long login banners - Lee clogin: set terminal width to 132 rancid: match flash memory on likes of Cisco 2811 and 2621XM - Pan Affa import share/rancid-cvspurge - Matthew Grossman rancid: add 'dir /all sup-bootdisk:' for 6500 sup32 - Lee rancid: adjust regex for tacacs key match - Pavel Korovin *login: join sshcmd clogin directive to handle spaces properly mt{login,rancid}: import Microtik module from Chris Boot rancid: ppp password missed on dialer interfaces - noted by Hirofumi Katou arancid: filter "esecret" lines which change with each config display - Ton hlogin: logout from enabled mode instead of exit for -S - Thorsten Hahn hrancid: collect show config files and show tech transceivers - Thorsten Hahn rancid: filter config timestamp on MDS/NX-OS avorancid: collect power management file - from Darius Jan Seroka fnrancid: correct comment character - noted by Gavin McCullagh fnrancid: update system time and conf_file_ver filters - Gavin McCullagh nxrancid: do not require 'show system redundancy status', apparently unsupported on some nexus models. clogin: set terminal width for -c and -s hlogin: stacks prompt for switch number or CR at login, send CR - Per-Olof Olsson 2.3.6 rancid.spec: updated for 2.3.6 - from Florian Koch rancid: fail on error opening nvram: rancid: skip ASA 5520 configuration author line control_rancid: for svn stupidity, run update (yes update) and commit after setting svn:ignore, else . is out of date. rancid: filter auto "rogue ap" configuration - Kevin Nesbitt alogin: adjust match of active alarms msg at login jrancid: patch for master/backup matching on EX series - Sven Engelhardt rancid: update cisco WAE identity string match - from Jim Hock {xr}rancid: summarize DirSlotN() bytes free as GB, else MB. rancid: filter sflog from DirSlotN() for IOS on cisco 10k fnrancid: update recent fortinet software - Diego Ercolani rancid: ignore show flash on IOS XE - Marcus Stoegbauer rancid: copy the dhcp database filter to ShowFlash() - From Lee clogin: Fix pasto in IOS terminal width command. hlogin: -r missing from usage o/p - Per-Olof Olsson clogin: add -r and passphrase/identfile from cloginrc - Per-Olof Olsson francid: remove system uptime line on CER 3000 - Simon Leinen 2.3.5 alogin: respond to active alarms msg at login - Vincent Tamet *rancid: update for grammar deprecated in perl 5.12 *login: handle noenable value consistently, '1' to turn it on configure: look for -n option to ping, for Windows ping (over cygwin) - From Lee rancid: missed case fpr accepting '>' prompt, rather than just '#' xrrancid: filter sequences from ipv4/6 access-lists zrancid: force terminal type vt100 so as not to confuse Linux francid: filter system uptime on new Brocades - Matthias Cramer rancid: filter ASA time-based license noise - Christopher DeRemer rancid: filter command in WriteTerm if echoed - Arjan Oosting configure: specifically look for ping in /sbin & /usr/sbin & fix typo in test operator rancid: handle a few IOS serial number formatting variants - Aaron Rees hpuifilter: change filtering to avoid use of string functions due to a Debian bug. Should be faster too. rancid: adjust show inventory matches for variables WS - Aaron Rees nxrancid: show environment clock and show core vdc-all are not valid commands on all platforms - Ryan West 2.3.4 nrancid: fix serial number matching - Nathan Wallwork nrancid: fix pager prompt filtering - Nathan Wallwork rancid: remove sequences from IPv6 prefix-lists clogin: adjust default ssh password prompt for ExtremeOS 12.3.3.6 - from Sylvain 74 rancid: Accept '>' prompt, rather than just '#' avologin: fix ssh command substitution - Ben O'Hara fnrancid: filter application signature, System Time & conf_file_ver= from GetSystem/GetConf mrvrancid: filter other oscillating info from show version - Ben O'Hara xrrancid: disable timestamps - from Per Carlson hlogin: implement -autoenable for newer hp procurve releases cat5rancid: snmp community may have multiple spaces b/t community name and permissions - from David Adam cat5rancid: filter local user password - from David Adam f5rancid: filter Failover time stamps - from Ben O'Hara hlogin: Add support for ssh identity file & passphrase for newer boxes rancid: split IOS-XR into its own device type: cisco-xr clogin: set term width for catos like for ios. rancid: parse admin show diag for XR better with a separate function hlogin: hpuifilter got omitted from the ssh spawn; replace it. nxrancid: match unknown command errors appropriately & GC some junk carried-over from IOS-rancid. 2.3.3 rancid: check for device busy when opening flash fails, which seems to occur on 6500s when some other command is run. *login: support :port method syntax for ssh and adjust to allow spaces in sshcmd jrancid: fix return values of formatting functions clogin: set terminal width so that o/p is consistent rancid: filter some crud resulting from the change in handling non-empty comment lines rancid: fail if the configuration buffer fills rancid: filter dhcp_[^[:space:].].txt from flash directories, so it does not create constant changes resulting from the ip dhcp database saves. rancid: filter ldap host password on PIX rancid: when compressing consecutive comment lines, only consider empty lines. arancid: handle password filter for HP 1:10Gb Ethernet Blade Switch 5.0.4-Base, running AOS - Tore Anderson *login: add cloginrc timeout directive nrancid: fix control number match - Guillaume RISCHARD rancid: remove ASA coredump* filter - Cisco Bug CSCsz85597, fixed in 8.2(1.2), 8.3(0.0), 100.3(0.3)M f5rancid: adjust fan rpm and config sync time filters for new f5 code - Ben O'Hara rancid: ACE/SANOS report invalid input differently - Michael Stefaniuc rancid: skip leading blank lines in config - Michael Stefaniuc rancid: remove ASA keys such as tacacs and radius - Michael Stefaniuc rancid: match non-space for usernames in "Written by" line - James Davis *rancid: quote meta characters - from Jeremy Singletary rancid: Fail on error msg "% Configuration buffer full" seen on 6500 rancid: Dont filter 'show vlan' on Catalyst 3550/4500s - Jon Lewis import Arista script - from Bill Fenner jerancid: fix for 'show environment all' for filtering with auto-sync on BRASes - from Christophe Fonteyne francid,flogin: edgeiron can not disable the pager and does not offer some commands found on the bigirons rancid: filter coredumpinfo/coredump.cfg found on ASA - rancid-discuss@ f5rancid: fileter HA peer status - from David Stipp WTI scripts from Geert Jan de Groot with a few tweaks jerancid: include standby slots in showversion o/p lg: add code for LG_SINGLE config knob clogin: run_commands() needs do_saveconfig f10rancid: change fan status parsing to handle c300 nxrancid: collect license info; fix 'show env temp' & 'show env power' parsing; drop unused code. change zero-config check to avoid broken awks - from jim buchele 2.3.2 clogin: fix for Extreme prompt handling nxrancid: delete Command: and Time: output f5rancid: install the script and use the device type 'f5' *login: accept -S for "save configuration if prompted" *login: remove uppercase versions of lowercase options tlogin: replace -debug with -d nlogin: cloginrc method handling and login error path fixes clogin: change "(enable)" and/or regex meta-char exscaping so that catalyst logins work properly. hlogin: run_commands exp_continueing when it shouldnt have jerancid: summarize DirSlotN bytes to reduce diffs rancid: catch aborted 'show diag' output on some 7300s. Bug found by Paul Vlaar. rancid: correct/add some filtering for ASA's more system:running-config srancid: filter temperature sensor info for Dell 6428 stacks hpuifilter: Filter \x07 (bell) from output, which the Cisco AGM suddenly started inserting *sometimes*. nxrancid: add "show version build-info". sort snmp-server user. rancid: filter filesize and date of tracelogs dir on IOS-XE rancid: summarize bytes free for IOS-XE like XR nsrancid/nslogin: updates for netscaler version 8 - Marco Schirrmeister f10rancid: updated support for all devices running FTOS: E-Series, C-Series and S-Series - Greg Hankins clogin: force10/SFTOS fixes for username & logout prompts - Doug Hughes f10rancid: SFTOS config end marker has trailing space - Marcus Stoegbauer mrvrancid: support for the MRV fiber switch rancid: collect GSR linecard route memory - Kritian Larsson clogin: new CSS configuration change prompt syntax - Kritian Larsson *login: add -- to other sends that take input from the user *login: terminate send options with -- to avoid interpretation of -'s in arguments - partly from Ric Anderson nxrancid: add support for cisco Nexus boxes; use type cisco-nx rancid: Skip "Cryptochecksum:" line on ASA, PIX, et al hrancid: K.13 s/w changed cmd 'show system information' - Richard Golier rancid: Spot yet another flash disk in show version output. rancid: Some support for Cisco Nexus. rancid: corrupted flash is not a rancid failure - from John Payne rancid.spec: Linux spec file - blame Steve Snodgrass rancid: changes for cisco SAN - from Mark Favas clogin: escape regex grouping atom '()' in the catalyst prompt - From Casey Deccio flogin: handle strange characters like space in prompt w/ the method from clogin for handling regex characters francid: filter SSL secret - From Jethro Binks francid: privlvl 5 does not allow write term, also run show running-config - from Jethro Binks *login: Return/exit non-zero if there are failures for any of the devices on the cmd-line. nslogin: password prompt change in newer code - from Derek Andree hlogin: reformat the prompt matching in run_commands() like cisco, which fixes -x and -c usage in configure mode. avorancid: Avocent (Cyclades) module - from Stephen Griffin f10rancid: updated support for all devices running FTOS: E-Series, C-Series and S-Series - from Greg Hankins jrancid: don't look for passwords in system login class XX permissions [] jrancid: additional filter for M320 rancid: ignore author failure for some data that are collected by different commands and succeeded the first time - from David Luyer *login: add -d to enable expect's debugging configure: make svn fs-type configurable with --with-svn=fstype xrancid: Correct the $prompt regex mangling for XOS - from Tore Anderson f10rancid: E-series support updated - loaner & clues from Greg Hankins rancid: Convert disk/flash free space to MB (from bytes) for IOX/IOS XR accept NO & YES for NOCOMMSTR in rancid.conf Add ACLSORT configuration knob - mostly from Michael Stefaniuc cat5rancid: permit missing CRLF on exit - Michael Stefaniuc cat5rancid: skip show inventory for those without - Michael Stefaniuc agmrancid: show diag can fail shortly after boot rancid: radius/tacacs key filtering on old IOS - from Michael Stefaniuc rancid: Add AS5xxx support from Andre van der Merwe. Changes so the RANCID-CONTENT-TYPE is the same as the documented entry in router.db.5 and the same as the call in rancid-fe. These RANCID-CONTENT-TYPEs changed: brancid from bay to baynet cat5rancid from cisco-cat to cat5 cssrancid from cisco-css to css erancid from adc-ezt3 to ezt3 fnrancid from Fortigate to fortigate hrancid from hp-procurve to hp jerancid from Juniper_ERX to erx srancid from dell to smc f5rancid: F5 BigIPs srancid: SMC/Dell switch support - loaner from Randy Bush *login: Set variables for do_login when both -e and -p/-v are specified - reported by A Dudek *login: recognize the environment variable CLOGINRC, see clogin(1) agmrancid: Cisco AGM/Anomaly Guard Module francid: drop fan speed o/p from show chassis - John Adams clogin: match Cisco CSS's "save config?" prompt - Lance Vermilion jrancid: include show system core-dumps - Michael Lyngbol rancid: filter empty 'show inventory' fields - from Michael Stefaniuc *login: If we timeout while trying to quit in run_commands(), close the connection (ie: file descriptor/tty) gracefully. - from Ed Ravin, adjusted to catch the close. jrancid: Adapt M160 PCG freq rounding to new format - noted by Mark Davis rancid: collect flash size on the FWSM - from Aaron Gee-clough francid: Fix temperature/show chassis filtering for newer Foundry boxes - noted and tested by Gary Roberts rancid: fix Cisco 3825,3845 show version parsing - Michael Stefaniuc clogin/hlogin: use send -h for exit command - Michael Stefaniuc clogin: Answer F10's "unsaved changes" logout prompt - Colin Corbett f10rancid: "Current Conf" begins with ! in recent code - Colin Corbett francid: sort intf "secure" MACs, order fluctuates - noted by Brad Volz francid: filter temperature o/p on the SuperX - Brad Volz convert rancid-fe vendor list to a hash - suggested by Ed Ravin. rancid: new format for PIX 7.0 license string - Aaron Gee-clough rancid: check for 7300 type of routers clogin: older CatOS for 1900s has a CR after the pager prompt clogin & xrancid: Extreme XOS prompt format changed - Tore Anderson User a .cvsignore file to prevent non-cvs'd control files from appearing in cvs update output. rancid: include _ in IOS version strings clogin: reduce the number of leading prompt characters used in run_commands to accomodate change seen in cat6500 12.1(13)E14 - Charles Aresenault hlogin: fix ssh hanging on press any key prompt - Ryan Mooney rancid: more support for HFRs nlogin: fix missing -re option for password matching - Jee Kay lg: fix quoting of juniper command arguments - Richard Doty rancid: also match _ in software image names - Stafford A. Rau nrancid: fix config comment character & more filtering - Stoned Elipot hlogin: look for the 'press any key' prompt after ssh authentication, unlike telnet, where it appears before authentication. hpuifilter: allocate a pty to interact with ssh/telnet, so that we interact with ssh for the password exchange. WARNING: repeated ssh login failures to HP Procurves cause the switch's management interface to lock-up (this includes snmp, ping) and sometimes it will crash. This is with the latest firmware; 5.33 at the time of this writing. *rancid: check hostname, or filename, before opening the output file. rancid: better filtering of {tacacs,radius}-server - Patrick Adlam rancid: better filtering of PIX pager prompt - Aaron Gee-clough rancid: collect show debug - Ed Ravin add subversion support - mostly from Justin Grote clogin: support rsh method - partly from James Stahr collect show inventory raw on rancid and cat5rancid add -ko to cvs diff commands - Michael Shields Add a MAILHEADERS configuration variable for user-defined mail headers rancid: match HSRP group numbers greater than 1 char wide - Ed Ravin nrancid: filter radius secrest - Jee Kay *rancid: collapse the two command list definitions to an array of hashrefs and build the lists from it - Ed Ravin *login: ignore rsh on platforms that do not support it and on those that do (eg: cisco), skip rsh for interactive and script (-s) logins. add MAX_ROUNDS rancid.conf knob - Mardechai Abzug control_rancid: fix adminmailrcpt default - Danny Thomas rancid: correct handling of SNMPv3 host configs - Patrick Adlam rancid: filter nv_hdr file seen on sup720 - Bill Ouchark etc/Makefile.am: support DESTDIR - from Michael Shields rancid: add IOX/CRS support. hrancid: show stack does not apply to all procurves - Eugene Zagrebelny flogin: older foundry o/s has misc spaces preceeding : in username prompt - from mike ethridge A better nlogin & nrancid for NetScreens - help from Stephen Gill jerancid: case fluctuates in "active/standby" - from David Gethings jerancid: filter "please wait" from config - from David Gethings jerancid: filter consecutive periods at top of write term - mark cooper jerancid: fix check for slave RE sync in DirSlotN - from Mark Lovely rancid: collect 6500's sub-module info from show modules jrancid: collect license info & RE Model. Don't collect the license keys as this is only supported on the jseries and running 'show system license keys' on other junipers produces output from *two* commands - 'show system license' AND 'show system licensekeys'. rancid: erroneous space in shared-secret match - from Blaz Zupan nrancid: fix missing brace - from David King lgform: need strftime from POSIX - from Joao Frade rancid: filter multiple-fs file - from Yuval Ben-Ari cssrancid: make this parse the collected output properly rancid: filter & sort IOS AP username passwords - noted by Stafford Rau rancid: parse more variants of 'show diag' output. 2.3.1 jerancid: fail/retry if the RP is syncing to the backup - Dave Mack clogin: cat 19k lacks a space in front of pager prompt - darren @ adam nlogin: correct find(sshcmd) argument - from Samuele Giovanni Tonon lg.cgi: allow :s in arguments for sub-interface from Richard Doty jrancid: filter some more secrets rancid: filter some more secrets francid: bits for Mucho Grande - from Niels Bakker add -- before (telnet|ssh) in call to hpuifilter so that any options for telnet/ssh are not interpretted by hpuifilter look for diff -U if diff -u fails in configure. fix typo in nlogin that made cloginrc password lookups fail. 2.3 The following files have been moved to make rancid more install/pkg/port/rpm friendly. *** bin/env has been moved to etc/rancid.conf *** *** bin/hpfilter has been renamed hpuifilter *** *** util/lg/lg.conf has been moved to etc/lg.conf *** *** util/lg/lg*.cgi have been moved to bin/lg*cgi *** *** bin/create_cvs has been renamed rancid-cvs *** *** bin/do-diffs has been renamed rancid-run *** Note: existing configuration files are *NOT* copied/moved for you bin/rename is no longer shipped with rancid rancid.conf: add MAILDOMAIN knob - from David C. clogin: allow the port to be specified for method ssh jlogin: add cloginrc passphrase directive and order of precedence is cmd-line -r value -> passphrase -> password xrancid: do 'show diag' instead of 'show diagnostics' as the longer version has sometimes timed out. rancid: filter file vlan.dat from show flash on IOS switches rancid: parse cisco 1760's DSP slot show diag output francid: reorder listing of ports in a vlans - from Niels Bakker and Steven Bakker clogin: disable session logging w/ -c on catos - from Jason Ornstein rancid: add Processor ID to save output *login: handle TCL meta-characters in cloginrc directive values francid: correctly parse modules in slots >= 10. from Niels Bakker run cvs delete code even when router.db is empty. Riverstone/Enterasys updates from Andrew Fort rancid.conf: add LOGDIR variable - see rancid.conf(5) rancid: add show spe version and parse FRU show diag output - from Yuval Ben-Ari. add option --enable-adminmail-plus to configure jrancid: collect show chassis alarms rancid: skip show vlan for (3550|4500|7600) - from Andrew Fort rancid: collect 6500 slave sup bootflash - from Andrew Fort rancid: show diag updates for 1700, 3700, etc - help from Michael Haba The Extreme does not have an 'enable' level, so make sure you have 'set autoenable' for it in your .cloginrc so clogin will work. add Cisco CSS support - from Wedge Martin *login: add cloginrc sshcmd directive - idea from steve neighorn rancid: IOS show version changes w/ 12.3 - from Yuval Ben-Ari support for hitachi routers - from Mohacsi Janos strip WS around router.db fields - from Alastair Galloway add goveling of 2600 mainboard port adapter info *login: also check LOGNAME for default username - from Fredrik Thulin jerancid: add matches for "Please wait" to all functions - reported by Dave Mack fnrancid: Fortigate support - from D. Pfleger nlogin: Fix prompt groveling when running a cluster - from D. Pfleger nrancid: filter "set admin user" - from D. Pfleger rancid: do both 'write term' and 'show running-config' and keep the output from the first one that works. As cisco phases out 'write term', this will keep things working. jerancid: filter host ... ftp, encrypted passwords oscillate - reported by Dave Mack. rivlogin: add "User:" as a possible username prompt (u_prompt) for some platforms - from Adam Rothschild cat 3500 s/n and pix failover license - from Rob Evans recognize cisco ContentEngine - from Rob Evans Juniper ERX (jerancid) support, based on 5.0 - thanks to Dan Pfleger, Richard Russman, Zaid, Mike Baker, and Mark Nguyen rancid: drop the "suggested action" portion of GSR LC/RP ROM upgrade warnings. Cisco keeps changing the format; it just is not worth the aggrevation. study causes missed command somehow in redhat9 - from David King filter port security mac entries, from Arnold Nipper add Procket Networks support, "prancid" filter ipsec keys in rancid & jrancid. rancid: collect show idprom backplane (6500 cmd); this could collect more - request from jared mauch rancid: order all 'ip host' commands. rancid: collect show rsp chassis-info rancid: filter HSRP auth and SSA key-string reversable passwords lg: set query/command list in lg.conf, thus allowing individual cmds to {dis,en}abled, and add some multicast and ipv6 queries all of which are disabled by default (for lack of testing) - from Janos Mohacsi cat5rancid: collect 'write term all' for cats that support it - tested by terry kennedy and joe rizzo cat5rancid: regularize escaping of regex operators in switch prompt nsrancid: include "get log setting", as suggested by gael canal. add manpage note about log_user with -s, from mail list discussion xrancid: Handle end of ssh connection a bit better. jrancid: skip master/backup re msgs *rancid: escape regex chars found in prompt xrancid: also collect 'show configuration detail' hlogin: allow the port to be specified for method ssh and add path to hlogin to env(PATH) for locating hpfilter hpfilter: allow >2 arguments so that telnet port number can be passed. rancid: gsr RP slot warning is only 1 line - Russell Heilling add zrancid to handle zebra routing s/w add riverstone support - from Jim Meehan. thanks to Hong Luo for access to a riverstone to test. Kevin Chan reports that this works for Cabletron routers with more recent s/w (~v9.0.3). jrancid: fix handling of reversible keys such that trailing text is not removed rancid: slave/redundancy stuff - from stephen griffin rancid: show version bootstrap format changed in 12.0(23)S rancid: make sure we filter PIX pager prompts xrancid: make xrancid work when the extreme has pending changes. netscaler support - from Anshuman Kanwar. netscreen firewall support - from Stephen Gill rancid: include additional cpu info from show version in !CPU: line. lucent tnt support - from Richard Vander Reyden rancid: skip consecutive comment lines. on some access servers the number of comment lines oscillate. lg.conf: add LG_STYLE variable for style sheet - from Janos Mohacsi also install the FAQ - good idea from Janos Mohacsi's freshport rancid: filter 'cable shared-secret' 2.2.2 *login: fix handling of userprompt et al so that {}'s are used in .cloginrc as they are with every other .cloginrc directive. f10rancid: Fix to pick up new info in show version output. jrancid: Ignore Timecounter "TSC" in show system boot-messages output. rancid: filter tty line speed when configured for auto-configure flogin: bring login() and do_enable() in-line with [cj]login. also match "telnet server disabled" - from brad volz. control_rancid: report devices added to router.db - from Fredrik Thulin also eliminate empty up/down lists. rancid/jrancid: filter isis passwords - partial from Janos Mohacsi lg: make o/p from the lg stream (unbuffered), so one doesnt have to wait for entire o/p from the router in a failing traceroute, for example. suggestion and clues from alexander koch. while here, fix cache handling so 1) it doesnt cache cmds that resulted in an error or otherwise failed and 2) log and run the cmd as normal if there are problems opening a cache file. lg: make logging more consistent. log as defined by LG_LOG if possible and stderr as last resort. it was logging largely to stderr. and make exit-code small (instead of 255); some wait()s only look at the first 3 bits lg: add check in lg.cgi that router name appears in the router.db and is thus accessible. from richard doty. also fix-up a few comments and such. rancid: GSR LC PCA h/w revision now called "design release" on some platforms. CSCdw13295 add util/getipacctg example script - contrib from steve neighorn 2.2.1 rancid: npe400 cpu eeprom info o/p format changed in 12.0.21S1 - spotted by tom campbell fix problem in *login where if there was a login failure we would try to disconnect gracefully (albeit incorrectly). writing to the half-closed socket would not return an error (at least on some platform/expect combinations or even consistently) and expect would hang. add device name to diff mail subject when -r is specified add -m option to do-diffs and control_rancid to allow specific mail recipient. intended for use with -r to trigger diffs off specific events. router.db(5): note that PIX is a 'cisco' - thank kris gulka *login: match openssh prompt for host key to ip key mismatch rancid: add disk/slot2 rancid: 12.2 show c7200 o/p for midplane changed lg: use table inet.0 terse for sh ip route on juniper instead of forwarding-table destination rancid: 12.0S(21) added "FRU" field in show diagbus output. Also look for a couple more things in some show diag output and sort the output a bit better. Also look for 'controler' (cisco can't always spell - thanks to Terry Kennedy for spotting the misspelling). lg: filter ["`'] from args rancid: fix username secret filtering alogin: misplaced brace caused improper return from proc login relax the check ping and traceroute check of hostname arguments such that non-fqdn hosts are allowed. i.e.: just check that arg chars are valid dns chars and leave the resolve errors to the router. Add initial support for Force10. 2.2 rancid: filter vpdn passwords on PIX - from eric greenwood *rancid: handle variable amounts of spaces in front of ' password' correctly. rancid: remove key from "crypto isakmp key". *login: cleanup login() to be more generic and handle openssh password reprompting clogin: fix clogin -x for config mode by adjusting the prompt regex lg.conf: add LG_INFO to append local information to the main form {cat5}rancid: add dir of sup-{bootflash,microcode} for 6500 *rancid: print $host before "missed cmds", "unexpected command", and "End of run" messages. cat5 module type match failed when user module name contained spaces add FILTER_PWDS switch to env(5) add merit MRTd support add -r option to do-diffs and control_rancid brancid: handle []'s in bay prompts and drop lock-address from config - from mark cooper extreme: strip password if config|configure. Strip ^M right after ssh key. Look for BOOTLDR: on ciscos. add par.1 manpage allow a TCP port suffix to telnet in .cloginrc - from Alex Bochannek Fixed RANCID-CONTENT-TYPE to be more consistant. Changes are brancid bay cat5rancid cisco-cat erancid adc-ezt3 jlogin should not look for username@router in .cloginrc filter foundry ssh private key filter '#Time" from catalyst 4 write term display platform specific command in lookingglass results - patch from Janos Mohacsi add support for HP procurve switches, in particular 2524M and 4108gl. thanks to hp for the loaners. filter encrypted passwords on alteon as the change for each display More support for Redbacks. rancid now looks for "[kK] bytes" and "slot|disk". clogin now looks for "login:" as well as "Login:" and escapes "[]" in $prompt. 2.2b8 add PAR_COUNT variable to bin/env for adjusting the number of simultaneous collections. see bin/env (or bin/env.new for those with previous installation) and the env(5) manpage. more work on extreme switch bits + fixes from Alex Bochannek. jlogin: add 1s sleeps to avoid passwords being echo'd before tty noecho is set. richard doty few looking glass fixes brancid: filter uptime and add -all option to config for bayrs version 14. from mordechai abzug jrancid: m160 measured chassis clock MHz fluctuates, trim the decimal places. from Mark A Gebert. par: -x fix for log file monitoring killing xterms. from rdrake. 2.2b7 brancid: patch to filter community strings from Mark Cooper do-diffs: trap'ing SEGV (11) causes error on solaris. 2.2b6 baynetworks/nortel support from Mark Cooper. thanks mark! jlogin was overloading -p's variable causing proc login to fail on 2nd router on cmd-line 2.2b5 fix regex error in clogin affecting catalysts clogin attempts to grope entire prompt after login *login need to catch{} -x cmd file open so expect doesnt puke if there is an error opening the file 2.2b4 add extreme switch bits cisco changed the o/p fmt of h/w info on the 65xx in 12.1.8e PIX520 supplies different more(1) prompt than others. from William R Thomas. fix typo in jlogin. from richard doty. add 2 example expect script for clogin -s handle foundrys and more juniper bits in the lookingglass add LG_STRIP knob to strip login o/p in the lookingglass add LG_BGP_RT knob to {dis}allow heavy o/p sh ip bgp neighbor LG cmds bin/clogin shouldnt insist upon an enable password with -noenable option 2.2b3 bin/rancid changes for cisco 124xx some serial controllers (PAs) have predefined cable-type in show controllers. M8T-V.35 was being missed. modify jlogin to grope the full prompt after login such that -x can be used within configuration mode. note: this turns $prompt into a regexp, WRT -s scripts and -re option for expect's. add -Evar=x option to pass variables to scripts. e.g.: clogin -Evariable=something router... clogin -Evariable=a,b,c [i.e.: an array/list which user splits] 2.2b2 fix jlogin's password/userpassword functionality which broke when cmd-line options were made consistent. add check for config/* files missing from the cvs repository. add 2 juniper config checks to avoid truncation. 1) config should have at least 1 "section" amounting to at least 3 lines and 2) if a mgd version mismatch exists, there may be inaccuracies. convert usage of Mail to sendmail for portability. local .mailrc aliases can no longer be used. bin/alogin and changes (of beta quality) for Alteon WebOS switch from andrew fort. Check for more types of cisco 12000s. Also check for 2600s. jrancid's show chassis hardware needs detail arg in junos 4.4 make *login print \n before errors, so rancid can use an anchored match to find login errors and avoid such matches in router o/p. make *login automatically add host keys with openssh's prompting All routers not listed as 'up' in router.db are considered down. This allows values other than down to mean 'not up'. for use by util/downreport. 2.1 Change default umask to 027 (it was 007) mainly as an attempt to stop people from changing stuff in rancid's CVS store. Only rancid should be updating its CVS store. control_rancid cvs updates router.db before starting a group's collection. configure now has a --enable-mail-plus option to have rancid send mail to rancid+$GROUP instead of to rancd-$GROUP. Patch from davidw@certaintysolutions.com. configure should figure out diff options on it's own. try to get default user from env() and catch exec on id in *login make clean/distclean was missing some files make sure do-diffs cleans up after itself if it exits prematurely ignore case when cvs delete'g removed routers francid/rrancid (foundry/redback) now strip snmp communities like the others, via NOCOMMSTR var in bin/env. add man pages collect 'sh vlan' on cat 6000 - afort@choqolat.org Add 'show vtp status' for the 3500XLs as well. Escape regex meta-chars found in device prompts in *rancid Add "include" directive to include other pwd files via .cloginrc Add "show port ifindex" for the cat5s. Try to detect flash being busy on a cat5. Tag each config file with its 'type'. E.g.: !RANCID-CONTENT-TYPE: cisco fix from afort@staff.webcentral.com.au to lg.cgi to allow prefix-list with numerals. fix lg form's formatting (on some browsers/conditions). Thanks to rrashid@verio.net for the html help. 2.1b add looking glass utility based on Ed Kern's original source. Thanks to Ed for permission to include it with rancid. this is only partially tested. fixed expect foo in *login when .cloginrc is unreadable. Don't sort 'ip name-server' - order matters. 2.0 Better formatting for cisco catalyst [non-ios] switches. Better support the cisco 3500 switches. Get some info out of "show version" for the cat5ks. cat5k "show boot" does variables, not bootflash. Skip more goo from 'write term' on some cat5ks. Collect 'show module' for 6500-ios. Revamp *login's use of .cloginrc's method directive. see cloginrc.sample. Add bits for Cisco PIX. Thanks to joe rizzo@EA for access to a PIX. Sort usernames on ciscos. Get more info out of "show diag" on the GSR. Add "show chassis sfm detail" for the M160. Leave router type in place when telling about changes to router.db. Add autoconf (configure) and makefile bits to automate install and perl/expect replacement 1.6 Add "dir nvram:" to rancid. Add support for ADC EZ T3 mux. adapted from tkenndedy@verio.net's contrib. strip (try to) snmp community strings from cisco and juniper configs if environment variable NOCOMMSTR is set. merge tkennedy@verio.net's support for cisco 2900xl into rancid Ignore "fan spinning at" noise on junipers. 1.5 sync command-line option between clogin / jlogin. jlogin modified: -x passphrase -> -r passphrase -> -x command-file -e encrypt type -> -y ssh_chyper_type add .cloginrc noenable directive to set the cmd-line -noenable option. add .cloginrc userprompt, passprompt, and enableprompt directives to adjust expected cisco router prompts in clogin. see README for info on web interface to rancid CVS repository. Try to detect hung rancid jobs & send email. Add (partial) support for the cat5s. Still need more work on the show output, but it does grab the config. Skip the juniper's kernel version, memory, and fsck output of "show system boot-messages" - fsck output changes every time you boot and the version & memory is better found elsewhere. Delete the cisco ospf authentication and ftp passwords. Get both (juniper) show chassis ssb and scb but only process them once. Get info from show diag for 2600s as well. Catch juniper "command is not valid on the olive" errors. Catch juniper config mismatch between versions of JUNOS. Catch close on EOF in clogin/jlogin/flogin. Don't expand RCS keywords in config files. Catch the case were rancid gets and error and leaves an empty new config file. Make the time to elapse before complaining about unreachable routers be configurable instead of fixed at 24 hrs. The default is now 4 hours. Add -x passphrase to jlogin. You can now set a ssh identity file in .cloginrc for use with jlogin. Handle more errors in jrancid. Also handle changes for JUNOS 4.0 and collect "show system boot-messages" output. rancid now recognizes cisco 12016s and more types of 7200s. It also looks for WARNING messages in show version. And sort ip explicit-paths. 1.4 sort cisco route-maps added (crude) foundry switch bits reworked code to reduce jumps. improvement in speed/cpu util. add bits to cvs delete configs which have been removed from a group's router.db. add support for redback. modified from contrib by scao@verio.net. add support for ssh in clogin modify format of the admin up/down/delete'd msgs. add NOPIPE bin/env var order ARP lists in cisco configs 1.3 update comments re: mail aliases in bin/env add more info/clarification to README for install. 1.2 add more info/clarification to README for install. rename .cloginrc.sample -> cloginrc.sample. clogin patch (courtesy stephen stuart); does two things: - adds a "-x" switch that takes lines from a file and does the same thing as if you'd specified ;-separated commands with -c (newline separates commands). thanks to stephen stuart. - does a subst on commands in run_commands so that expansion of escapes is performed; e.g. you can say "copy rcp://blah slot0:\r" to answer the question that comes after the copy command.