Up to [cvs.NetBSD.org] / pkgsrc / net / rancid
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
net: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Not committed (merge conflicts...): net/radsecproxy/distinfo The following distfiles could not be fetched (fetched conditionally?): ./net/citrix_ica/distinfo citrix_ica-10.6.115659/en.linuxx86.tar.gz ./net/djbdns/distinfo dnscache-1.05-multiple-ip.patch ./net/djbdns/distinfo djbdns-1.05-test28.diff.xz ./net/djbdns/distinfo djbdns-1.05-ignoreip2.patch ./net/djbdns/distinfo djbdns-1.05-multiip.diff ./net/djbdns/distinfo djbdns-cachestats.patch
net: Remove SHA1 hashes for distfiles
Update net/rancid to 3.6.2. Patch supplied by coyhile in joyent/pkgsrc#2. Changes since 3.6.1: 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 <group>/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 <group>/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
rancid 3.5.1: hlogin: missed an ssh -c option among the clean-up
rancid 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 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 ciscowlc.pm: filter rogue client config that are added/removed automatically 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 <CR> after logout 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 flogin: eat spaces followed by ^H login_top: move variable initialization so it doesnt override env()s foundry.pm: ignore invalid command errors in inloop found on Ironware 5.5 for MLX srancid: filter oscillating file aaafile.prv 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. mrvlogin, mrv.pm: fixes for MRV Optiswitch devices 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). nxos.pm: fix PS wattage filtering 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 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 iosxr.pm: fail on temp error in admin show install configure: fix mktemp variable inconsistency 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 control_rancid: test -e -> -f for old shells hpuifilter: missing include for solaris ios.pm: recognize aironet in ShowVersion & filter counters in ShowVlan 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
*** empty log message ***
Add SHA512 digests for distfiles for net category Problems found with existing digests: Package haproxy distfile haproxy-1.5.14.tar.gz 159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded] da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated] Problems found locating distfiles: Package bsddip: missing distfile bsddip-1.02.tar.Z Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2 Package djbdns: missing distfile djbdns-cachestats.patch Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch Package gated: missing distfile gated-3-5-11.tar.gz Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz Package poink: missing distfile poink-1.6.tar.gz Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch Package waste: missing distfile waste-source.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
3.2 - 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 - add .old to configs/{.cvsignore,.gitignore}; see control_rancid.1 - rancid.pm: rework IP address sorting - 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 - 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 - update lg for router.db delimeter change - rename slogin to plogin (poly-login), as slogin collides with ssh pkg - 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 - Updates to default mail headers for RFC3834 & MS - rancid.types: fix show config commands for cisco-wlc* - ios.pm: filter line password on c2800s & c2900s - add support for git. See the UPGRADING file. - 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 - panos.pm: convert panrancid to a module - panlogin, panrancid: import palo alto network script - 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 - 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 - 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 - nxos.pm: recognize invalid command in ShowFex - nxos.pm: does not set $proc - nxrancid: convert nexus to module nxos.pm - ios.pm: save "next reload" template - tntlogin, tntrancid: remove TNT support - par, hpuifilter: type fixes for Raspian compatibility - 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 - Note Allied Telesis AW+ devices support, works as type 'cisco' according to Allied Telesis Employees - fix handling of absent sendmail in configure script
Don't use comments in the middle of a multiline statements.
Remove the installation of rancid.types.base for good
Fix PKG_SYSCONFDIR handling for rancid.types.base. Bump PKGREVISION.
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 - 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
This version introduces a few new features that we hope to expand upon in future releases, the most prominent of which is removal of rancid-fe and several device-specific script in exchange for device-specific and generic libraries and a generic script. The generic script, which assumed the name rancid, loads the relevant library and runs commands as defined by a configuration file, which means less code duplication, users can more easily adjust the commands that are run and create their own "device_types" or filters without altering the base code, and hopefully this means it is easier for users to upgrade to future versions. See rancid.types.conf(5). Please, for your benefit and ours, do not alter the rancid.types.base configuration file; new versions of RANCiD purposely overwrite this file at installation time. Not all of the device types have been converted to libraries yet, just the prominent ones or those prominent to us: Cisco, Juniper, Compass, Arbor, MRV. We also still have suggestions from users about this new process to consider and/or implement. 3.0 also includes a new version of par(1) implemented in C. It fixes a few bugs in the perl version and hopefully does not introduce any new ones. NOTE WELL: The router.db field separator has been changed to ';' from ':' to avoid conflict with IPv6 addresses and etc.
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 - rancid: missing CR after s/n - xrrancid: admin show variables boot clean-up - xrrancid: add admin show install summary, license - xrrancid: fix access-list formatting & sorting - rancid: collect show capture & shun for ASA - xrancid: misc patches for XOS - rancid-cvs: svn repository handling improvement - rancid: filter WPA passwd - rancid: add 'show running-config view full' for role cli - rancid: filter ppp hostnames (aka usernames) - Pavel Korovin - *login: update host key change match for newer ssh - clogin: disable pager for XOS-12.3 - rancid.conf & control_rancid: support arbitrary subversion URLs as (pre-provisioned) repositories and do not overwrite an existing local repository - rancid.conf: add LC_COLLATE - nlogin: add identfile support - hrancid: match 'logout' in new procurve versions for end of run - hrancid: include comment line for procurve parser - hrancid: collect show config status - 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' - xrrancid: add admin show running - arancid: /info/sys -> /info/sys/dump - rancid: correct isakmp key filter - clogin; set terminal width to 132 for both -s and -c - clogin: respond to ASA's pager in long login banners - clogin: set terminal width to 132 - rancid: match flash memory on likes of Cisco 2811 and 2621XM - import share/rancid-cvspurge - rancid: add 'dir /all sup-bootdisk:' for 6500 sup32 - rancid: adjust regex for tacacs key match - *login: join sshcmd clogin directive to handle spaces properly - mt{login,rancid}: import Microtik module - rancid: ppp password missed on dialer interfaces - arancid: filter "esecret" lines which change with each config display - hlogin: logout from enabled mode instead of exit for -S - hrancid: collect show config files and show tech transceivers - rancid: filter config timestamp on MDS/NX-OS - avorancid: collect power management file - fnrancid: correct comment character - fnrancid: update system time and conf_file_ver filters - 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
2.3.6 * 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 * alogin: adjust match of active alarms msg at login * jrancid: patch for master/backup matching on EX series * rancid: update cisco WAE identity string match * {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 * rancid: ignore show flash on IOS XE * rancid: copy the dhcp database filter to ShowFlash() * clogin: Fix pasto in IOS terminal width command. * hlogin: -r missing from usage o/p * clogin: add -r and passphrase/identfile from cloginrc * francid: remove system uptime line on CER 3000 2.3.5 * alogin: respond to active alarms msg at login * *rancid: update for grammar deprecated in perl 5.12 * *login: handle noenable value consistently, '1' to turn it on * configure: look for -n <count> option to ping, for Windows ping (over cygwin) * 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 * rancid: filter ASA time-based license noise * rancid: filter command in WriteTerm if echoed * configure: specifically look for ping in /sbin & /usr/sbin & fix typo in test operator * rancid: handle a few IOS serial number formatting variants * 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 * nxrancid: show environment clock and show core vdc-all are not valid commands on all platforms
* nracnid: fix serial number matching, fix pager prompt filtering * rancid: remove sequences from IPv6 prefix-lists * clogin: adjust default ssh password prompt for ExtremeOS 12.3.3.6 * rancid: Accept '>' prompt, rather than just '#' * avologin: fix ssh command substitution * fnrancid: filter application signature, System Time & conf_file_ver= from GetSystem/GetConf * mrvrancid: filter other oscillating info from show version * xrrancid: disable timestamps * hlogin: implement -autoenable for newer hp procurve releases * cat5rancid: snmp community may have multiple spaces b/t community name and permissions * cat5rancid: filter local user password * f5rancid: filter Failover time stamps * 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. * 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. fail if the configuration buffer fills. filter dhcp_[^[:space:].].txt from flash directories, so it does not create constant changes resulting from the ip dhcp database saves. filter ldap host password on PIX. 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 * *login: add cloginrc timeout directive * nrancid: fix control number match * 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 * rancid: ACE/SANOS report invalid input differently. skip leading blank lines in config.remove ASA keys such as tacacs and radius. match non-space for usernames in "Written by" line. * *rancid: quote meta characters * rancid: Fail on error msg "% Configuration buffer full" seen on 6500. Dont filter 'show vlan' on Catalyst 3550/4500s * import Arista script * jerancid: fix for 'show environment all' for filtering with auto-sync on BRASes * 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 * 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
RANCID monitors a router's (or more generally a device's) configuration, including software and hardware (cards, serial numbers, etc) and uses CVS (Concurrent Version System) or Subversion to maintain history of changes. CVE-2008-4979 (getipacctg) is still not fixed by upstream, however, that script is not part of the core fuction (rather a contrib) and probably not going to be used by the normal users of this package.
Initial revision