From owner-rancid-discuss@shrubbery.net Fri Mar 1 15:23: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 g21FN1Z23629 for ; Fri, 1 Mar 2002 15:23:01 GMT Received: by guelah.shrubbery.net (8.11.6/8.11.1) id g21FJPn01154 for rancid-discuss-outgoing; Fri, 1 Mar 2002 15:19:25 GMT Received: from dm3cn8.bell.ca (dm3cn8.bell.ca [206.47.0.145]) by guelah.shrubbery.net (8.11.6/8.11.1) with SMTP id g21FJLa01150 for ; Fri, 1 Mar 2002 15:19:22 GMT Received: from 142.182.248.8 by dm3cn8.bell.ca with SMTP (Tumbleweed MMS SMTP Relay (MMS v4.7)); Fri, 01 Mar 2002 10:19:08 -0500 X-Server-Uuid: b85f21a3-cfd1-11d3-8401-00104bf46ab7 Received: from bc3cm4.on.bell.ca (bc3cm4.ON.bell.ca [192.219.253.101]) by Dmoc61.On.Bell.Ca with ESMTP id g21FJ7T07311 for ; Fri, 1 Mar 2002 10:19:07 -0500 (EST) Received: from bellnexxia.com ([142.183.172.72]) by bc3cm4.on.bell.ca ( 8.8.8+Sun/8.8.8) with ESMTP id KAA29984 for ; Fri, 1 Mar 2002 10:19:06 -0500 (EST) Message-ID: <3C7F9BEA.30D89A08@bellnexxia.com> Date: Fri, 01 Mar 2002 10:19:06 -0500 From: "Seguin, Ron" X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Rancid Subject: Multiple passwords.... X-WSS-ID: 10614466292002-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk My $HOME/.cloginrc is the following... # customer x # these routers ask for a username and password. we automatically get # enable access after successful authentication. add user bx5-tor* xxx add user * yyy add password bx5-tor* {aaa} add password * {bbb} add autoenable * 1 When running jlogin manually on a device named bx5-toronto12, it uses user xxx, however chooses password bbb...have I misconfigured my .cloginrc??? --thanks From owner-rancid-discuss@shrubbery.net Fri Mar 1 16:48:22 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 g21GmMZ25606 for ; Fri, 1 Mar 2002 16:48:22 GMT Received: by guelah.shrubbery.net (8.11.6/8.11.1) id g21Gm3e01512 for rancid-discuss-outgoing; Fri, 1 Mar 2002 16:48:03 GMT Received: from dm3cn8.bell.ca (dm3cn8.bell.ca [206.47.0.145]) by guelah.shrubbery.net (8.11.6/8.11.1) with SMTP id g21Gm0a01508 for ; Fri, 1 Mar 2002 16:48:00 GMT Received: from 142.182.248.8 by dm3cn8.bell.ca with SMTP (Tumbleweed MMS SMTP Relay (MMS v4.7)); Fri, 01 Mar 2002 11:43:47 -0500 X-Server-Uuid: b85f21a3-cfd1-11d3-8401-00104bf46ab7 Received: from bc3cm4.on.bell.ca (bc3cm4.ON.bell.ca [192.219.253.101]) by Dmoc61.On.Bell.Ca with ESMTP id g21GhlT14694 for ; Fri, 1 Mar 2002 11:43:47 -0500 (EST) Received: from bellnexxia.com ([142.183.172.72]) by bc3cm4.on.bell.ca ( 8.8.8+Sun/8.8.8) with ESMTP id LAA24385 for ; Fri, 1 Mar 2002 11:43:45 -0500 (EST) Message-ID: <3C7FAFC0.ED1C0CEC@bellnexxia.com> Date: Fri, 01 Mar 2002 11:43:44 -0500 From: "Seguin, Ron" X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Rancid Subject: Re: Multiple passwords.... References: <3C7F9BEA.30D89A08@bellnexxia.com> X-WSS-ID: 106170495805-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Nevermind...Rancid 2.2 works like a charm...sorry for the SPAM. --regards "Seguin, Ron" wrote: > My $HOME/.cloginrc is the following... > > # customer x > # these routers ask for a username and password. we automatically get > # enable access after successful authentication. > add user bx5-tor* xxx > add user * yyy > > add password bx5-tor* {aaa} > add password * {bbb} > > add autoenable * 1 > > When running jlogin manually on a device named bx5-toronto12, it uses user xxx, > however chooses password bbb...have I misconfigured my .cloginrc??? > > --thanks From owner-rancid-discuss@shrubbery.net Sun Mar 3 00:35:14 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 g230ZEZ02379 for ; Sun, 3 Mar 2002 00:35:14 GMT Received: by guelah.shrubbery.net (8.11.6/8.11.1) id g230XIT08569 for rancid-discuss-outgoing; Sun, 3 Mar 2002 00:33:18 GMT Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g230XEa08565 for ; Sun, 3 Mar 2002 00:33:14 GMT Received: (from asp@localhost) by tower.partan.com (8.9.3/8.9.3) id TAA24979; Sat, 2 Mar 2002 19:33:06 -0500 (EST) Date: Sat, 2 Mar 2002 19:33:06 -0500 From: Andrew Partan To: Terry Kennedy Cc: rancid-discuss@shrubbery.net Subject: Re: Minor fix for C5RSM reporting in RANCID Message-ID: <20020302193306.B24027@partan.com> References: <01KDRM5R9KGK0001NB@tmk.com> <"from <20020201184147.B2167@partan.com> <01KDRQY0BTIE0001U4@tmk.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <01KDRQY0BTIE0001U4@tmk.com>; from terry@tmk.com on Fri, Feb 01, 2002 at 06:47:27PM -0500 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Fri, Feb 01, 2002 at 06:47:27PM -0500, Terry Kennedy wrote: > No bug ID (that I know of). A search of the bug toolkit for "controler" > only shows some of the same typo in bug notes for unrelated problems. But > since this would be a P5 (or lower) bug, it may not show up there. Similar- > ly, it would probably be pretty low on the list to get fixed, and many of > the releases it is present in are EOL anyway. > > I have verified it is present in: > > 11.2(18)P * > 11.3(11)T * > 12.0(9)W5-17 * > 12.1(9) > 12.2(6a) Silly cisco. I've just commited a change that should handle this. --asp --- rancid.in.old Sat Mar 2 18:58:14 2002 +++ rancid.in Sat Mar 2 19:28:37 2002 @@ -573,7 +573,7 @@ } elsif (/^\s*Slot (\d+) \(virtual\):/i) { $slot = $1; next; - } elsif (/^\s*(.*Processor.*|.*controller|.*Chassis Interface)(, FRU\s?:.*)?, HW rev (\S+), board revision (\S+)/i) { + } elsif (/^\s*(.*Processor.*|.*controller|.*controler|.*Chassis Interface)(, FRU\s?:.*)?, HW rev (\S+), board revision (\S+)/i) { $board = $1; $hwver = $3; $boardrev = $4; From owner-rancid-discuss@shrubbery.net Mon Mar 4 21:21: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 g24LL3Z24003 for ; Mon, 4 Mar 2002 21:21:03 GMT Received: by guelah.shrubbery.net (8.11.6/8.11.1) id g24LELa17138 for rancid-discuss-outgoing; Mon, 4 Mar 2002 21:14:22 GMT Received: from tick.Telcom.Arizona.EDU (tick.Telcom.Arizona.EDU [128.196.128.4]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g24LEIa17133 for ; Mon, 4 Mar 2002 21:14:18 GMT Received: from JunkYardDog (tc128-161.telcom.Arizona.EDU [128.196.128.161]) by tick.Telcom.Arizona.EDU (8.11.6/8.11.6) with SMTP id g24LEHU09059 for ; Mon, 4 Mar 2002 14:14:17 -0700 (MST) From: "Saro Hayan" To: Subject: CatOS & IOS w/out enable Date: Mon, 4 Mar 2002 14:14:17 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hello, I'm trying to get clogin to work with Cisco IOS and CatOS. The user/pw I want to use does not have enable privileges, but all I want to do is some "show" commands. I have used the -noenable command line switch and the clogin config. I am not sure what I seem to be doing wrong, but I keep getting a "no enable password" error in (version 2.1b). The following is the command as I am using it: clogin -noenable -u myusername -p myuserpassword -c 'show int' myrouter.mydomain.com If I use a .cloginrc file, I use the following lines: # customer x # these routers ask for a username and password. we automatically get # enable access after successful authentication. add user *.myrouter.mydomain.com myusername add password *.myrouter.mydomain.com myuserpassword # add autoenable *.myrouter.mydomain.com 1 # the route-server's do not provide enable access. cmdline -noenable # equivalent. add noenable myrouter.mydomain.com 1 Saro Hayan Network Operation (520)626-4275 saro@arizona.edu From owner-rancid-discuss@shrubbery.net Tue Mar 5 15:16:33 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 g25FGXZ14859 for ; Tue, 5 Mar 2002 15:16:33 GMT Received: by guelah.shrubbery.net (8.11.6/8.11.1) id g25FETo27152 for rancid-discuss-outgoing; Tue, 5 Mar 2002 15:14:29 GMT Received: from mxgate02.reliant.com (mxgate02.RELIANT.COM [208.205.136.170]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g25FEPa27148 for ; Tue, 5 Mar 2002 15:14:25 GMT Received: from rriexcon01.services.reinternal.com ([10.48.101.77]) by mxgate02.reliant.com (8.11.4/8.11.4) with ESMTP id g25FEFu15733 for ; Tue, 5 Mar 2002 09:14:16 -0600 (CST) Received: from rriexmb02.services.reinternal.com ([10.48.101.89]) by rriexcon01.services.reinternal.com with Microsoft SMTPSVC(5.0.2195.3779); Tue, 5 Mar 2002 09:14:12 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Subject: Prevent PAGP messages from showing up in diffs Date: Tue, 5 Mar 2002 09:14:12 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: cisco router config diffs Thread-Index: AcHEVyTPEOPHFZz0S7OlCtB6YeJUawAALHOg From: "Zhang, Anchi" To: X-OriginalArrivalTime: 05 Mar 2002 15:14:12.0566 (UTC) FILETIME=[68181760:01C1C458] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g25FEQa27149 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Greetings, I get mail almost every time Rancid runs due to PAGP messages. What would be the best way to prevent such messages from showing up in the diffs? Anchi -----Original Message----- From: Zhang, Anchi Sent: Tuesday, March 05, 2002 9:05 AM To: rancid-cisco@log2.reliant.com Subject: cisco router config diffs Index: configs/rep17_6509 =================================================================== retrieving revision 1.7 diff -u -4 -r1.7 rep17_6509 @@ -641,9 +641,8 @@ set trunk 3/18 off negotiate 1-1005,1025-4094 set trunk 3/19 off negotiate 1-1005,1025-4094 set trunk 3/20 off negotiate 1-1005,1025-4094 set trunk 3/21 off negotiate 1-1005,1025-4094 - 2002 Mar 05 08:03:09 CST -06:00 %PAGP-5-PORTFROMSTP:Port 2/23 left bridge port 2/23 set trunk 3/22 off negotiate 1-1005,1025-4094 set trunk 3/23 off negotiate 1-1005,1025-4094 set trunk 3/24 off negotiate 1-1005,1025-4094 set trunk 3/25 off negotiate 1-1005,1025-4094 @@ -744,9 +743,8 @@ set trunk 5/2 off negotiate 1-1005,1025-4094 set trunk 5/3 off negotiate 1-1005,1025-4094 set trunk 5/4 off negotiate 1-1005,1025-4094 set trunk 5/5 off negotiate 1-1005,1025-4094 - 2002 Mar 05 08:03:09 CST -06:00 %PAGP-5-PORTFROMSTP:Port 3/13 left bridge port 3/13 set trunk 5/6 off negotiate 1-1005,1025-4094 set trunk 5/7 off negotiate 1-1005,1025-4094 set trunk 5/8 off negotiate 1-1005,1025-4094 set trunk 5/9 off negotiate 1-1005,1025-4094 Index: configs/rep7_6509 =================================================================== retrieving revision 1.8 diff -u -4 -r1.8 rep7_6509 @@ -451,8 +451,9 @@ ! 9/46 347 ! 9/47 348 ! 9/48 349 ! + 2002 Mar 05 09:04:04 CST -06:00 %PAGP-5-PORTFROMSTP:Port 3/34 left bridge port 3/34 begin ! # ***** NON-DEFAULT CONFIGURATION ***** ! Index: configs/rep9_6509 =================================================================== retrieving revision 1.27 diff -u -4 -r1.27 rep9_6509 @@ -448,9 +448,8 @@ ! 9/46 398 ! 9/47 399 ! 9/48 400 ! - ..........2002 Mar 05 08:03:53 CST -06:00 %PAGP-5-PORTTOSTP:Port 4/11 joined bridge port 4/11 begin ! # ***** NON-DEFAULT CONFIGURATION ***** ! From owner-rancid-discuss@shrubbery.net Wed Mar 6 04:25:56 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 g264PtZ03798 for ; Wed, 6 Mar 2002 04:25:55 GMT Received: by guelah.shrubbery.net (8.11.6/8.11.1) id g264Mks01847 for rancid-discuss-outgoing; Wed, 6 Mar 2002 04:22:46 GMT Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g264Mha01843 for ; Wed, 6 Mar 2002 04:22:43 GMT Received: (from asp@localhost) by tower.partan.com (8.9.3/8.9.3) id XAA17015; Tue, 5 Mar 2002 23:22:40 -0500 (EST) Date: Tue, 5 Mar 2002 23:22:40 -0500 From: Andrew Partan To: "Zhang, Anchi" Cc: rancid-discuss@shrubbery.net Subject: Re: Prevent PAGP messages from showing up in diffs Message-ID: <20020305232240.D16806@partan.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from AZhang@reliant.com on Tue, Mar 05, 2002 at 09:14:12AM -0600 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Tue, Mar 05, 2002 at 09:14:12AM -0600, Zhang, Anchi wrote: > I get mail almost every time Rancid runs due to PAGP messages. What > would be the best way to prevent such messages from showing up in the > diffs? What type of router (switch?) is that? It looks like said box is sending syslog messages to the login session that rancid is using. I seem to recall running into some box that had a bug where you could not turn this off (the stupid box insisted on sysloging its messages to *every* session on the box, even if you didn't do the equivalent of 'term mon'). Automatically getting rid of this junk is quite a pain since it can essentially show up anywhere in the output stream (including in the middle of a line). Query: Can you configure your router to not send these messages to the telnet/ssh// session that rancid uses? Or is there some sort of command rancid can issue (ala 'term len 0') when it logs in to not get these messages? Or is this one of those broken boxes I recall? [In which case the only real option is to beat on the vendor to get them to fix their stupid bug.] --asp From owner-rancid-discuss@shrubbery.net Wed Mar 6 15:19:13 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 g26FJDZ17626 for ; Wed, 6 Mar 2002 15:19:13 GMT Received: by guelah.shrubbery.net (8.11.6/8.11.1) id g26FIWb04464 for rancid-discuss-outgoing; Wed, 6 Mar 2002 15:18:32 GMT Received: from mxgate02.reliant.com (mxgate02.RELIANT.COM [208.205.136.170]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g26FISa04460 for ; Wed, 6 Mar 2002 15:18:28 GMT Received: from rriexcon01.services.reinternal.com ([10.48.101.77]) by mxgate02.reliant.com (8.11.4/8.11.4) with ESMTP id g26FIMB09190; Wed, 6 Mar 2002 09:18:22 -0600 (CST) Received: from rriexmb02.services.reinternal.com ([10.48.101.89]) by rriexcon01.services.reinternal.com with Microsoft SMTPSVC(5.0.2195.3779); Wed, 6 Mar 2002 09:18:15 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Subject: RE: Prevent PAGP messages from showing up in diffs Date: Wed, 6 Mar 2002 09:18:15 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Prevent PAGP messages from showing up in diffs Thread-Index: AcHExo7purbBWXd9Q/+mpIa0Fl7HlwAWMR/Q From: "Zhang, Anchi" To: "Andrew Partan" Cc: X-OriginalArrivalTime: 06 Mar 2002 15:18:15.0665 (UTC) FILETIME=[2367CE10:01C1C522] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g26FITa04461 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thanks for your reply. They are Catalyst 6509 switches. "set logging session disable" will "disable the sending of system logging messages to the current login session." How best should I add this command to rancid? Anchi -----Original Message----- From: Andrew Partan [mailto:asp@partan.com] Sent: Tuesday, March 05, 2002 10:23 PM To: Zhang, Anchi Cc: rancid-discuss@shrubbery.net Subject: Re: Prevent PAGP messages from showing up in diffs On Tue, Mar 05, 2002 at 09:14:12AM -0600, Zhang, Anchi wrote: > I get mail almost every time Rancid runs due to PAGP messages. What > would be the best way to prevent such messages from showing up in the > diffs? What type of router (switch?) is that? It looks like said box is sending syslog messages to the login session that rancid is using. I seem to recall running into some box that had a bug where you could not turn this off (the stupid box insisted on sysloging its messages to *every* session on the box, even if you didn't do the equivalent of 'term mon'). Automatically getting rid of this junk is quite a pain since it can essentially show up anywhere in the output stream (including in the middle of a line). Query: Can you configure your router to not send these messages to the telnet/ssh// session that rancid uses? Or is there some sort of command rancid can issue (ala 'term len 0') when it logs in to not get these messages? Or is this one of those broken boxes I recall? [In which case the only real option is to beat on the vendor to get them to fix their stupid bug.] --asp From owner-rancid-discuss@shrubbery.net Wed Mar 6 15:23:05 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 g26FN5Z17665 for ; Wed, 6 Mar 2002 15:23:05 GMT Received: by guelah.shrubbery.net (8.11.6/8.11.1) id g26FNBa04487 for rancid-discuss-outgoing; Wed, 6 Mar 2002 15:23:11 GMT Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g26FN8a04483 for ; Wed, 6 Mar 2002 15:23:08 GMT Received: (from asp@localhost) by tower.partan.com (8.9.3/8.9.3) id KAA20253; Wed, 6 Mar 2002 10:23:04 -0500 (EST) Date: Wed, 6 Mar 2002 10:23:04 -0500 From: Andrew Partan To: "Zhang, Anchi" Cc: rancid-discuss@shrubbery.net Subject: Re: Prevent PAGP messages from showing up in diffs Message-ID: <20020306102303.A20207@partan.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from AZhang@reliant.com on Wed, Mar 06, 2002 at 09:18:15AM -0600 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Wed, Mar 06, 2002 at 09:18:15AM -0600, Zhang, Anchi wrote: > "set logging session disable" will "disable the sending of system > logging messages to the current login session." How best should I add > this command to rancid? Are you using the latest bits? clogin already has: send "set logging session disable\r" --asp } elseif { $do_script } { # If the prompt is (enable), then we are on a switch and the # command is "set length 0"; otherwise its "term length 0". if [ regexp -- ".*> .*enable" "$prompt" ] { send "set length 0\r" send "set logging session disable\r" } else { send "term length 0\r" } From owner-rancid-discuss@shrubbery.net Wed Mar 6 15:26: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 g26FQCZ17701 for ; Wed, 6 Mar 2002 15:26:12 GMT Received: by guelah.shrubbery.net (8.11.6/8.11.1) id g26FQJr04502 for rancid-discuss-outgoing; Wed, 6 Mar 2002 15:26:19 GMT Received: from mxgate02.reliant.com (mxgate02.RELIANT.COM [208.205.136.170]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g26FQGa04498 for ; Wed, 6 Mar 2002 15:26:16 GMT Received: from rriexcon01.services.reinternal.com ([10.48.101.77]) by mxgate02.reliant.com (8.11.4/8.11.4) with ESMTP id g26FQAB09929; Wed, 6 Mar 2002 09:26:10 -0600 (CST) Received: from rriexmb02.services.reinternal.com ([10.48.101.89]) by rriexcon01.services.reinternal.com with Microsoft SMTPSVC(5.0.2195.3779); Wed, 6 Mar 2002 09:26:08 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Subject: RE: Prevent PAGP messages from showing up in diffs Date: Wed, 6 Mar 2002 09:26:08 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Prevent PAGP messages from showing up in diffs Thread-Index: AcHFItDgr/yq83PORTekyWTWbJv8gwAAFFzw From: "Zhang, Anchi" To: "Andrew Partan" Cc: X-OriginalArrivalTime: 06 Mar 2002 15:26:08.0712 (UTC) FILETIME=[3D5D0C80:01C1C523] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g26FQGa04499 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I think so: log2# grep "set logging session disable" clogin send "set logging session disable\r" log2# -----Original Message----- From: Andrew Partan [mailto:asp@partan.com] Sent: Wednesday, March 06, 2002 9:23 AM To: Zhang, Anchi Cc: rancid-discuss@shrubbery.net Subject: Re: Prevent PAGP messages from showing up in diffs On Wed, Mar 06, 2002 at 09:18:15AM -0600, Zhang, Anchi wrote: > "set logging session disable" will "disable the sending of system > logging messages to the current login session." How best should I add > this command to rancid? Are you using the latest bits? clogin already has: send "set logging session disable\r" --asp } elseif { $do_script } { # If the prompt is (enable), then we are on a switch and the # command is "set length 0"; otherwise its "term length 0". if [ regexp -- ".*> .*enable" "$prompt" ] { send "set length 0\r" send "set logging session disable\r" } else { send "term length 0\r" } From owner-rancid-discuss@shrubbery.net Tue Mar 12 18:48:29 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 g2CImSS14089 for ; Tue, 12 Mar 2002 18:48:28 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2CJ0sl18475 for rancid-discuss-outgoing; Tue, 12 Mar 2002 19:00:55 GMT Received: from gigashadow.engin.umich.edu (gigashadow.engin.umich.edu [141.213.40.163]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2CJ0qF18471 for ; Tue, 12 Mar 2002 19:00:52 GMT Received: by gigashadow.engin.umich.edu (Postfix, from userid 501) id 7017B16647; Tue, 12 Mar 2002 14:00:51 -0500 (EST) To: rancid-discuss@shrubbery.net Subject: Newbie: Problems with Catalyst Message-Id: <20020312190051.7017B16647@gigashadow.engin.umich.edu> Date: Tue, 12 Mar 2002 14:00:51 -0500 (EST) From: bladex@engin.umich.edu (Robert Klingsten) Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hello -- I have read through all the list archives, and also the faq. But I am still having trouble with a Catalyst switch. Following the diags mentioned in the FAQ, the command: cat5rancid -d ummu-cis6513-mr.ummu.umich.edu results in: HIT COMMAND:ummu-cis6513-mr> (enable) show port ifindex In ShowPortIfindex: ummu-cis6513-mr> (enable) show port ifindex HIT COMMAND:ummu-cis6513-mr> (enable) write term In WriteTerm: ummu-cis6513-mr> (enable) write term ummu-cis6513-mr.ummu.umich.edu: End of run not found ummu-cis6513-mr.ummu.umich.edu: End of run not found end Any more help from people on this would be greatly appreciated! I have Linux kernel 2.4.18, expect 5.32.2, tcl 8.3.3-65, Catalyst 6.3(5)... thanks for any help! Rob Klingsten CAEN Network Systems University of Michigan College of Engineering From owner-rancid-discuss@shrubbery.net Tue Mar 12 20:01:05 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 g2CK14S15379 for ; Tue, 12 Mar 2002 20:01:04 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2CKFmQ18834 for rancid-discuss-outgoing; Tue, 12 Mar 2002 20:15:48 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2CKFiY18829; Tue, 12 Mar 2002 20:15:44 GMT Date: Tue, 12 Mar 2002 20:15:44 +0000 From: john heasley To: Robert Klingsten Cc: rancid-discuss@shrubbery.net Subject: Re: Newbie: Problems with Catalyst Message-ID: <20020312201544.F18648@shrubbery.net> References: <20020312190051.7017B16647@gigashadow.engin.umich.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020312190051.7017B16647@gigashadow.engin.umich.edu>; from bladex@engin.umich.edu on Tue, Mar 12, 2002 at 02:00:51PM -0500 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Tue, Mar 12, 2002 at 02:00:51PM -0500, Robert Klingsten: > Hello -- > > I have read through all the list archives, and also the faq. But > I am still having trouble with a Catalyst switch. Following the > diags mentioned in the FAQ, the command: > > cat5rancid -d ummu-cis6513-mr.ummu.umich.edu > > results in: > > HIT COMMAND:ummu-cis6513-mr> (enable) show port ifindex > In ShowPortIfindex: ummu-cis6513-mr> (enable) show port ifindex > HIT COMMAND:ummu-cis6513-mr> (enable) write term > In WriteTerm: ummu-cis6513-mr> (enable) write term > ummu-cis6513-mr.ummu.umich.edu: End of run not found > ummu-cis6513-mr.ummu.umich.edu: End of run not found > end could you try the following setenv NOPIPE YES cat5rancid -d ummu-cis6513-mr.ummu.umich.edu you will have a ummu-cis6513-mr.ummu.umich.edu.raw file. check this to make sure that the full config was actually collected. also check the ummu-cis6513-mr.ummu.umich.edu.new file to see how much of the .raw file was completed. i'd guess that either the expect process got stuck or something appeared in the config that confused clogin. > > Any more help from people on this would be greatly appreciated! I have > Linux kernel 2.4.18, expect 5.32.2, tcl 8.3.3-65, Catalyst 6.3(5)... > > thanks for any help! > > Rob Klingsten > CAEN Network Systems > University of Michigan College of Engineering From owner-rancid-discuss@shrubbery.net Tue Mar 12 20:17: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 g2CKHKS15482 for ; Tue, 12 Mar 2002 20:17:20 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2CKWfX18943 for rancid-discuss-outgoing; Tue, 12 Mar 2002 20:32:41 GMT Received: from srvr20.engin.umich.edu (root@srvr20.engin.umich.edu [141.213.75.22]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2CKWbF18936; Tue, 12 Mar 2002 20:32:37 GMT Received: from engin-mail1.engin.umich.edu (engin-mail1.engin.umich.edu [141.213.80.24]) by srvr20.engin.umich.edu (8.9.3/8.9.1) with ESMTP id PAA25614; Tue, 12 Mar 2002 15:32:36 -0500 (EST) Received: by engin-mail1.engin.umich.edu with Internet Mail Service (5.5.2655.55) id ; Tue, 12 Mar 2002 15:32:38 -0500 Message-ID: <1BC88FD1968349449B02BF6018227F34E9FEA1@engin-mail1.engin.umich.edu> From: Robert Klingsten To: "'john heasley'" Cc: "'rancid-discuss@shrubbery.net'" Subject: RE: Newbie: Problems with Catalyst Date: Tue, 12 Mar 2002 15:32:27 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I tried what you suggested. the .new file has the complete config, and the .raw file has the complete config and ends with: . . . #module 15 : 1-port Multilayer Switch Feature Card ! #module 16 empty end ummu-cis6513-mr> (enable)Connection to ummu-cis6513-mr.ummu.umich.edu closed by remote host. Connection to ummu-cis6513-mr.ummu.umich.edu closed. It looks ok to me... is expect not matching the "Connection to closed" message(s)? Thanks -- Rob -----Original Message----- From: john heasley [mailto:heas@shrubbery.net] Sent: Tuesday, March 12, 2002 3:16 PM To: Robert Klingsten Cc: rancid-discuss@shrubbery.net Subject: Re: Newbie: Problems with Catalyst Tue, Mar 12, 2002 at 02:00:51PM -0500, Robert Klingsten: > Hello -- > > I have read through all the list archives, and also the faq. But I am > still having trouble with a Catalyst switch. Following the diags > mentioned in the FAQ, the command: > > cat5rancid -d ummu-cis6513-mr.ummu.umich.edu > > results in: > > HIT COMMAND:ummu-cis6513-mr> (enable) show port ifindex > In ShowPortIfindex: ummu-cis6513-mr> (enable) show port ifindex > HIT COMMAND:ummu-cis6513-mr> (enable) write term > In WriteTerm: ummu-cis6513-mr> (enable) write term > ummu-cis6513-mr.ummu.umich.edu: End of run not found > ummu-cis6513-mr.ummu.umich.edu: End of run not found > end could you try the following setenv NOPIPE YES cat5rancid -d ummu-cis6513-mr.ummu.umich.edu you will have a ummu-cis6513-mr.ummu.umich.edu.raw file. check this to make sure that the full config was actually collected. also check the ummu-cis6513-mr.ummu.umich.edu.new file to see how much of the .raw file was completed. i'd guess that either the expect process got stuck or something appeared in the config that confused clogin. > > Any more help from people on this would be greatly appreciated! I > have Linux kernel 2.4.18, expect 5.32.2, tcl 8.3.3-65, Catalyst > 6.3(5)... > > thanks for any help! > > Rob Klingsten > CAEN Network Systems > University of Michigan College of Engineering From owner-rancid-discuss@shrubbery.net Tue Mar 12 20: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 g2CKfiS16444 for ; Tue, 12 Mar 2002 20:41:44 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2CKvIh19062 for rancid-discuss-outgoing; Tue, 12 Mar 2002 20:57:18 GMT Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2CKvFF19058 for ; Tue, 12 Mar 2002 20:57:15 GMT Received: (from asp@localhost) by tower.partan.com (8.9.3/8.9.3) id PAA20642; Tue, 12 Mar 2002 15:57:13 -0500 (EST) Date: Tue, 12 Mar 2002 15:57:13 -0500 From: Andrew Partan To: Robert Klingsten Cc: rancid-discuss@shrubbery.net Subject: Re: Newbie: Problems with Catalyst Message-ID: <20020312155713.A8594@partan.com> References: <1BC88FD1968349449B02BF6018227F34E9FEA1@engin-mail1.engin.umich.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <1BC88FD1968349449B02BF6018227F34E9FEA1@engin-mail1.engin.umich.edu>; from bladex@engin.umich.edu on Tue, Mar 12, 2002 at 03:32:27PM -0500 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Tue, Mar 12, 2002 at 03:32:27PM -0500, Robert Klingsten wrote: > ummu-cis6513-mr> (enable)Connection to ummu-cis6513-mr.ummu.umich.edu closed > by remote host. > Connection to ummu-cis6513-mr.ummu.umich.edu closed. Looks like it could be another case of a router being too eager to drop the tcp session and not echoing back the 'quit' rancid sends it first. Rancid sends a 'quit' and then the router should echo that back & then close the tcp session (it should wait for the output to drain before doing the final tcp close). Some routers have bugs and don't do this. I know we had to do a fair amount of expect goo to work around this for the extreme (in xrancid). --asp From owner-rancid-discuss@shrubbery.net Wed Mar 13 00:00:32 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 g2D00WS20219 for ; Wed, 13 Mar 2002 00:00:32 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2D0HGZ20024 for rancid-discuss-outgoing; Wed, 13 Mar 2002 00:17:16 GMT Received: from mxgate02.reliant.com (mxgate02.RELIANT.COM [208.205.136.170]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2D0HCF20014 for ; Wed, 13 Mar 2002 00:17:12 GMT Received: from rriexcon01.services.reinternal.com ([10.48.101.77]) by mxgate02.reliant.com (8.11.4/8.11.4) with ESMTP id g2D0H7028104 for ; Tue, 12 Mar 2002 18:17:07 -0600 (CST) Received: from rriexmb02.services.reinternal.com ([10.48.101.89]) by rriexcon01.services.reinternal.com with Microsoft SMTPSVC(5.0.2195.3779); Tue, 12 Mar 2002 18:17:04 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Subject: rancid module for css Date: Tue, 12 Mar 2002 18:17:02 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Prevent PAGP messages from showing up in diffs Thread-Index: AcHFItDgr/yq83PORTekyWTWbJv8gwAAFFzwAUBKzfA= From: "Zhang, Anchi" To: X-OriginalArrivalTime: 13 Mar 2002 00:17:04.0643 (UTC) FILETIME=[6774DD30:01C1CA24] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g2D0HDF20015 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Would anyboy have a Rancid module for Cisco Content Services Switch 11000? -anchi From owner-rancid-discuss@shrubbery.net Wed Mar 13 00:40:02 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 g2D0e2S21253 for ; Wed, 13 Mar 2002 00:40:02 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2D0vD520189 for rancid-discuss-outgoing; Wed, 13 Mar 2002 00:57:13 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2D0v7A20184; Wed, 13 Mar 2002 00:57:07 GMT Date: Wed, 13 Mar 2002 00:57:07 +0000 From: john heasley To: "Zhang, Anchi" Cc: rancid-discuss@shrubbery.net Subject: Re: rancid module for css Message-ID: <20020313005707.R18648@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 AZhang@reliant.com on Tue, Mar 12, 2002 at 06:17:02PM -0600 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Tue, Mar 12, 2002 at 06:17:02PM -0600, Zhang, Anchi: > Would anyboy have a Rancid module for Cisco Content Services Switch > 11000? -anchi never seen one. you could contribute one or give one of access to one. From owner-rancid-discuss@shrubbery.net Wed Mar 13 13:57:39 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 g2DDvdS07812 for ; Wed, 13 Mar 2002 13:57:39 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2DEJYg23094 for rancid-discuss-outgoing; Wed, 13 Mar 2002 14:19:34 GMT Received: from mxgate02.reliant.com (mxgate02.RELIANT.COM [208.205.136.170]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2DEJTF23086; Wed, 13 Mar 2002 14:19:29 GMT Received: from rriexcon01.services.reinternal.com ([10.48.101.77]) by mxgate02.reliant.com (8.11.4/8.11.4) with ESMTP id g2DEJN003852; Wed, 13 Mar 2002 08:19:23 -0600 (CST) Received: from rriexmb02.services.reinternal.com ([10.48.101.89]) by rriexcon01.services.reinternal.com with Microsoft SMTPSVC(5.0.2195.3779); Wed, 13 Mar 2002 08:18:19 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Subject: RE: rancid module for css Date: Wed, 13 Mar 2002 08:18:20 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: rancid module for css Thread-Index: AcHKKf+gVUe2867/SbWWnasDTbiiKQAb7jww From: "Zhang, Anchi" To: "john heasley" Cc: X-OriginalArrivalTime: 13 Mar 2002 14:18:19.0893 (UTC) FILETIME=[ED0CCA50:01C1CA99] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g2DEJUF23087 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I will try to contribute one. -----Original Message----- From: john heasley [mailto:heas@shrubbery.net] Sent: Tuesday, March 12, 2002 6:57 PM To: Zhang, Anchi Cc: rancid-discuss@shrubbery.net Subject: Re: rancid module for css Tue, Mar 12, 2002 at 06:17:02PM -0600, Zhang, Anchi: > Would anyboy have a Rancid module for Cisco Content Services Switch > 11000? -anchi never seen one. you could contribute one or give one of access to one. From owner-rancid-discuss@shrubbery.net Thu Mar 14 02:50: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 g2E2odS23110 for ; Thu, 14 Mar 2002 02:50:39 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2E3Gwa26172 for rancid-discuss-outgoing; Thu, 14 Mar 2002 03:16:58 GMT Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2E3GsF26168 for ; Thu, 14 Mar 2002 03:16:54 GMT Received: (from asp@localhost) by tower.partan.com (8.9.3/8.9.3) id WAA25962; Wed, 13 Mar 2002 22:16:50 -0500 (EST) Date: Wed, 13 Mar 2002 22:16:50 -0500 From: Andrew Partan To: "Zhang, Anchi" Cc: rancid-discuss@shrubbery.net Subject: Re: Prevent PAGP messages from showing up in diffs Message-ID: <20020313221650.A25921@partan.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from AZhang@reliant.com on Wed, Mar 06, 2002 at 09:26:08AM -0600 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Wed, Mar 06, 2002 at 09:26:08AM -0600, Zhang, Anchi wrote: > log2# grep "set logging session disable" clogin > send "set logging session disable\r" Hmm; so what is that not working? Does this command actually work on the switch & code you are running? Is rancid sending this command to your switch? --asp From owner-rancid-discuss@shrubbery.net Thu Mar 14 16:45:02 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 g2EGj2S10753 for ; Thu, 14 Mar 2002 16:45:02 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2EHI7A28187 for rancid-discuss-outgoing; Thu, 14 Mar 2002 17:18:07 GMT Received: from mxgate02.reliant.com (mxgate02.RELIANT.COM [208.205.136.170]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2EHI2F28183 for ; Thu, 14 Mar 2002 17:18:03 GMT Received: from rriexcon01.services.reinternal.com ([10.48.101.77]) by mxgate02.reliant.com (8.11.4/8.11.4) with ESMTP id g2EHHqw01862; Thu, 14 Mar 2002 11:17:52 -0600 (CST) Received: from rriexmb02.services.reinternal.com ([10.48.101.89]) by rriexcon01.services.reinternal.com with Microsoft SMTPSVC(5.0.2195.3779); Thu, 14 Mar 2002 11:17:47 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Subject: RE: Prevent PAGP messages from showing up in diffs Date: Thu, 14 Mar 2002 11:17:43 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Prevent PAGP messages from showing up in diffs Thread-Index: AcHLBqwRrI74RFP5SAigerBicV9WegAdSHaQ From: "Zhang, Anchi" To: "Andrew Partan" Cc: X-OriginalArrivalTime: 14 Mar 2002 17:17:47.0913 (UTC) FILETIME=[29B3FF90:01C1CB7C] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g2EHI3F28184 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk The command acctually works if I login and issue the command manually. What would be a good way to tell whether rancid actually sends this command? Anchi -----Original Message----- From: Andrew Partan [mailto:asp@partan.com] Sent: Wednesday, March 13, 2002 9:17 PM To: Zhang, Anchi Cc: rancid-discuss@shrubbery.net Subject: Re: Prevent PAGP messages from showing up in diffs On Wed, Mar 06, 2002 at 09:26:08AM -0600, Zhang, Anchi wrote: > log2# grep "set logging session disable" clogin > send "set logging session disable\r" Hmm; so what is that not working? Does this command actually work on the switch & code you are running? Is rancid sending this command to your switch? --asp From owner-rancid-discuss@shrubbery.net Fri Mar 15 06:31:10 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 g2F6VAS26991 for ; Fri, 15 Mar 2002 06:31:10 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2F7Akl01698 for rancid-discuss-outgoing; Fri, 15 Mar 2002 07:10:46 GMT Received: from server.tmk.com (SYSTEM@server.tmk.com [204.141.35.63]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2F7AgF01691; Fri, 15 Mar 2002 07:10:42 GMT Received: from tmk.com by tmk.com (PMDF V6.1 #37010) id <01KFDFE3HKXC0004G3@tmk.com>; Fri, 15 Mar 2002 02:10:40 -0500 (EST) Date: Fri, 15 Mar 2002 02:03:29 -0500 (EST) From: Terry Kennedy Subject: RE: Newbie: Problems with Catalyst In-reply-to: "Your message dated Tue, 12 Mar 2002 15:32:27 -0500" <1BC88FD1968349449B02BF6018227F34E9FEA1@engin-mail1.engin.umich.edu> To: Robert Klingsten Cc: "'john heasley'" , "'rancid-discuss@shrubbery.net'" Message-id: <01KFDFQQXZ6W0004G3@tmk.com> MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=us-ascii Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk > I tried what you suggested. the .new file has the complete config, and the > .raw file has the complete config and ends with: > ummu-cis6513-mr> (enable)Connection to ummu-cis6513-mr.ummu.umich.edu closed > by remote host. > Connection to ummu-cis6513-mr.ummu.umich.edu closed. > > It looks ok to me... is expect not matching the "Connection to > closed" message(s)? Are you using SSH to talk to the switch? I sent in a patch for this problem a month or two ago. Take a peek in the mailing list archives. After thinking about it, and the various other platforms where it happens, I think a better solution would be to invoke a harmless com- mand (for CatOS, something like "cd end-of-run:") and pick up on the "end-of-run" token instead of hoping some combination of Cisco OS, client SSH, and host TCP/IP stack will bother echoing the "exit" com- mand back to us before the connection gets torn down. Of course, on devices that have an "echo"-like command, this is even more elegant as we don't generate an (ignored) syntax error. Terry Kennedy http://www.tmk.com terry@tmk.com New York, NY USA From owner-rancid-discuss@shrubbery.net Fri Mar 15 14:33: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 g2FEXeS07649 for ; Fri, 15 Mar 2002 14:33:40 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2FFGRo03646 for rancid-discuss-outgoing; Fri, 15 Mar 2002 15:16:27 GMT Received: from gaspee.jwu.edu (gaspee.jwu.edu [198.112.1.19]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2FFGNF03642 for ; Fri, 15 Mar 2002 15:16:24 GMT Received: by gaspee.jwu.edu with Internet Mail Service (5.5.2653.19) id ; Fri, 15 Mar 2002 10:16:22 -0500 Message-ID: <415D42EC88D4D411A128009027AF978C03A5F1A2@gaspee.jwu.edu> From: Joshua Wright To: "'rancid-discuss@shrubbery.net'" Subject: clogin not logging into Cisco router Date: Fri, 15 Mar 2002 10:16:21 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk First, thanks for such a terrific tool. I have used RANCID 2.2 on a few FreeBSD boxes and have always been very happy with its results. I am trying to get RANCID 2.2 working on a Solaris machine, and am running into some troubles. Here are my vitals: $ uname -a SunOS george.services.brown.edu 5.8 Generic sun4u sparc SUNW,Ultra-5_10 $ ls -l `which tclsh` lrwxrwxrwx 1 root other 8 Oct 5 1999 /usr/local/bin/tclsh -> tclsh8.0* $ expect -v expect version 5.28.1 $ perl -v This is perl, version 5.005_03 built for sun4-solaris $ Running "rancid -d router.mydomain.com" results in: $ rancid -d router.mydomain.com executing clogin -t 90 -c"show version;show install active;show env all;show gsr chassis;show boot;show bootvar;show variables boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all slot1:;dir /all disk1:;dir /all sup-bootflash:;dir /all sup-microcode:;show controllers;show controllers cbus;show diagbus;show diag;show module;show c7200;show vtp status;show vlan;write term" router.mydomain.com router.mydomain.com clogin error: Error: TIMEOUT reached router.mydomain.com clogin error: Error: TIMEOUT reached router.mydomain.com: missed cmd(s): show diagbus,write term,dir /all bootflash:,show env all,show controllers cbus,dir /all nvram:,show module,show version,dir /all sup-bootflash:,show c7200,show variables boot,show flash,show vlan,dir /all slot0:,show install active,dir /all slot1:,show boot,show diag,show controllers,show gsr chassis,dir /all sup-microcode:,dir /all disk0:,dir /all disk1:,show bootvar,show vtp status router.mydomain.com: missed cmd(s): show diagbus,write term,dir /all bootflash:,show env all,show controllers cbus,dir /all nvram:,show module,show version,dir /all sup-bootflash:,show c7200,show variables boot,show flash,show vlan,dir /all slot0:,show install active,dir /all slot1:,show boot,show diag,show controllers,show gsr chassis,dir /all sup-microcode:,dir /all disk0:,dir /all disk1:,show bootvar,show vtp status router.mydomain.com: End of run not found router.mydomain.com: End of run not found ! $ Running "clogin -c "sh bootvar" router.mydomain.com" $ clogin -c "sh bootvar" router.mydomain.com router.mydomain.com spawn telnet router.mydomain.com Trying 1.1.1.1... Connected to router. Escape character is '^]'. Username : % Username : timeout expired! Username : Error: TIMEOUT reached $ Checking into the README, I am running >Solaris 2.6 so the patches don't apply. I don't think the problems with Linux+expect/tcl apply to me either. Contents of my .cloginrc file are as follows: add autoenable *.mydomain.com 1 add user *.mydomain.com username add password *.mydomain.com password I have verified the username and password are correct. The output from clogin appears that expect isn't passing the login information, any thoughts as to why? Thanks very much. -Joshua Wright Team Leader, Networks and Systems Johnson & Wales University Joshua.Wright@jwu.edu pgpkey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD44B4A73 fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73 From owner-rancid-discuss@shrubbery.net Fri Mar 15 17:25:11 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 g2FHPBS10658 for ; Fri, 15 Mar 2002 17:25:11 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2FI9H611541 for rancid-discuss-outgoing; Fri, 15 Mar 2002 18:09:18 GMT Received: from mxgate02.reliant.com (mxgate02.RELIANT.COM [208.205.136.170]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2FI9DF11535 for ; Fri, 15 Mar 2002 18:09:13 GMT Received: from rriexcon01.services.reinternal.com ([10.48.101.77]) by mxgate02.reliant.com (8.11.4/8.11.4) with ESMTP id g2FI97017392; Fri, 15 Mar 2002 12:09:07 -0600 (CST) Received: from rriexmb02.services.reinternal.com ([10.48.101.89]) by rriexcon01.services.reinternal.com with Microsoft SMTPSVC(5.0.2195.3779); Fri, 15 Mar 2002 12:08:58 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Subject: RE: clogin not logging into Cisco router Date: Fri, 15 Mar 2002 12:08:58 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: clogin not logging into Cisco router Thread-Index: AcHMRZmcSCyW8OSRSyOn0VQz16tULwABsEEQ From: "Zhang, Anchi" To: "Joshua Wright" , X-OriginalArrivalTime: 15 Mar 2002 18:08:58.0205 (UTC) FILETIME=[7A2720D0:01C1CC4C] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g2FI9DF11536 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Maybe the space between Username and : is giving problems: log2# grep Username clogin # Username # Enable Username if { "$u_prompt" == "" } { set u_prompt "(Username|Login|login|user name):" } log2# telnet 10.51.5.254 Trying 10.51.5.254... Connected to 10.51.5.254. Escape character is '^]'. User Access Verification Username: -----Original Message----- From: Joshua Wright [mailto:Joshua.Wright@jwu.edu] Sent: Friday, March 15, 2002 9:16 AM To: 'rancid-discuss@shrubbery.net' Subject: clogin not logging into Cisco router First, thanks for such a terrific tool. I have used RANCID 2.2 on a few FreeBSD boxes and have always been very happy with its results. I am trying to get RANCID 2.2 working on a Solaris machine, and am running into some troubles. Here are my vitals: $ uname -a SunOS george.services.brown.edu 5.8 Generic sun4u sparc SUNW,Ultra-5_10 $ ls -l `which tclsh` lrwxrwxrwx 1 root other 8 Oct 5 1999 /usr/local/bin/tclsh -> tclsh8.0* $ expect -v expect version 5.28.1 $ perl -v This is perl, version 5.005_03 built for sun4-solaris $ Running "rancid -d router.mydomain.com" results in: $ rancid -d router.mydomain.com executing clogin -t 90 -c"show version;show install active;show env all;show gsr chassis;show boot;show bootvar;show variables boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all slot1:;dir /all disk1:;dir /all sup-bootflash:;dir /all sup-microcode:;show controllers;show controllers cbus;show diagbus;show diag;show module;show c7200;show vtp status;show vlan;write term" router.mydomain.com router.mydomain.com clogin error: Error: TIMEOUT reached router.mydomain.com clogin error: Error: TIMEOUT reached router.mydomain.com: missed cmd(s): show diagbus,write term,dir /all bootflash:,show env all,show controllers cbus,dir /all nvram:,show module,show version,dir /all sup-bootflash:,show c7200,show variables boot,show flash,show vlan,dir /all slot0:,show install active,dir /all slot1:,show boot,show diag,show controllers,show gsr chassis,dir /all sup-microcode:,dir /all disk0:,dir /all disk1:,show bootvar,show vtp status router.mydomain.com: missed cmd(s): show diagbus,write term,dir /all bootflash:,show env all,show controllers cbus,dir /all nvram:,show module,show version,dir /all sup-bootflash:,show c7200,show variables boot,show flash,show vlan,dir /all slot0:,show install active,dir /all slot1:,show boot,show diag,show controllers,show gsr chassis,dir /all sup-microcode:,dir /all disk0:,dir /all disk1:,show bootvar,show vtp status router.mydomain.com: End of run not found router.mydomain.com: End of run not found ! $ Running "clogin -c "sh bootvar" router.mydomain.com" $ clogin -c "sh bootvar" router.mydomain.com router.mydomain.com spawn telnet router.mydomain.com Trying 1.1.1.1... Connected to router. Escape character is '^]'. Username : % Username : timeout expired! Username : Error: TIMEOUT reached $ Checking into the README, I am running >Solaris 2.6 so the patches don't apply. I don't think the problems with Linux+expect/tcl apply to me either. Contents of my .cloginrc file are as follows: add autoenable *.mydomain.com 1 add user *.mydomain.com username add password *.mydomain.com password I have verified the username and password are correct. The output from clogin appears that expect isn't passing the login information, any thoughts as to why? Thanks very much. -Joshua Wright Team Leader, Networks and Systems Johnson & Wales University Joshua.Wright@jwu.edu pgpkey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD44B4A73 fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73 From owner-rancid-discuss@shrubbery.net Fri Mar 15 18:02:52 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 g2FI2qS11753 for ; Fri, 15 Mar 2002 18:02:52 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2FIlUA17160 for rancid-discuss-outgoing; Fri, 15 Mar 2002 18:47:30 GMT Received: from gaspee.jwu.edu (gaspee.jwu.edu [198.112.1.19]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2FIlQF17154 for ; Fri, 15 Mar 2002 18:47:26 GMT Received: by gaspee.jwu.edu with Internet Mail Service (5.5.2653.19) id ; Fri, 15 Mar 2002 13:47:25 -0500 Message-ID: <415D42EC88D4D411A128009027AF978C03A5F1A9@gaspee.jwu.edu> From: Joshua Wright To: "'Zhang, Anchi'" , Joshua Wright , rancid-discuss@shrubbery.net Subject: RE: clogin not logging into Cisco router Date: Fri, 15 Mar 2002 13:47:24 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I tried adding a prompt to my .cloginrc file as follows: $ more .cloginrc add autoenable *.mydomain.com 1 add user *.mydomain.com username add password *.mydomain.com password add prompt *.mydomain.com {"Username :"} $ clogin -c "sh bootvar" router.mydomain.com router.mydomain.com spawn telnet router.mydomain.com Trying 1.1.1.1... Connected to router. Escape character is '^]'. Username : % Username : timeout expired! Username : Error: TIMEOUT reached $ Still no go. Do I have the syntax incorrect for "add prompt"? Thanks. -Joshua Wright Team Leader, Networks and Systems Johnson & Wales University Joshua.Wright@jwu.edu pgpkey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD44B4A73 fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73 -----Original Message----- From: Zhang, Anchi [mailto:AZhang@reliant.com] Sent: Friday, March 15, 2002 1:09 PM To: Joshua Wright; rancid-discuss@shrubbery.net Subject: RE: clogin not logging into Cisco router Maybe the space between Username and : is giving problems: log2# grep Username clogin # Username # Enable Username if { "$u_prompt" == "" } { set u_prompt "(Username|Login|login|user name):" } log2# telnet 10.51.5.254 Trying 10.51.5.254... Connected to 10.51.5.254. Escape character is '^]'. User Access Verification Username: -----Original Message----- From: Joshua Wright [mailto:Joshua.Wright@jwu.edu] Sent: Friday, March 15, 2002 9:16 AM To: 'rancid-discuss@shrubbery.net' Subject: clogin not logging into Cisco router First, thanks for such a terrific tool. I have used RANCID 2.2 on a few FreeBSD boxes and have always been very happy with its results. I am trying to get RANCID 2.2 working on a Solaris machine, and am running into some troubles. Here are my vitals: $ uname -a SunOS george.services.brown.edu 5.8 Generic sun4u sparc SUNW,Ultra-5_10 $ ls -l `which tclsh` lrwxrwxrwx 1 root other 8 Oct 5 1999 /usr/local/bin/tclsh -> tclsh8.0* $ expect -v expect version 5.28.1 $ perl -v This is perl, version 5.005_03 built for sun4-solaris $ Running "rancid -d router.mydomain.com" results in: $ rancid -d router.mydomain.com executing clogin -t 90 -c"show version;show install active;show env all;show gsr chassis;show boot;show bootvar;show variables boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all slot1:;dir /all disk1:;dir /all sup-bootflash:;dir /all sup-microcode:;show controllers;show controllers cbus;show diagbus;show diag;show module;show c7200;show vtp status;show vlan;write term" router.mydomain.com router.mydomain.com clogin error: Error: TIMEOUT reached router.mydomain.com clogin error: Error: TIMEOUT reached router.mydomain.com: missed cmd(s): show diagbus,write term,dir /all bootflash:,show env all,show controllers cbus,dir /all nvram:,show module,show version,dir /all sup-bootflash:,show c7200,show variables boot,show flash,show vlan,dir /all slot0:,show install active,dir /all slot1:,show boot,show diag,show controllers,show gsr chassis,dir /all sup-microcode:,dir /all disk0:,dir /all disk1:,show bootvar,show vtp status router.mydomain.com: missed cmd(s): show diagbus,write term,dir /all bootflash:,show env all,show controllers cbus,dir /all nvram:,show module,show version,dir /all sup-bootflash:,show c7200,show variables boot,show flash,show vlan,dir /all slot0:,show install active,dir /all slot1:,show boot,show diag,show controllers,show gsr chassis,dir /all sup-microcode:,dir /all disk0:,dir /all disk1:,show bootvar,show vtp status router.mydomain.com: End of run not found router.mydomain.com: End of run not found ! $ Running "clogin -c "sh bootvar" router.mydomain.com" $ clogin -c "sh bootvar" router.mydomain.com router.mydomain.com spawn telnet router.mydomain.com Trying 1.1.1.1... Connected to router. Escape character is '^]'. Username : % Username : timeout expired! Username : Error: TIMEOUT reached $ Checking into the README, I am running >Solaris 2.6 so the patches don't apply. I don't think the problems with Linux+expect/tcl apply to me either. Contents of my .cloginrc file are as follows: add autoenable *.mydomain.com 1 add user *.mydomain.com username add password *.mydomain.com password I have verified the username and password are correct. The output from clogin appears that expect isn't passing the login information, any thoughts as to why? Thanks very much. -Joshua Wright Team Leader, Networks and Systems Johnson & Wales University Joshua.Wright@jwu.edu pgpkey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD44B4A73 fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73 From owner-rancid-discuss@shrubbery.net Fri Mar 15 18:16:24 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 g2FIGOS11871 for ; Fri, 15 Mar 2002 18:16:24 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2FJ1AN19032 for rancid-discuss-outgoing; Fri, 15 Mar 2002 19:01:10 GMT Received: from mxgate02.reliant.com (mxgate02.RELIANT.COM [208.205.136.170]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2FJ16F19028 for ; Fri, 15 Mar 2002 19:01:06 GMT Received: from rriexcon01.services.reinternal.com ([10.48.101.77]) by mxgate02.reliant.com (8.11.4/8.11.4) with ESMTP id g2FJ10019707; Fri, 15 Mar 2002 13:01:00 -0600 (CST) Received: from rriexmb02.services.reinternal.com ([10.48.101.89]) by rriexcon01.services.reinternal.com with Microsoft SMTPSVC(5.0.2195.3779); Fri, 15 Mar 2002 13:00:57 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Subject: RE: clogin not logging into Cisco router Date: Fri, 15 Mar 2002 13:00:51 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: clogin not logging into Cisco router Thread-Index: AcHMUdYH+t1+Q1pkRua5Cjs5FxdDXgAAEM7w From: "Zhang, Anchi" To: "Joshua Wright" , X-OriginalArrivalTime: 15 Mar 2002 19:00:57.0473 (UTC) FILETIME=[BD61A710:01C1CC53] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g2FJ16F19029 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I have no experience in add prompt. How did you get to have the "Username :" prompt? Did you change it through your AAA server? Anchi -----Original Message----- From: Joshua Wright [mailto:Joshua.Wright@jwu.edu] Sent: Friday, March 15, 2002 12:47 PM To: Zhang, Anchi; Joshua Wright; rancid-discuss@shrubbery.net Subject: RE: clogin not logging into Cisco router I tried adding a prompt to my .cloginrc file as follows: $ more .cloginrc add autoenable *.mydomain.com 1 add user *.mydomain.com username add password *.mydomain.com password add prompt *.mydomain.com {"Username :"} $ clogin -c "sh bootvar" router.mydomain.com router.mydomain.com spawn telnet router.mydomain.com Trying 1.1.1.1... Connected to router. Escape character is '^]'. Username : % Username : timeout expired! Username : Error: TIMEOUT reached $ Still no go. Do I have the syntax incorrect for "add prompt"? Thanks. -Joshua Wright Team Leader, Networks and Systems Johnson & Wales University Joshua.Wright@jwu.edu pgpkey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD44B4A73 fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73 -----Original Message----- From: Zhang, Anchi [mailto:AZhang@reliant.com] Sent: Friday, March 15, 2002 1:09 PM To: Joshua Wright; rancid-discuss@shrubbery.net Subject: RE: clogin not logging into Cisco router Maybe the space between Username and : is giving problems: log2# grep Username clogin # Username # Enable Username if { "$u_prompt" == "" } { set u_prompt "(Username|Login|login|user name):" } log2# telnet 10.51.5.254 Trying 10.51.5.254... Connected to 10.51.5.254. Escape character is '^]'. User Access Verification Username: -----Original Message----- From: Joshua Wright [mailto:Joshua.Wright@jwu.edu] Sent: Friday, March 15, 2002 9:16 AM To: 'rancid-discuss@shrubbery.net' Subject: clogin not logging into Cisco router First, thanks for such a terrific tool. I have used RANCID 2.2 on a few FreeBSD boxes and have always been very happy with its results. I am trying to get RANCID 2.2 working on a Solaris machine, and am running into some troubles. Here are my vitals: $ uname -a SunOS george.services.brown.edu 5.8 Generic sun4u sparc SUNW,Ultra-5_10 $ ls -l `which tclsh` lrwxrwxrwx 1 root other 8 Oct 5 1999 /usr/local/bin/tclsh -> tclsh8.0* $ expect -v expect version 5.28.1 $ perl -v This is perl, version 5.005_03 built for sun4-solaris $ Running "rancid -d router.mydomain.com" results in: $ rancid -d router.mydomain.com executing clogin -t 90 -c"show version;show install active;show env all;show gsr chassis;show boot;show bootvar;show variables boot;show flash;dir /all nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all slot1:;dir /all disk1:;dir /all sup-bootflash:;dir /all sup-microcode:;show controllers;show controllers cbus;show diagbus;show diag;show module;show c7200;show vtp status;show vlan;write term" router.mydomain.com router.mydomain.com clogin error: Error: TIMEOUT reached router.mydomain.com clogin error: Error: TIMEOUT reached router.mydomain.com: missed cmd(s): show diagbus,write term,dir /all bootflash:,show env all,show controllers cbus,dir /all nvram:,show module,show version,dir /all sup-bootflash:,show c7200,show variables boot,show flash,show vlan,dir /all slot0:,show install active,dir /all slot1:,show boot,show diag,show controllers,show gsr chassis,dir /all sup-microcode:,dir /all disk0:,dir /all disk1:,show bootvar,show vtp status router.mydomain.com: missed cmd(s): show diagbus,write term,dir /all bootflash:,show env all,show controllers cbus,dir /all nvram:,show module,show version,dir /all sup-bootflash:,show c7200,show variables boot,show flash,show vlan,dir /all slot0:,show install active,dir /all slot1:,show boot,show diag,show controllers,show gsr chassis,dir /all sup-microcode:,dir /all disk0:,dir /all disk1:,show bootvar,show vtp status router.mydomain.com: End of run not found router.mydomain.com: End of run not found ! $ Running "clogin -c "sh bootvar" router.mydomain.com" $ clogin -c "sh bootvar" router.mydomain.com router.mydomain.com spawn telnet router.mydomain.com Trying 1.1.1.1... Connected to router. Escape character is '^]'. Username : % Username : timeout expired! Username : Error: TIMEOUT reached $ Checking into the README, I am running >Solaris 2.6 so the patches don't apply. I don't think the problems with Linux+expect/tcl apply to me either. Contents of my .cloginrc file are as follows: add autoenable *.mydomain.com 1 add user *.mydomain.com username add password *.mydomain.com password I have verified the username and password are correct. The output from clogin appears that expect isn't passing the login information, any thoughts as to why? Thanks very much. -Joshua Wright Team Leader, Networks and Systems Johnson & Wales University Joshua.Wright@jwu.edu pgpkey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD44B4A73 fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73 From owner-rancid-discuss@shrubbery.net Fri Mar 15 20:59:11 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 g2FKxBS15517 for ; Fri, 15 Mar 2002 20:59:11 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2FLiqh23392 for rancid-discuss-outgoing; Fri, 15 Mar 2002 21:44:52 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2FLijZ23387; Fri, 15 Mar 2002 21:44:45 GMT Date: Fri, 15 Mar 2002 13:44:45 -0800 From: john heasley To: "Zhang, Anchi" Cc: Andrew Partan , rancid-discuss@shrubbery.net Subject: Re: Prevent PAGP messages from showing up in diffs Message-ID: <20020315134444.A23373@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 AZhang@reliant.com on Thu, Mar 14, 2002 at 11:17:43AM -0600 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, Mar 14, 2002 at 11:17:43AM -0600, Zhang, Anchi: > The command acctually works if I login and issue the command manually. > > What would be a good way to tell whether rancid actually sends this > command? > > Anchi it is only sent when using a script (clogin -s). iirc, this is a system-wide ocmmand, not a per-login/terminal setting. best is to make this a permanent part of your configuration. > -----Original Message----- > From: Andrew Partan [mailto:asp@partan.com] > Sent: Wednesday, March 13, 2002 9:17 PM > To: Zhang, Anchi > Cc: rancid-discuss@shrubbery.net > Subject: Re: Prevent PAGP messages from showing up in diffs > > > On Wed, Mar 06, 2002 at 09:26:08AM -0600, Zhang, Anchi wrote: > > log2# grep "set logging session disable" clogin > > send "set logging session disable\r" > > Hmm; so what is that not working? Does this command actually work > on the switch & code you are running? Is rancid sending this > command to your switch? > --asp From owner-rancid-discuss@shrubbery.net Fri Mar 15 21:09:06 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 g2FL96S15603 for ; Fri, 15 Mar 2002 21:09:06 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2FLt1623504 for rancid-discuss-outgoing; Fri, 15 Mar 2002 21:55:02 GMT Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2FLswF23500 for ; Fri, 15 Mar 2002 21:54:58 GMT Received: (from asp@localhost) by tower.partan.com (8.9.3/8.9.3) id QAA02051; Fri, 15 Mar 2002 16:54:46 -0500 (EST) Date: Fri, 15 Mar 2002 16:54:46 -0500 From: Andrew Partan To: Joshua Wright Cc: "'Zhang, Anchi'" , rancid-discuss@shrubbery.net Subject: Re: clogin not logging into Cisco router Message-ID: <20020315165446.B18718@partan.com> References: <415D42EC88D4D411A128009027AF978C03A5F1A9@gaspee.jwu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <415D42EC88D4D411A128009027AF978C03A5F1A9@gaspee.jwu.edu>; from Joshua.Wright@jwu.edu on Fri, Mar 15, 2002 at 01:47:24PM -0500 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Fri, Mar 15, 2002 at 01:47:24PM -0500, Joshua Wright wrote: > add prompt *.mydomain.com {"Username :"} You want userprompt. Bits of clogin: # Figure out prompts set u_prompt [find userprompt $router] if { "$u_prompt" == "" } { set u_prompt "(Username|Login|login|user name):"} set p_prompt [find passprompt $router] if { "$p_prompt" == "" } { set p_prompt "(\[Pp]assword|passwd):" } set e_prompt [find enableprompt $router] if { "$e_prompt" == "" } { set e_prompt "\[Pp]assword:" } --asp From owner-rancid-discuss@shrubbery.net Fri Mar 15 22:14:15 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 g2FMEES17051 for ; Fri, 15 Mar 2002 22:14:14 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2FN0TH24019 for rancid-discuss-outgoing; Fri, 15 Mar 2002 23:00:30 GMT Received: from mxgate02.reliant.com (mxgate02.RELIANT.COM [208.205.136.170]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2FN0Pf24012; Fri, 15 Mar 2002 23:00:26 GMT Received: from rriexcon01.services.reinternal.com ([10.48.101.77]) by mxgate02.reliant.com (8.11.4/8.11.4) with ESMTP id g2FN0J002620; Fri, 15 Mar 2002 17:00:19 -0600 (CST) Received: from rriexmb02.services.reinternal.com ([10.48.101.89]) by rriexcon01.services.reinternal.com with Microsoft SMTPSVC(5.0.2195.3779); Fri, 15 Mar 2002 17:00:13 -0600 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Subject: RE: Prevent PAGP messages from showing up in diffs Date: Fri, 15 Mar 2002 17:00:10 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Prevent PAGP messages from showing up in diffs Thread-Index: AcHMapwoO1fOzwVwRCqm+XonJyJM2gACj1Gg From: "Zhang, Anchi" To: "john heasley" Cc: "Andrew Partan" , X-OriginalArrivalTime: 15 Mar 2002 23:00:13.0086 (UTC) FILETIME=[29FE5BE0:01C1CC75] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by guelah.shrubbery.net id g2FN0Qf24013 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thanks for your pointer. Adding -s to clogin made it work: log2# diff cat5rancid cat5rancid.orig 1031c1031 < system "clogin -s -t $timeo -c \"$cisco_cmds\" $host $host.raw 2>&1" || die "clogin failed for $host: $!\n"; --- > system "clogin -t $timeo -c \"$cisco_cmds\" $host $host.raw 2>&1" || die "clogin failed for $host: $!\n"; -----Original Message----- From: john heasley [mailto:heas@shrubbery.net] Sent: Friday, March 15, 2002 3:45 PM To: Zhang, Anchi Cc: Andrew Partan; rancid-discuss@shrubbery.net Subject: Re: Prevent PAGP messages from showing up in diffs Thu, Mar 14, 2002 at 11:17:43AM -0600, Zhang, Anchi: > The command acctually works if I login and issue the command manually. > > What would be a good way to tell whether rancid actually sends this > command? > > Anchi it is only sent when using a script (clogin -s). iirc, this is a system-wide ocmmand, not a per-login/terminal setting. best is to make this a permanent part of your configuration. > -----Original Message----- > From: Andrew Partan [mailto:asp@partan.com] > Sent: Wednesday, March 13, 2002 9:17 PM > To: Zhang, Anchi > Cc: rancid-discuss@shrubbery.net > Subject: Re: Prevent PAGP messages from showing up in diffs > > > On Wed, Mar 06, 2002 at 09:26:08AM -0600, Zhang, Anchi wrote: > > log2# grep "set logging session disable" clogin > > send "set logging session disable\r" > > Hmm; so what is that not working? Does this command actually work > on the switch & code you are running? Is rancid sending this > command to your switch? > --asp From owner-rancid-discuss@shrubbery.net Fri Mar 15 22:48:34 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 g2FMmXS18552 for ; Fri, 15 Mar 2002 22:48:33 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2FNZDR24245 for rancid-discuss-outgoing; Fri, 15 Mar 2002 23:35:13 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2FNZ6I24240; Fri, 15 Mar 2002 23:35:06 GMT Date: Fri, 15 Mar 2002 23:35:06 +0000 From: john heasley To: "Zhang, Anchi" Cc: Joshua Wright , rancid-discuss@shrubbery.net Subject: Re: clogin not logging into Cisco router Message-ID: <20020315233506.F1223@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 AZhang@reliant.com on Fri, Mar 15, 2002 at 01:00:51PM -0600 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, Mar 15, 2002 at 01:00:51PM -0600, Zhang, Anchi: > I have no experience in add prompt. How did you get to have the > "Username :" prompt? Did you change it through your AAA server? i believe, for most cisco products, AAA is the only method to alter the prompt. my advice, wrt rancid and automation, is to leave it alone. altering it adds zero value. > Anchi > > -----Original Message----- > From: Joshua Wright [mailto:Joshua.Wright@jwu.edu] > Sent: Friday, March 15, 2002 12:47 PM > To: Zhang, Anchi; Joshua Wright; rancid-discuss@shrubbery.net > Subject: RE: clogin not logging into Cisco router > > > I tried adding a prompt to my .cloginrc file as follows: > > $ more .cloginrc > add autoenable *.mydomain.com 1 > add user *.mydomain.com username > add password *.mydomain.com password > add prompt *.mydomain.com {"Username :"} > $ clogin -c "sh bootvar" router.mydomain.com > router.mydomain.com > spawn telnet router.mydomain.com > Trying 1.1.1.1... > Connected to router. > Escape character is '^]'. > > Username : > % Username : timeout expired! > Username : > Error: TIMEOUT reached > $ > > > Still no go. Do I have the syntax incorrect for "add prompt"? > > Thanks. > > -Joshua Wright > Team Leader, Networks and Systems > Johnson & Wales University > Joshua.Wright@jwu.edu > > pgpkey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD44B4A73 > fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73 > > > -----Original Message----- > From: Zhang, Anchi [mailto:AZhang@reliant.com] > Sent: Friday, March 15, 2002 1:09 PM > To: Joshua Wright; rancid-discuss@shrubbery.net > Subject: RE: clogin not logging into Cisco router > > > Maybe the space between Username and : is giving problems: > > log2# grep Username clogin > # Username > # Enable Username > if { "$u_prompt" == "" } { set u_prompt "(Username|Login|login|user > name):" } > log2# telnet 10.51.5.254 > Trying 10.51.5.254... > Connected to 10.51.5.254. > Escape character is '^]'. > > > User Access Verification > > Username: > > -----Original Message----- > From: Joshua Wright [mailto:Joshua.Wright@jwu.edu] > Sent: Friday, March 15, 2002 9:16 AM > To: 'rancid-discuss@shrubbery.net' > Subject: clogin not logging into Cisco router > > > First, thanks for such a terrific tool. I have used RANCID 2.2 on a few > FreeBSD boxes and have always been very happy with its results. > > I am trying to get RANCID 2.2 working on a Solaris machine, and am > running > into some troubles. Here are my vitals: > > $ uname -a > SunOS george.services.brown.edu 5.8 Generic sun4u sparc SUNW,Ultra-5_10 > $ ls -l `which tclsh` > lrwxrwxrwx 1 root other 8 Oct 5 1999 > /usr/local/bin/tclsh > -> tclsh8.0* > $ expect -v > expect version 5.28.1 > $ perl -v > > This is perl, version 5.005_03 built for sun4-solaris > > $ > > Running "rancid -d router.mydomain.com" results in: > > $ rancid -d router.mydomain.com > executing clogin -t 90 -c"show version;show install active;show env > all;show > gsr chassis;show boot;show bootvar;show variables boot;show flash;dir > /all > nvram:;dir /all bootflash:;dir /all slot0:;dir /all disk0:;dir /all > slot1:;dir /all disk1:;dir /all sup-bootflash:;dir /all > sup-microcode:;show > controllers;show controllers cbus;show diagbus;show diag;show > module;show > c7200;show vtp status;show vlan;write term" router.mydomain.com > router.mydomain.com clogin error: Error: TIMEOUT reached > router.mydomain.com clogin error: Error: TIMEOUT reached > router.mydomain.com: missed cmd(s): show diagbus,write term,dir /all > bootflash:,show env all,show controllers cbus,dir /all nvram:,show > module,show version,dir /all sup-bootflash:,show c7200,show variables > boot,show flash,show vlan,dir /all slot0:,show install active,dir /all > slot1:,show boot,show diag,show controllers,show gsr chassis,dir /all > sup-microcode:,dir /all disk0:,dir /all disk1:,show bootvar,show vtp > status > router.mydomain.com: missed cmd(s): show diagbus,write term,dir /all > bootflash:,show env all,show controllers cbus,dir /all nvram:,show > module,show version,dir /all sup-bootflash:,show c7200,show variables > boot,show flash,show vlan,dir /all slot0:,show install active,dir /all > slot1:,show boot,show diag,show controllers,show gsr chassis,dir /all > sup-microcode:,dir /all disk0:,dir /all disk1:,show bootvar,show vtp > status > router.mydomain.com: End of run not found > router.mydomain.com: End of run not found > ! > $ > > Running "clogin -c "sh bootvar" router.mydomain.com" > > $ clogin -c "sh bootvar" router.mydomain.com > router.mydomain.com > spawn telnet router.mydomain.com > Trying 1.1.1.1... > Connected to router. > Escape character is '^]'. > > Username : > % Username : timeout expired! > Username : > Error: TIMEOUT reached > $ > > Checking into the README, I am running >Solaris 2.6 so the patches don't > apply. I don't think the problems with Linux+expect/tcl apply to me > either. > Contents of my .cloginrc file are as follows: > > add autoenable *.mydomain.com 1 > add user *.mydomain.com username > add password *.mydomain.com password > > I have verified the username and password are correct. The output from > clogin appears that expect isn't passing the login information, any > thoughts > as to why? > > Thanks very much. > > > -Joshua Wright > Team Leader, Networks and Systems > Johnson & Wales University > Joshua.Wright@jwu.edu > > pgpkey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD44B4A73 > fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73 From owner-rancid-discuss@shrubbery.net Wed Mar 27 18:29:03 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 g2RIT3G08867 for ; Wed, 27 Mar 2002 18:29:03 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2RIsXA01715 for rancid-discuss-outgoing; Wed, 27 Mar 2002 18:54:33 GMT Received: from smtp.llnw.com (dns.llnw.com [208.48.140.66]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2RIsTs01706 for ; Wed, 27 Mar 2002 18:54:29 GMT Received: from AX200105 (dhcp177.llnw.com [208.48.140.177]) by smtp.llnw.com (8.11.4/8.11.4) with SMTP id g2RImJo08563 for ; Wed, 27 Mar 2002 11:48:19 -0700 Message-ID: <01d101c1d5c0$452ed9e0$b18c30d0@phx.axient.com> From: "Bill Petrisko" To: Subject: Alteon scpadm password Date: Wed, 27 Mar 2002 11:50:31 -0700 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 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Looks like the following password is not removed from an Alteon config (pieces removed): - /cfg/sys/sshd/scpadm ".....................7b2e99a09d8a8baa3...................086442f" + /cfg/sys/sshd/scpadm ".....................3e6c7788b5ac4d70877ecd..............fd16547" /c/sys/sshd/on I've got my "FILTER_PWDS=ALL; export FILTER_PWDS" in env. This is in rancid-2.2. Can someone provide a patch to fix this, and include in the next update? :) Obviously, if i've missed something, feel free to tell me that. bill From owner-rancid-discuss@shrubbery.net Thu Mar 28 01:10:47 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 g2S1AlG16221 for ; Thu, 28 Mar 2002 01:10:47 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2S1fnD22309 for rancid-discuss-outgoing; Thu, 28 Mar 2002 01:41:49 GMT Received: from marina.lowendale.com.au (gw.lowendale.com.au [203.26.242.120]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2S1fhs22297 for ; Thu, 28 Mar 2002 01:41:44 GMT Received: from localhost (neale@localhost) by marina.lowendale.com.au (8.9.3/8.9.3/Debian/GNU) with ESMTP id NAA00934 for ; Thu, 28 Mar 2002 13:17:16 +1100 Date: Thu, 28 Mar 2002 13:17:15 +1100 (EST) From: Neale Banks To: rancid-discuss@shrubbery.net Subject: foundry intermittently missing config fragments Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Greetings, Anyone else having problems with Foundry intermittently missing fragments of the config? As in, one run will show a diff with a hunk of lines removed w.r.t the previous run and typically the following run will show the hunk being replaced. This has so far only been observed with one build of Foundry s/w: rev 07.5.02aT53 (labelled "B2P07502a" and compiled on "Mar 01 2002"). Other observations: * timing appears random * the missing hunk is exactly a contiguous set of whole lines * not always the same hunk missing, but "familiar patterns" recur * rancid 2.1 Yeah, I know this smells horribly like a foundry bug - but if that's the case I need to "prove" it {:-( Any ideas? Thanks, Neale. From owner-rancid-discuss@shrubbery.net Thu Mar 28 06:47:36 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 g2S6lZG21945 for ; Thu, 28 Mar 2002 06:47:35 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2S7KqM05658 for rancid-discuss-outgoing; Thu, 28 Mar 2002 07:20:52 GMT Received: from marina.lowendale.com.au (gw.lowendale.com.au [203.26.242.120]) by guelah.shrubbery.net (8.11.6/8.11.1) with ESMTP id g2S7Kls05645 for ; Thu, 28 Mar 2002 07:20:47 GMT Received: from localhost (neale@localhost) by marina.lowendale.com.au (8.9.3/8.9.3/Debian/GNU) with ESMTP id SAA01600 for ; Thu, 28 Mar 2002 18:56:20 +1100 Date: Thu, 28 Mar 2002 18:56:16 +1100 (EST) From: Neale Banks To: rancid-discuss@shrubbery.net Subject: Re: foundry intermittently missing config fragments In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Thu, 28 Mar 2002, Neale Banks wrote: > Greetings, > > Anyone else having problems with Foundry intermittently missing fragments > of the config? [...] > This has so far only been observed with one build of Foundry s/w: rev > 07.5.02aT53 (labelled "B2P07502a" and compiled on "Mar 01 2002"). [...] > Yeah, I know this smells horribly like a foundry bug - but if that's the > case I need to "prove" it {:-( Cancel this, my friend tcpdump says it *is* a Foundry bug (i.e. rancid is telling the truth ;-). Regards, Neale. From owner-rancid-discuss@shrubbery.net Thu Mar 28 06:49: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 g2S6nhG21952 for ; Thu, 28 Mar 2002 06:49:43 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2S7NRn05985 for rancid-discuss-outgoing; Thu, 28 Mar 2002 07:23:28 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2S7NOc05976; Thu, 28 Mar 2002 07:23:24 GMT Date: Wed, 27 Mar 2002 23:23:24 -0800 From: john heasley To: Bill Petrisko Cc: rancid-discuss@shrubbery.net Subject: Re: Alteon scpadm password Message-ID: <20020327232323.L28380@shrubbery.net> References: <01d101c1d5c0$452ed9e0$b18c30d0@phx.axient.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: <01d101c1d5c0$452ed9e0$b18c30d0@phx.axient.com>; from bill@limelightnetworks.com on Wed, Mar 27, 2002 at 11:50:31AM -0700 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Wed, Mar 27, 2002 at 11:50:31AM -0700, Bill Petrisko: > Looks like the following password is not removed from an Alteon config > (pieces removed): > > - /cfg/sys/sshd/scpadm > ".....................7b2e99a09d8a8baa3...................086442f" > + /cfg/sys/sshd/scpadm > ".....................3e6c7788b5ac4d70877ecd..............fd16547" > /c/sys/sshd/on > > I've got my "FILTER_PWDS=ALL; export FILTER_PWDS" in env. > > This is in rancid-2.2. > > Can someone provide a patch to fix this, and include in the next update? :) > > Obviously, if i've missed something, feel free to tell me that. > > bill these knobs were added after andrew fort contributed the filter for the alteon. since we do not have alteons, i dont know what to filter. if you (or someone) can help us determine what should be filtered or share some complete configs, then i can provide a patch. sorry. -heas From owner-rancid-discuss@shrubbery.net Thu Mar 28 17:17:41 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 g2SHHfG02376 for ; Thu, 28 Mar 2002 17:17:41 GMT Received: (from majordom@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2SHt7i08810 for rancid-discuss-outgoing; Thu, 28 Mar 2002 17:55:07 GMT Received: (from heas@localhost) by guelah.shrubbery.net (8.11.6/8.11.1) id g2SHt3T08805; Thu, 28 Mar 2002 17:55:03 GMT Date: Thu, 28 Mar 2002 09:55:03 -0800 From: john heasley To: Dave Packham Cc: rancid-discuss@shrubbery.net Subject: Re: Up-to-date failed?? Message-ID: <20020328095503.M28380@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 dpackham@netcom.utah.edu on Thu, Mar 28, 2002 at 08:42:45AM -0700 X-note: live free, or die! X-homer: mmmm, forbidden doughnut. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, Mar 28, 2002 at 08:42:45AM -0700, Dave Packham: > Has anyone seen this one? And how do I get rid of this error? this would seem to indicate that those files are in fact non-existent in the directory configs (not the repository). if you run 'cvs update' in that dir, it will extract the most recent version. i dont know why this would have occured. in the past, folks have had this occur for one of the following reasons: 1) someone was messing around with rancid's directory 2) the machine crashed or processes were violently killed we patched 2 by adding a cvs update before collection to control_rancid. so that should not occur. > > > Dave > > > > > > > > Trying to get all of the configs. > > All routers sucessfully completed. > > > > cvs diff: Diffing . > > cvs diff: Diffing configs > > cvs diff: cannot find configs/ds2-001park-150.net.utah.edu > > cvs diff: cannot find configs/ds2-064eng-3555.net.utah.edu > > cvs diff: cannot find configs/ds2-086lib-202.net.utah.edu > > cvs diff: cannot find configs/ds2-179ebc-070.net.utah.edu > > cvs diff: cannot find configs/dx1-064eng-3555.net.utah.edu > > cvs diff: cannot find configs/dx1-179ebc-media.net.utah.edu > > cvs diff: cannot find configs/dx1-179ebc-node.net.utah.edu > > cvs diff: cannot find configs/dx1-822bnch-83267c.net.utah.edu > > cvs diff: configs/r1-893bhawk-016.net.utah.edu is a new entry, no > comparison available > > cvs commit: Examining . > > cvs commit: Examining configs > > cvs commit: Up-to-date check failed for > `configs/as-001park-150.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/as-064eng-3555.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/as-086lib-202.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/as-822fort-001.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/as-893bhawk-016.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/ds1-001park-150.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/ds1-064eng-3555.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/ds1-086lib-202.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/ds1-822fort-001.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/ds1-893bhawk-016.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/ds2-001park-150.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/ds2-064eng-3555.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/ds2-086lib-202.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/ds2-179ebc-070.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/ds2-822fort-001.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/ds2-893bhawk-016.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/dx1-064eng-3555.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/dx1-179ebc-media.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/dx1-179ebc-node.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/dx1-822bnch-83267c.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/gw-001park-150.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/gw-179ebc-070.net.utah.edu' > > cvs commit: Up-to-date check failed for > `configs/r1-001park-150.net.utah.edu' > > cvs [commit aborted]: correct above errors first! > > > > ending: Thu Mar 28 08:41:50 MST 2002 > > >