From owner-rancid-discuss@shrubbery.net Tue Jul 16 15:25:08 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 g6GFP8327417 for ; Tue, 16 Jul 2002 15:25:08 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g6GFKuN22778 for rancid-discuss-outgoing; Tue, 16 Jul 2002 15:20:56 GMT Received: from praxis.vwh.net (praxis.vwh.net [161.58.232.130]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g6GFKi122771; Tue, 16 Jul 2002 15:20:44 GMT Received: from dirty.needlesharing.net ([213.198.76.94]) by praxis.vwh.net (8.11.6) id g6GFKPd62669; Tue, 16 Jul 2002 09:20:26 -0600 (MDT) Received: from localhost (mschaefer@localhost) by dirty.needlesharing.net (8.11.0/8.11.0) with ESMTP id g6GFeVO02879; Tue, 16 Jul 2002 17:40:31 +0200 X-Authentication-Warning: dirty.needlesharing.net: mschaefer owned process doing -bs Date: Tue, 16 Jul 2002 17:40:31 +0200 (CEST) From: Mark Schaefer X-Sender: mschaefer@dirty.needlesharing.net To: rancid@shrubbery.net, rancid-discuss@shrubbery.net Subject: foundry flogin problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Seems the default Foundry username login prompt on telnet is not consistent... and through this I have noticed that the flogin script does not acknowledge the "userprompt" directive from the .cloginrc file. I modified the regexp that looks for the login prompt in flogin to work in both (that I have found) cases: (line 385 of flogin which was packaged with 2.2.1) Was: -re "(Username:|login:|Name :)" { Now: -re "(Username|login|Name).*:" { This works on both cases I have tested (offending prompts below): Foundry FastIron with code 07.1.23T13, 07.1.09T13 "Please Enter Login Name : " Foundry BigIron with code 07.2.11bT53 "Please Enter Login Name: " Yeah, there is probably a more elegant regexp to use. Mark From owner-rancid-discuss@shrubbery.net Tue Jul 16 17:54:31 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 g6GHsV301533 for ; Tue, 16 Jul 2002 17:54:31 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g6GHs1123575 for rancid-discuss-outgoing; Tue, 16 Jul 2002 17:54:01 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g6GHrru23566; Tue, 16 Jul 2002 17:53:53 GMT Date: Tue, 16 Jul 2002 10:53:53 -0700 From: john heasley To: Mark Schaefer Cc: rancid@shrubbery.net, rancid-discuss@shrubbery.net Subject: Re: foundry flogin problem Message-ID: <20020716105353.I16765@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from mark@verio.net on Tue, Jul 16, 2002 at 05:40:31PM +0200 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk could you try ftp://ftp.shrubbery.net/outgoing/flogin.in ? it should fix the userprompt problem and will be packaged with 2.2.2 (RSN). Tue, Jul 16, 2002 at 05:40:31PM +0200, Mark Schaefer: > > Seems the default Foundry username login prompt on telnet is not consistent... and through this I have noticed that the flogin script does not acknowledge the "userprompt" directive from the .cloginrc file. > > I modified the regexp that looks for the login prompt in flogin to work in both (that I have found) cases: > > (line 385 of flogin which was packaged with 2.2.1) > > Was: > -re "(Username:|login:|Name :)" { > > Now: > -re "(Username|login|Name).*:" { > > This works on both cases I have tested (offending prompts below): > > Foundry FastIron with code 07.1.23T13, 07.1.09T13 > "Please Enter Login Name : " > > Foundry BigIron with code 07.2.11bT53 > "Please Enter Login Name: " > > > Yeah, there is probably a more elegant regexp to use. > > Mark > From owner-rancid-discuss@shrubbery.net Tue Jul 16 18:49:58 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 g6GInw302812 for ; Tue, 16 Jul 2002 18:49:58 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g6GInpf23955 for rancid-discuss-outgoing; Tue, 16 Jul 2002 18:49:51 GMT Received: from praxis.vwh.net (praxis.vwh.net [161.58.232.130]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g6GIng123948; Tue, 16 Jul 2002 18:49:43 GMT Received: from localhost (praxis@localhost) by praxis.vwh.net (8.11.6) id g6GIng295626; Tue, 16 Jul 2002 12:49:42 -0600 (MDT) Date: Tue, 16 Jul 2002 18:49:42 +0000 (GMT) From: Mark Schaefer X-X-Sender: praxis@praxis.vwh.net To: john heasley cc: rancid@shrubbery.net, Subject: Re: foundry flogin problem In-Reply-To: <20020716105353.I16765@shrubbery.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Works beautifully. Replacing my sick hack immediately :-) Mark On Tue, 16 Jul 2002, john heasley wrote: > could you try ftp://ftp.shrubbery.net/outgoing/flogin.in ? it should > fix the userprompt problem and will be packaged with 2.2.2 (RSN). > > Tue, Jul 16, 2002 at 05:40:31PM +0200, Mark Schaefer: > > > > Seems the default Foundry username login prompt on telnet is not consistent... and through this I have noticed that the flogin script does not acknowledge the "userprompt" directive from the .cloginrc file. > > > > I modified the regexp that looks for the login prompt in flogin to work in both (that I have found) cases: > > > > (line 385 of flogin which was packaged with 2.2.1) > > > > Was: > > -re "(Username:|login:|Name :)" { > > > > Now: > > -re "(Username|login|Name).*:" { > > > > This works on both cases I have tested (offending prompts below): > > > > Foundry FastIron with code 07.1.23T13, 07.1.09T13 > > "Please Enter Login Name : " > > > > Foundry BigIron with code 07.2.11bT53 > > "Please Enter Login Name: " > > > > > > Yeah, there is probably a more elegant regexp to use. > > > > Mark > > > From owner-rancid-discuss@shrubbery.net Tue Jul 16 19:02:40 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 g6GJ2d302923 for ; Tue, 16 Jul 2002 19:02:39 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g6GJ29H24004 for rancid-discuss-outgoing; Tue, 16 Jul 2002 19:02:09 GMT Received: from praxis.vwh.net (praxis.vwh.net [161.58.232.130]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g6GJ21123997; Tue, 16 Jul 2002 19:02:01 GMT Received: from localhost (praxis@localhost) by praxis.vwh.net (8.11.6) id g6GJ21B97496; Tue, 16 Jul 2002 13:02:01 -0600 (MDT) Date: Tue, 16 Jul 2002 19:02:01 +0000 (GMT) From: Mark Schaefer X-X-Sender: praxis@praxis.vwh.net To: john heasley cc: rancid@shrubbery.net, Subject: Re: foundry flogin problem In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Whoops, spoke too soon. It now works on the newer code, but no longer on the old. Mark On Tue, 16 Jul 2002, Mark Schaefer wrote: > > Works beautifully. Replacing my sick hack immediately :-) > > Mark > > On Tue, 16 Jul 2002, john heasley wrote: > > > could you try ftp://ftp.shrubbery.net/outgoing/flogin.in ? it should > > fix the userprompt problem and will be packaged with 2.2.2 (RSN). > > > > Tue, Jul 16, 2002 at 05:40:31PM +0200, Mark Schaefer: > > > > > > Seems the default Foundry username login prompt on telnet is not consistent... and through this I have noticed that the flogin script does not acknowledge the "userprompt" directive from the .cloginrc file. > > > > > > I modified the regexp that looks for the login prompt in flogin to work in both (that I have found) cases: > > > > > > (line 385 of flogin which was packaged with 2.2.1) > > > > > > Was: > > > -re "(Username:|login:|Name :)" { > > > > > > Now: > > > -re "(Username|login|Name).*:" { > > > > > > This works on both cases I have tested (offending prompts below): > > > > > > Foundry FastIron with code 07.1.23T13, 07.1.09T13 > > > "Please Enter Login Name : " > > > > > > Foundry BigIron with code 07.2.11bT53 > > > "Please Enter Login Name: " > > > > > > > > > Yeah, there is probably a more elegant regexp to use. > > > > > > Mark > > > > > > > From owner-rancid-discuss@shrubbery.net Mon Jul 29 00:19:25 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 g6T0JP317996 for ; Mon, 29 Jul 2002 00:19:25 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g6T0GAi24812 for rancid-discuss-outgoing; Mon, 29 Jul 2002 00:16:10 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g6T0G7D24807 for rancid-discuss@shrubbery.net; Mon, 29 Jul 2002 00:16:07 GMT Received: from hotmail.com (oe49.law7.hotmail.com [216.33.236.85]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g6S9vm122641 for ; Sun, 28 Jul 2002 09:57:48 GMT Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 28 Jul 2002 02:57:43 -0700 X-Originating-IP: [203.124.2.55] From: "cheechew" To: Subject: where is router config stored Date: Sun, 28 Jul 2002 17:59:54 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 28 Jul 2002 09:57:43.0010 (UTC) FILETIME=[37558C20:01C2361D] Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Where can I find the router config from either from do-diffs or clogin, or rancid after execution. It rancid capable of doing router config backup and monitor router config changes. Thanks From owner-rancid-discuss@shrubbery.net Mon Jul 29 00:39:12 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 g6T0dC318886 for ; Mon, 29 Jul 2002 00:39:12 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g6T0d7824893 for rancid-discuss-outgoing; Mon, 29 Jul 2002 00:39:07 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g6T0d4B24888; Mon, 29 Jul 2002 00:39:04 GMT Date: Mon, 29 Jul 2002 00:39:03 +0000 From: john heasley To: cheechew Cc: rancid-discuss@shrubbery.net Subject: Re: where is router config stored Message-ID: <20020729003903.C24649@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from cheechew@hotmail.com on Sun, Jul 28, 2002 at 05:59:54PM +0800 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Sun, Jul 28, 2002 at 05:59:54PM +0800, cheechew: > Where can I find the router config from either from do-diffs or clogin, or > rancid after execution. It rancid capable of doing router config backup and > monitor router config changes. Thanks the collected configurations/data are save in files, named whatever you entered in the router.db file for a device name, under /usr/local/rancid//configs and are placed in CVS. see the rancid_intro man page and the CVS portion of the FAQ (http://www.shrubbery.net/rancid/FAQ).