From owner-rancid-discuss@shrubbery.net Fri Aug 9 18:41:44 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g79Ifif05335 for ; Fri, 9 Aug 2002 18:41:44 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g79IeHE21510 for rancid-discuss-outgoing; Fri, 9 Aug 2002 18:40:17 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g79IeE021505 for rancid-discuss@shrubbery.net; Fri, 9 Aug 2002 18:40:14 GMT Date: Fri, 9 Aug 2002 11:40:14 -0700 From: john heasley To: rancid-discuss@shrubbery.net Subject: rancid 2.2.2 Message-ID: <20020809114014.H20921@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk i've made rancid-2.2.2 available for ftp from ftp.shrubbery.net:/pub/rancid *** if you make use of the looking glass (lg) scripts that come with rancid, PLEASE upgrade. previous versions did not check the query target properly, allowing someone with access to the looking glass to query any device which can be logged into. possible bug: a user to whom we supplied an EFT copy of flogin told us that it did not work with certain devices, but became silent when we asked for more information. 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 From owner-rancid-discuss@shrubbery.net Sat Aug 24 22:57:01 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g7OMv1f15670 for ; Sat, 24 Aug 2002 22:57:01 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g7OMqGd29964 for rancid-discuss-outgoing; Sat, 24 Aug 2002 22:52:17 GMT Received: from jnull.rackspace.com (jnull.rackspace.com [64.39.30.151]) by guelah.shrubbery.net (8.11.6/8.11.1) with SMTP id g7OMqEN29959 for ; Sat, 24 Aug 2002 22:52:14 GMT Received: (qmail 20043 invoked by uid 301); 24 Aug 2002 22:53:49 -0000 Date: Sat, 24 Aug 2002 17:53:49 -0500 From: rancid To: rancid-discuss@shrubbery.net Subject: customize commands Message-ID: <20020824225349.GA32066@jnull.rackspace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-PGP-key: 0x54B1A25C X-MOTD: "There are 10 types of people in the world: those who understand binary, and those who don't." Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Forgive the newbie. Implementation and general satisfaction meets expectations.... However, I would like to know how to customize the commmands set used by do-diffs. (I attempted to sort through archives, but ugh.) -- sig=$header From owner-rancid-discuss@shrubbery.net Sun Aug 25 19:29:20 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g7PJTJf19601 for ; Sun, 25 Aug 2002 19:29:19 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g7PJQOd28895 for rancid-discuss-outgoing; Sun, 25 Aug 2002 19:26:24 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g7PJQIs28881; Sun, 25 Aug 2002 19:26:18 GMT Date: Sun, 25 Aug 2002 19:26:17 +0000 From: john heasley To: rancid Cc: rancid-discuss@shrubbery.net Subject: Re: customize commands Message-ID: <20020825192617.A26685@shrubbery.net> References: <20020824225349.GA32066@jnull.rackspace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020824225349.GA32066@jnull.rackspace.com>; from rancid@jnull.rackspace.com on Sat, Aug 24, 2002 at 05:53:49PM -0500 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Sat, Aug 24, 2002 at 05:53:49PM -0500, rancid: > Forgive the newbie. Implementation and general satisfaction meets expectations.... However, I would like to know how to customize the commmands set used by do-diffs. (I attempted to sort through archives, but ugh.) > -- > sig=$header there isnt such a facility built-in at the moment. we have been discussing how to add this though. so, its coming at some point. From owner-rancid-discuss@shrubbery.net Thu Aug 29 15:50:27 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g7TFoRf03462 for ; Thu, 29 Aug 2002 15:50:27 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g7TFft404392 for rancid-discuss-outgoing; Thu, 29 Aug 2002 15:41:55 GMT Received: from hrabosky.braeburn.org (hrabosky.cbbtier3.att.net [12.0.1.25]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g7TFfpN04388 for ; Thu, 29 Aug 2002 15:41:51 GMT Received: from zoe.cbbtier3.att.net (zoe.cbbtier3.att.net [12.0.1.45]) by hrabosky.braeburn.org (Postfix) with ESMTP id 184F06A668 for ; Thu, 29 Aug 2002 11:41:50 -0400 (EDT) Received: by zoe.cbbtier3.att.net (Postfix, from userid 500) id A835CDAB6B; Thu, 29 Aug 2002 11:42:10 -0400 (EDT) X-Mailer: 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid (via feedmail 10 I); VM 7.01 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15726.16592.262209.672693@oz.mt.att.com> Date: Thu, 29 Aug 2002 11:42:08 -0400 From: Jay Borkenhagen To: rancid-discuss@shrubbery.net Subject: Re: customize commands In-Reply-To: <20020825192617.A26685@shrubbery.net> References: <20020824225349.GA32066@jnull.rackspace.com> <20020825192617.A26685@shrubbery.net> Reply-To: Jay Borkenhagen X-PGP-Fingerprint: 09 2F 9B 83 7E 6A DC 51 2D 4A 1C FD C9 45 98 44 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk >> Forgive the newbie. Implementation and general satisfaction meets >> expectations.... However, I would like to know how to customize the >> commmands set used by do-diffs. (I attempted to sort through >> archives, but ugh.) heas> there isnt such a facility built-in at the moment. we have been heas> discussing how to add this though. so, its coming at some heas> point. As someone who just upgraded to rancid-2.2.2 thereby unintentionally clobbering my modifications to bin/rancid's list of router commands of interest, let me voice my support for such a facility. I see that "make install" preserved my modified bin/env file with the new one ending up in bin/env.new -- it would be terrific if the command set was in a file which would be similarly preserved across an upgrade. Thanks. Jay B. -- Jay Borkenhagen jayb@braeburn.org From owner-rancid-discuss@shrubbery.net Thu Aug 29 16:09:04 2002 Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (8.11.6/8.11.1) with ESMTP id g7TG93f03794 for ; Thu, 29 Aug 2002 16:09:03 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g7TG7DX04534 for rancid-discuss-outgoing; Thu, 29 Aug 2002 16:07:13 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g7TG77k04529; Thu, 29 Aug 2002 16:07:07 GMT Date: Thu, 29 Aug 2002 09:07:07 -0700 From: john heasley To: Jay Borkenhagen Cc: rancid-discuss@shrubbery.net Subject: Re: customize commands Message-ID: <20020829090707.D4320@shrubbery.net> References: <20020824225349.GA32066@jnull.rackspace.com> <20020825192617.A26685@shrubbery.net> <15726.16592.262209.672693@oz.mt.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <15726.16592.262209.672693@oz.mt.att.com>; from jayb@braeburn.org on Thu, Aug 29, 2002 at 11:42:08AM -0400 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, Aug 29, 2002 at 11:42:08AM -0400, Jay Borkenhagen: > >> Forgive the newbie. Implementation and general satisfaction meets > >> expectations.... However, I would like to know how to customize the > >> commmands set used by do-diffs. (I attempted to sort through > >> archives, but ugh.) > > heas> there isnt such a facility built-in at the moment. we have been > heas> discussing how to add this though. so, its coming at some > heas> point. > > As someone who just upgraded to rancid-2.2.2 thereby unintentionally > clobbering my modifications to bin/rancid's list of router commands of > interest, let me voice my support for such a facility. I see that > "make install" preserved my modified bin/env file with the new one > ending up in bin/env.new -- it would be terrific if the command set > was in a file which would be similarly preserved across an upgrade. > the idea we've been kicking around is to have a file (a default file included with the dist and perhaps a "file.local") which defines a device "type". for a given type, you could set which commands you wanted collected and what function (including home-grown external scripts) to use to filter the output. this "type" is then used as the type in the router.db file, eg: cisco or cisco_osr, where cisco_sla might have additional (or fewer) commands for your OSRs.