From owner-rancid-discuss-outgoing@shrubbery.net Tue Dec 7 19:45:59 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 07AE511CE32 for ; Tue, 7 Dec 2004 19:45:58 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 354FA11146; Tue, 7 Dec 2004 19:45:58 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 28FCA1114D; Tue, 7 Dec 2004 19:45:58 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from helpdesk.altn.com (mail.helpdesk.altn.com [69.93.159.132]) by guelah.shrubbery.net (Postfix) with ESMTP id 4B62911146 for ; Tue, 7 Dec 2004 19:45:52 +0000 (UTC) Received: from BRYCE by helpdesk.altn.com (MDaemon.PRO.v7.2.1.R) with ESMTP id 04-md50000008988.msg for ; Tue, 07 Dec 2004 13:45:37 -0600 Message-ID: <01f701c4dc95$5296f840$c8320a0a@gis2.com> From: "Bryce Edwards" To: Subject: Alteon SSL and Dell PowerConnect Date: Tue, 7 Dec 2004 13:45:36 -0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Authenticated-Sender: bryce@gis2.com X-Spam-Processed: mail.helpdesk.altn.com, Tue, 07 Dec 2004 13:45:37 -0600 (not processed: message from valid local sender) X-Return-Path: bryce@gis2.com X-MDaemon-Deliver-To: rancid-discuss@shrubbery.net X-MDAV-Processed: mail.helpdesk.altn.com, Tue, 07 Dec 2004 13:45:42 -0600 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I was hoping you could point me in the right direction for using RANCID on a couple of devices it doesn't seem to currently support. I'd like to customize it to be able to get configs for Alteon iSD SSL device as well as Dell PowerConnect switches. Please point me in the right direction of how I should do that. I assume I need to copy a script and edit the Expect to use the correct dialog for those devices, which would be very similar to the existing Alteon and Cisco scripts. I would be happy to provide session logs if that helps get support for these devices into the official version. Thanks! -- Bryce From owner-rancid-discuss-outgoing@shrubbery.net Wed Dec 8 17:27:49 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 1E5AD11CE2D for ; Wed, 8 Dec 2004 17:27:49 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id B64B81113C; Wed, 8 Dec 2004 17:27:48 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id A73B611149; Wed, 8 Dec 2004 17:27:48 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id B910A1113C for ; Wed, 8 Dec 2004 17:27:47 +0000 (UTC) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iB8HRkA4018983 for ; Wed, 8 Dec 2004 18:27:46 +0100 (MET) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iB8HRkWU024551 for ; Wed, 8 Dec 2004 18:27:46 +0100 (MET) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91])by prvmta2.capgemini.com (8.12.11/8.12.11) with ESMTP id iB8HRjTw024525for ; Wed, 8 Dec 2004 18:27:45 +0100 (MET) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Wed, 08 Dec 2004 12:27:44 -0500 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 8 Dec 2004 12:27:44 -0500 x-mimeole: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4DD4B.3A21396D" Subject: add method * {telnet} {ssh} not working Date: Wed, 8 Dec 2004 12:27:44 -0500 Message-ID: <0D9EF3454D8EFC4B8BFFD2B8629416815625E7@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: add method * {telnet} {ssh} not working Thread-Index: AcTdSzoefofKryAxSA+zo7Hk2iVbMQ== From: "Hopper, Faron W." To: X-OriginalArrivalTime: 08 Dec 2004 17:27:44.0457 (UTC) FILETIME=[3A5B6390:01C4DD4B] X-imss-version: 2.012 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C4DD4B.3A21396D Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello,\ I have configured RANCID (v2.3) on a FreeBSD box. It seems to be= working for some devices. When I look at the log file I see that it is trying ssh to devices even though I= have added a method stating that I want telnet first. I have 2 devices in my router.db file= that accept ssh, and they are the only 2 that are working. I am using a TACACS+ username to login to= all Cisco devices. Any ideas what the problem might be? Thanks Faron .cloginrc =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D add autoenable * {1} add enauser * {net\-cfg\-bak} add password * {password} add method * {telnet} {ssh} log file: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Getting missed routers: round 4. 10.153.207.197 clogin error: Error: Connection Refused (ssh):= 10.153.207.197 10.153.207.197: missed cmd(s): show bootvar,show redundancy secondary,dir= /all sup-microcode:,show boot,dir /all slaveslot1:,show vlan,dir /all= harddiskb:,dir /all slot1:,show rsp chassis-info,show diag,dir /all= slavedisk1:,dir /all sec-slot1:,dir /all disk1:,show vtp status,show= controllers,dir /all bootflash:,dir /all sec-disk1:,show diagbus,show= flash,dir /all slaveslot0:,dir /all slavenvram:,dir /all harddiska:,dir= /all slaveslot2:,dir /all slot0:,show c7200,show module,write term,dir= /all nvram:,dir /all sup-bootflash:,dir /all slot2:,dir /all= slavedisk0:,dir /all sec-slot0:,show version,show controllers cbus,dir= /all harddisk:,dir /all sec-nvram:,dir /all slavedisk2:,dir /all= sec-slot2:,show env all,dir /all disk0:,dir /all disk2:,show variables= boot,show gsr chassis,dir /all sec-disk0:,show idprom backplane,show spe= version,dir /all slavesup-bootflash:,dir /all sec-disk2:,dir /all= slavebootflash:,dir /all sec-bootflash:,show running-config,show install= active 10.153.207.197: End of run not found ! 10.153.207.200 clogin error: Error: Connection Refused (ssh):= 10.153.207.200 10.153.207.200: missed cmd(s): show bootvar,show redundancy secondary,dir= /all sup-microcode:,show boot,dir /all slaveslot1:,show vlan,dir /all= harddiskb:,dir /all slot1:,show rsp chassis-info,show diag,dir /all= slavedisk1:,dir /all sec-slot1:,dir /all disk1:,show vtp status,show= controllers,dir /all bootflash:,dir /all sec-disk1:,show diagbus,show= flash,dir /all slaveslot0:,dir /all slavenvram:,dir /all harddiska:,dir= /all slaveslot2:,dir /all slot0:,show c7200,show module,write term,dir= /all nvram:,dir /all sup-bootflash:,dir /all slot2:,dir /all= slavedisk0:,dir /all sec-slot0:,show version,show controllers cbus,dir= /all harddisk:,dir /all sec-nvram:,dir /all slavedisk2:,dir /all= sec-slot2:,show env all,dir /all disk0:,dir /all disk2:,show variables= boot,show gsr chassis,dir /all sec-disk0:,show idprom backplane,show spe= version,dir /all slavesup-bootflash:,dir /all sec-disk2:,dir /all= slavebootflash:,dir /all sec-bootflash:,show running-config,show install= active 10.153.207.200: End of run not found This message contains information that may be privileged or confidential= and is the property of the Capgemini Group. It is intended only for the= person to whom it is addressed. If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof. If you receive this = message in error, please notify the sender immediately and delete all = copies of this message. ------_=_NextPart_001_01C4DD4B.3A21396D Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable add method * {telnet} {ssh} not working

Hello,\
   I have configured RANCID (v2.3) on a FreeBSD box.  It= seems to be working for some devices.  When I
look at the log file I see that it is trying ssh to devices even though I= have added a method
stating that I want telnet first.  I have 2 devices in my router.db= file that accept ssh, and they
are the only 2 that are working.  I am using a TACACS+ username to= login to all Cisco devices.
Any ideas what the problem might be?

Thanks
Faron

.cloginrc
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
add autoenable         = *            &= nbsp;  {1}
add= enauser           &= nbsp;= *            &= nbsp;  {net\-cfg\-bak}
add= password           = *            &= nbsp;  {password}
add= method           &n= bsp; = *            &= nbsp;  {telnet} {ssh}


log file:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Getting missed routers: round 4.
10.153.207.197 clogin error: Error: Connection Refused (ssh):= 10.153.207.197
10.153.207.197: missed cmd(s): show bootvar,show redundancy secondary,dir= /all sup-microcode:,show boot,dir /all slaveslot1:,show vlan,dir /all= harddiskb:,dir /all slot1:,show rsp chassis-info,show diag,dir /all= slavedisk1:,dir /all sec-slot1:,dir /all disk1:,show vtp status,show= controllers,dir /all bootflash:,dir /all sec-disk1:,show diagbus,show= flash,dir /all slaveslot0:,dir /all slavenvram:,dir /all harddiska:,dir= /all slaveslot2:,dir /all slot0:,show c7200,show module,write term,dir= /all nvram:,dir /all sup-bootflash:,dir /all slot2:,dir /all= slavedisk0:,dir /all sec-slot0:,show version,show controllers cbus,dir= /all harddisk:,dir /all sec-nvram:,dir /all slavedisk2:,dir /all= sec-slot2:,show env all,dir /all disk0:,dir /all disk2:,show variables= boot,show gsr chassis,dir /all sec-disk0:,show idprom backplane,show spe= version,dir /all slavesup-bootflash:,dir /all sec-disk2:,dir /all= slavebootflash:,dir /all sec-bootflash:,show running-config,show install= active
10.153.207.197: End of run not found
!
10.153.207.200 clogin error: Error: Connection Refused (ssh):= 10.153.207.200
10.153.207.200: missed cmd(s): show bootvar,show redundancy secondary,dir= /all sup-microcode:,show boot,dir /all slaveslot1:,show vlan,dir /all= harddiskb:,dir /all slot1:,show rsp chassis-info,show diag,dir /all= slavedisk1:,dir /all sec-slot1:,dir /all disk1:,show vtp status,show= controllers,dir /all bootflash:,dir /all sec-disk1:,show diagbus,show= flash,dir /all slaveslot0:,dir /all slavenvram:,dir /all harddiska:,dir= /all slaveslot2:,dir /all slot0:,show c7200,show module,write term,dir= /all nvram:,dir /all sup-bootflash:,dir /all slot2:,dir /all= slavedisk0:,dir /all sec-slot0:,show version,show controllers cbus,dir= /all harddisk:,dir /all sec-nvram:,dir /all slavedisk2:,dir /all= sec-slot2:,show env all,dir /all disk0:,dir /all disk2:,show variables= boot,show gsr chassis,dir /all sec-disk0:,show idprom backplane,show spe= version,dir /all slavesup-bootflash:,dir /all sec-disk2:,dir /all= slavebootflash:,dir /all sec-bootflash:,show running-config,show install= active
10.153.207.200: End of run not found

This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group. It is intended only for the person to= whom it is addressed. If you are not the intended recipient, you are not= authorized to read, print, retain, copy, disseminate, distribute, or use= this message or any part thereof. If you receive this message in error,= please notify the sender immediately and delete all copies of this= message.

------_=_NextPart_001_01C4DD4B.3A21396D-- From owner-rancid-discuss-outgoing@shrubbery.net Wed Dec 8 20:46:30 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 39A7611CE2D for ; Wed, 8 Dec 2004 20:46:30 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 8F5AF1113C; Wed, 8 Dec 2004 20:46:29 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8147B1114D; Wed, 8 Dec 2004 20:46:29 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (Postfix) with ESMTP id A5EB41113C for ; Wed, 8 Dec 2004 20:46:28 +0000 (UTC) Received: from tower.partan.com (localhost.partan.com [127.0.0.1]) by tower.partan.com (8.12.9p2/8.12.9) with ESMTP id iB8KkLu0070501; Wed, 8 Dec 2004 15:46:21 -0500 (EST) (envelope-from asp@tower.partan.com) Received: (from asp@localhost) by tower.partan.com (8.12.9p2/8.12.9/Submit) id iB8KkK4d070492; Wed, 8 Dec 2004 15:46:20 -0500 (EST) (envelope-from asp) Date: Wed, 8 Dec 2004 15:46:20 -0500 From: Andrew Partan To: "Hopper, Faron W." Cc: rancid-discuss@shrubbery.net Subject: Re: add method * {telnet} {ssh} not working Message-ID: <20041208204620.GA68626@partan.com> References: <0D9EF3454D8EFC4B8BFFD2B8629416815625E7@caonmastxm03.na.capgemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D9EF3454D8EFC4B8BFFD2B8629416815625E7@caonmastxm03.na.capgemini.com> User-Agent: Mutt/1.4.2.1i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Wed, Dec 08, 2004 at 12:27:44PM -0500, Hopper, Faron W. wrote: > I have configured RANCID (v2.3) on a FreeBSD box. It seems to be > working for some devices. When I look at the log file I see that > it is trying ssh to devices even though I have added a method stating > that I want telnet first. I have 2 devices in my router.db file > that accept ssh, and they are the only 2 that are working. I am > using a TACACS+ username to login to all Cisco devices. Any ideas > what the problem might be? It could be that both telnet and ssh are failing. clogin typically only logs the final error when it can't reach some device. --asp From owner-rancid-discuss-outgoing@shrubbery.net Wed Dec 8 23:51:43 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 53C9B11CE2D for ; Wed, 8 Dec 2004 23:51:43 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 85C161113C; Wed, 8 Dec 2004 23:51:42 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 756021114D; Wed, 8 Dec 2004 23:51:42 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 235EF11149; Wed, 8 Dec 2004 23:51:42 +0000 (UTC) Message-Id: <5.1.1.5.2.20041208142943.02fab4d8@mail.pfleger.org> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Wed, 08 Dec 2004 14:42:08 -0800 To: "Bryce Edwards" From: Dan Pfleger Subject: Re: Alteon SSL and Dell PowerConnect Cc: In-Reply-To: <01f701c4dc95$5296f840$c8320a0a@gis2.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk > Dell PowerConnect switches <...> > assume I need to copy a script and edit the Expect to use > the correct dialog for those devices, which would be very > similar to the existing Alteon and Cisco scripts. Hi Bryce, I had done made dlogin/drancid stuff from the default Cisco scripts for the Power Connects when then came out about 18 months back (original 3000/3200/5000 series). It was a pretty quick change in the original files, but sadly within 6 weeks/months Dell changed the firmware, commands, prompts changed drastically. When I asked the sales rep, he said that was "part of the strategy because they out-sourced various platforms to different OEM manufacturers to get me the lowest price." Also, the terminal emulation was not 100% consistent and would hang about once couple weeks, so be forgiving in your pattern-matching. I lost interest in continuing to maintaining them for even personal use because it was a real pain keeping up with their changing syntax per platform/version/HW-revision/hangs. Shouldn't be too tough to get something that will be functional, but making something for the main distribution would be a headache to test and maintain. Best of luck, Dan From owner-rancid-discuss-outgoing@shrubbery.net Thu Dec 16 21:32:35 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 1D4D211CE30 for ; Thu, 16 Dec 2004 21:32:35 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 518291113C; Thu, 16 Dec 2004 21:32:34 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 4874A11149; Thu, 16 Dec 2004 21:32:34 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id D2F5C1113C for ; Thu, 16 Dec 2004 21:32:32 +0000 (UTC) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBGLWG8K008756 for ; Thu, 16 Dec 2004 22:32:17 +0100 (MET) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBGLWGm4021732 for ; Thu, 16 Dec 2004 22:32:16 +0100 (MET) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91])by prvmta2.capgemini.com (8.12.11/8.12.11) with ESMTP id iBGLWFBD021720for ; Thu, 16 Dec 2004 22:32:15 +0100 (MET) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Thu, 16 Dec 2004 16:32:15 -0500 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 16 Dec 2004 16:32:14 -0500 x-mimeole: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4E3B6.B56ACFB9" Subject: question about lgform.cgi Date: Thu, 16 Dec 2004 16:32:14 -0500 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681576A89@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: question about lgform.cgi Thread-Index: AcTjtrF4DQqFiE6fEdmze7D1bEAAAA== From: "Hopper, Faron W." To: X-OriginalArrivalTime: 16 Dec 2004 21:32:14.0620 (UTC) FILETIME=[B5C29DC0:01C4E3B6] X-imss-version: 2.012 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C4E3B6.B56ACFB9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have installed rancid on FreeBSD. I also installed the looking glass= software. When I bring up the webpage http://server/cgi-bin/lgform.cgi,= it loads the front end, but it is not populating the routers on the page. = When I looked at the code, it appeared to me that it is supposed to pull= its info from the rancid cvs file router.db. Do I have to configure= lgform.cgi to know where these files are? It wasn't very clear in the= file what needs to be done. =0D Thanks, Faron Hopper Capgemini Network Engineering Kansas City, MO 64116 816.459.5139 =0D This message contains information that may be privileged or confidential= and is the property of the Capgemini Group. It is intended only for the= person to whom it is addressed. If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof. If you receive this = message in error, please notify the sender immediately and delete all = copies of this message. ------_=_NextPart_001_01C4E3B6.B56ACFB9 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
I have= installed=0D rancid on FreeBSD.  I also installed the looking glass software. = When=0D I bring up the webpage http://server/cgi-bin/lgform.cgi,= it=0D loads the front end, but it is not populating the routers on the= page. =0D When I looked at the code, it appeared to me that it is supposed to pull= its=0D info from the rancid cvs file router.db.  Do I have to configure= lgform.cgi=0D to know where these files are?  It wasn't very clear in the file what= needs=0D to be done.
 
Thanks,
Faron= Hopper
Capgemini
Network= Engineering
Kansas City, MO=0D 64116
816.459.5139
 
This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group. It is intended only for the person to= whom it is addressed. If you are not the intended recipient, you are not= authorized to read, print, retain, copy, disseminate, distribute, or use= this message or any part thereof. If you receive this message in error,= please notify the sender immediately and delete all copies of this= message.

------_=_NextPart_001_01C4E3B6.B56ACFB9-- From owner-rancid-discuss-outgoing@shrubbery.net Thu Dec 16 23:12:18 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id CAFC111CE30 for ; Thu, 16 Dec 2004 23:12:17 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 8925D11142; Thu, 16 Dec 2004 23:12:17 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 7C7B41114D; Thu, 16 Dec 2004 23:12:17 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by guelah.shrubbery.net (Postfix) with ESMTP id A5CA111142 for ; Thu, 16 Dec 2004 23:12:16 +0000 (UTC) Received: from tower.partan.com (localhost.partan.com [127.0.0.1]) by tower.partan.com (8.12.9p2/8.12.9) with ESMTP id iBGNCAu0019385; Thu, 16 Dec 2004 18:12:10 -0500 (EST) (envelope-from asp@tower.partan.com) Received: (from asp@localhost) by tower.partan.com (8.12.9p2/8.12.9/Submit) id iBGNC9et019382; Thu, 16 Dec 2004 18:12:09 -0500 (EST) (envelope-from asp) Date: Thu, 16 Dec 2004 18:12:09 -0500 From: Andrew Partan To: "Hopper, Faron W." Cc: rancid-discuss@shrubbery.net Subject: Re: question about lgform.cgi Message-ID: <20041216231209.GB19295@partan.com> References: <0D9EF3454D8EFC4B8BFFD2B862941681576A89@caonmastxm03.na.capgemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D9EF3454D8EFC4B8BFFD2B862941681576A89@caonmastxm03.na.capgemini.com> User-Agent: Mutt/1.4.2.1i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Thu, Dec 16, 2004 at 04:32:14PM -0500, Hopper, Faron W. wrote: > I have installed rancid on FreeBSD. I also installed the looking > glass software. When I bring up the webpage > http://server/cgi-bin/lgform.cgi, it loads the front end, but it > is not populating the routers on the page. When I looked at the > code, it appeared to me that it is supposed to pull its info from > the rancid cvs file router.db. Do I have to configure lgform.cgi > to know where these files are? It wasn't very clear in the file > what needs to be done. Yes, in lg.conf, set LG_ROUTERDB to the location of router.db. See the comments in etc/lg.conf.sample. --asp From owner-rancid-discuss-outgoing@shrubbery.net Fri Dec 17 15:53:31 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 5A95711CE3A for ; Fri, 17 Dec 2004 15:53:31 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id ACF691113C; Fri, 17 Dec 2004 15:53:30 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 9FBE111146; Fri, 17 Dec 2004 15:53:30 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id B3AC61113C for ; Fri, 17 Dec 2004 15:53:29 +0000 (UTC) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBHFrOmK002029 for ; Fri, 17 Dec 2004 16:53:24 +0100 (MET) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBHFrNEi014001 for ; Fri, 17 Dec 2004 16:53:23 +0100 (MET) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91])by prvmta2.capgemini.com (8.12.11/8.12.11) with ESMTP id iBHFrLl6013968for ; Fri, 17 Dec 2004 16:53:22 +0100 (MET) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Fri, 17 Dec 2004 10:53:21 -0500 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 17 Dec 2004 10:53:21 -0500 x-mimeole: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: RE: question about lgform.cgi Date: Fri, 17 Dec 2004 10:53:20 -0500 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681576A8C@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: question about lgform.cgi Thread-Index: AcTjxLB4daGM7xvRQI2u881dAhsD3AAheyTQ From: "Hopper, Faron W." To: "Andrew Partan" Cc: X-OriginalArrivalTime: 17 Dec 2004 15:53:21.0079 (UTC) FILETIME=[88703C70:01C4E450] X-imss-version: 2.012 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Andrew, You are right, I see the wisdom of it now. It would help if I were to= look at that file, instead of directly at the cgi script. Thank you for= pointing that out. I have another question. If I set the LG_ROUTERDB var to the following, #$LG_ROUTERDB=3D"/usr/local/etc/rancid//router.db"; $LG_ROUTERDB=3D"/usr/local/var/rancid//router.db"; I don't see any of my group configured routers. If I change the // to a= group name it works fine, but only for that group. For example,=0D $LG_ROUTERDB=3D"/usr/local/var/rancid/cg/router.db"; works fine. The help for that variable states=0D # LG_ROUTERDB is the router.db in rancid's router.db format,= listing # the routers and their platform that should be= available to # the looking glass. if defined, the LG will use this= variable # to find the router.db. if not defined, it will look= for it # at //router.db. if it does not= exist, it # will build the list from /*/router.db (i.e.:= the # router.db's from all your groups). note that if you= choose # this last option; the group directories and router.db= files' # modes may have to be changed, depending upon the= UID/GID of # the user your server (httpd) runs under, since= rancid's default # mask is 007 (see etc/rancid.conf). routers not= marked 'up' are # skipped. # This varilable was not defined before started to mess lg.conf, so I don't= think that it is looking in the /usr/local/var/rancid directory for this information. How do I get it to= use 1) a prefix that is /usr/local/var/rancid, or 2) configure the= variable to use the group subdir's under /usr/local/var/rancid? For example, /usr/local/var/rancid/group1 /usr/local/var/rancid/group2 /usr/local/var/rancid/group3 /usr/local/var/rancid/group4 . . . etc Thank you in advance for helping a very slow learner. Faron Hopper Capgemini Network Engineering Kansas City, MO 64116 816.459.5139 -----Original Message----- From: Andrew Partan [mailto:asp@partan.com]=0D Sent: Thursday, December 16, 2004 5:12 PM To: Hopper, Faron W. Cc: rancid-discuss@shrubbery.net Subject: Re: question about lgform.cgi On Thu, Dec 16, 2004 at 04:32:14PM -0500, Hopper, Faron W. wrote: > I have installed rancid on FreeBSD. I also installed the looking=0D > glass software. When I bring up the webpage=0D > http://server/cgi-bin/lgform.cgi, it loads the front end, but it is=0D > not populating the routers on the page. When I looked at the code, it=0D > appeared to me that it is supposed to pull its info from the rancid=0D > cvs file router.db. Do I have to configure lgform.cgi to know where=0D > these files are? It wasn't very clear in the file what needs to be=0D > done. Yes, in lg.conf, set LG_ROUTERDB to the location of router.db. See the= comments in etc/lg.conf.sample. --asp This message contains information that may be privileged or confidential= and is the property of the Capgemini Group. It is intended only for the= person to whom it is addressed. If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof. If you receive this = message in error, please notify the sender immediately and delete all = copies of this message. From owner-rancid-discuss-outgoing@shrubbery.net Fri Dec 17 16:46:03 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 8A5AE11CE3A for ; Fri, 17 Dec 2004 16:46:03 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id CC6E21113C; Fri, 17 Dec 2004 16:46:02 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id B53B511146; Fri, 17 Dec 2004 16:46:02 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 30ACE11142; Fri, 17 Dec 2004 16:46:02 +0000 (UTC) Date: Fri, 17 Dec 2004 08:46:02 -0800 From: john heasley To: "Hopper, Faron W." Cc: Andrew Partan , rancid-discuss@shrubbery.net Subject: Re: question about lgform.cgi Message-ID: <20041217164602.GD8746@shrubbery.net> References: <0D9EF3454D8EFC4B8BFFD2B862941681576A8C@caonmastxm03.na.capgemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D9EF3454D8EFC4B8BFFD2B862941681576A8C@caonmastxm03.na.capgemini.com> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, Dec 17, 2004 at 10:53:20AM -0500, Hopper, Faron W.: > > Andrew, > You are right, I see the wisdom of it now. It would help if I were to look at that file, instead of directly at the cgi script. Thank you for pointing that out. > > I have another question. If I set the LG_ROUTERDB var to the following, > > #$LG_ROUTERDB="/usr/local/etc/rancid//router.db"; > $LG_ROUTERDB="/usr/local/var/rancid//router.db"; /usr/local/etc/rancid is an odd directory as far as rancid's autoconf is concerned. Assuming a --prefix of /usr/local, I'd expect that path to be /usr/local/etc/router.db. lg.conf does not provide a way to reconfigure the LOCALSTATEDIR, which is used as the directory which it searches for the list of routers. Its value is determined by autoconf. If LG_ROUTERDB is specified, it's value is treated solely as a file, a router.db file. No reason that could not be treated as a directory when it is one. Try this patch. Index: lg.cgi.in =================================================================== RCS file: /home/rancid/.CVS/rancid/bin/lg.cgi.in,v retrieving revision 1.51 diff -d -u -r1.51 lg.cgi.in --- lg.cgi.in 19 May 2004 22:59:18 -0000 1.51 +++ lg.cgi.in 17 Dec 2004 16:42:08 -0000 @@ -125,7 +125,13 @@ local(*RTR); if (defined($LG_ROUTERDB)) { - $rtrdb = $LG_ROUTERDB; + # if LG_ROUTERDB is a directory, replace LOCALSTATEDIR with its value + # and search it for router.dbs. + if (-d "$LG_ROUTERDB") { + $LOCALSTATEDIR = $LG_ROUTERDB; + } else { + $rtrdb = $LG_ROUTERDB; + } } else { $rtrdb = "$SYSCONFDIR/router.db"; } Index: lgform.cgi.in =================================================================== RCS file: /home/rancid/.CVS/rancid/bin/lgform.cgi.in,v retrieving revision 1.29 diff -d -u -r1.29 lgform.cgi.in --- lgform.cgi.in 3 Sep 2004 18:41:25 -0000 1.29 +++ lgform.cgi.in 17 Dec 2004 16:42:53 -0000 @@ -116,7 +116,13 @@ local(*RTR); if (defined($LG_ROUTERDB)) { - $rtrdb = $LG_ROUTERDB; + # if LG_ROUTERDB is a directory, replace LOCALSTATEDIR with its value + # and search it for router.dbs. + if (-d "$LG_ROUTERDB") { + $LOCALSTATEDIR = $LG_ROUTERDB; + } else { + $rtrdb = $LG_ROUTERDB; + } } else { $rtrdb = "$SYSCONFDIR/router.db"; } > I don't see any of my group configured routers. If I change the // to a group name it works fine, but And, you probably have error messages in your log about the file not existing. > only for that group. For example, > > $LG_ROUTERDB="/usr/local/var/rancid/cg/router.db"; > > works fine. > > The help for that variable states > > # LG_ROUTERDB is the router.db in rancid's router.db format, listing > # the routers and their platform that should be available to > # the looking glass. if defined, the LG will use this variable > # to find the router.db. if not defined, it will look for it > # at //router.db. if it does not exist, it > # will build the list from /*/router.db (i.e.: the > # router.db's from all your groups). note that if you choose > # this last option; the group directories and router.db files' > # modes may have to be changed, depending upon the UID/GID of > # the user your server (httpd) runs under, since rancid's default > # mask is 007 (see etc/rancid.conf). routers not marked 'up' are > # skipped. > # > > This varilable was not defined before started to mess lg.conf, so I don't think that it is looking in the > /usr/local/var/rancid directory for this information. How do I get it to use 1) a prefix that is /usr/local/var/rancid, or 2) configure the variable to use the group subdir's under /usr/local/var/rancid? > > For example, > > /usr/local/var/rancid/group1 > /usr/local/var/rancid/group2 > /usr/local/var/rancid/group3 > /usr/local/var/rancid/group4 > . > . > . > etc > > Thank you in advance for helping a very slow learner. > Faron Hopper > Capgemini > Network Engineering > Kansas City, MO 64116 > 816.459.5139 > > > -----Original Message----- > From: Andrew Partan [mailto:asp@partan.com] > Sent: Thursday, December 16, 2004 5:12 PM > To: Hopper, Faron W. > Cc: rancid-discuss@shrubbery.net > Subject: Re: question about lgform.cgi > > > On Thu, Dec 16, 2004 at 04:32:14PM -0500, Hopper, Faron W. wrote: > > I have installed rancid on FreeBSD. I also installed the looking > > glass software. When I bring up the webpage > > http://server/cgi-bin/lgform.cgi, it loads the front end, but it is > > not populating the routers on the page. When I looked at the code, it > > appeared to me that it is supposed to pull its info from the rancid > > cvs file router.db. Do I have to configure lgform.cgi to know where > > these files are? It wasn't very clear in the file what needs to be > > done. > > Yes, in lg.conf, set LG_ROUTERDB to the location of router.db. See the comments in etc/lg.conf.sample. > --asp > > This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. From owner-rancid-discuss-outgoing@shrubbery.net Fri Dec 17 17:38:03 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id D41BD11CE3A for ; Fri, 17 Dec 2004 17:38:03 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 0727A1113C; Fri, 17 Dec 2004 17:38:03 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id D49061114D; Fri, 17 Dec 2004 17:38:02 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id 0A6B21113C; Fri, 17 Dec 2004 17:38:00 +0000 (UTC) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBHHbtCe026968; Fri, 17 Dec 2004 18:37:55 +0100 (MET) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBHHbt8f023671; Fri, 17 Dec 2004 18:37:55 +0100 (MET) Received: from CAONMASTTM01.na.capgemini.com (caonmasttm01.na.capgemini.com [206.245.12.90])by prvmta2.capgemini.com (8.12.11/8.12.11) with ESMTP id iBHHbsJm023649;Fri, 17 Dec 2004 18:37:54 +0100 (MET) Received: from caonmastxr01.na.capgemini.com ([206.245.20.25]) by CAONMASTTM01.na.capgemini.com with InterScan Messaging Security Suite; Fri, 17 Dec 2004 12:37:53 -0500 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr01.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 17 Dec 2004 12:37:53 -0500 x-mimeole: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: RE: question about lgform.cgi Date: Fri, 17 Dec 2004 12:37:52 -0500 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681576A8F@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: question about lgform.cgi Thread-Index: AcTkV+hf78vZoMXkRnSTphv6rOplmgABM7zQ From: "Hopper, Faron W." To: "john heasley" Cc: X-OriginalArrivalTime: 17 Dec 2004 17:37:53.0185 (UTC) FILETIME=[22E7A910:01C4E45F] X-imss-version: 2.012 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk John, Thanks for the patch. I have applied it and it said that the patch was= successful. When I access lgform.cgi, It still doesn't give me any of= routers out of the group subdir's.=0D I did notice an error message (in /var/log/http-error.log) that states,=0D Undefined subroutine &main::strftime called at= /usr/local/www/cgi-bin/lgform.cgi line 67. It was occuring before the patch, so I don't think that has anything to do= with it, though. In your email you mentioned an assumption of --prefix=3D/usr/local. All I= did was download the Software and extract it. I didn't have to do a= ../configure, make, etc--just move it to /usr/local Just to make sure, I have set LG_ROUTERDB to $LG_ROUTERDB=3D"/usr/local/var/rancid//router.db"; Is this the correct way to do this after the patch? Thanks, Faron Hopper Capgemini Network Engineering Kansas City, MO 64116 816.459.5139 -----Original Message----- From: john heasley [mailto:heas@shrubbery.net]=0D Sent: Friday, December 17, 2004 10:46 AM To: Hopper, Faron W. Cc: Andrew Partan; rancid-discuss@shrubbery.net Subject: Re: question about lgform.cgi Fri, Dec 17, 2004 at 10:53:20AM -0500, Hopper, Faron W.: >=0D > Andrew, > You are right, I see the wisdom of it now. It would help if I were > to look at that file, instead of directly at the cgi script. Thank=0D > you for pointing that out. >=0D > I have another question. If I set the LG_ROUTERDB var to the > following, >=0D > #$LG_ROUTERDB=3D"/usr/local/etc/rancid//router.db"; > $LG_ROUTERDB=3D"/usr/local/var/rancid//router.db"; /usr/local/etc/rancid is an odd directory as far as rancid's autoconf is= concerned. Assuming a --prefix of /usr/local, I'd expect that path to be= /usr/local/etc/router.db. lg.conf does not provide a way to reconfigure the LOCALSTATEDIR, which is= used as the directory which it searches for the list of routers. Its= value is determined by autoconf. If LG_ROUTERDB is specified, it's value is treated solely as a file, a= router.db file. No reason that could not be treated as a directory when= it is one. Try this patch. Index: lg.cgi.in =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/rancid/.CVS/rancid/bin/lg.cgi.in,v retrieving revision 1.51 diff -d -u -r1.51 lg.cgi.in --- lg.cgi.in 19 May 2004 22:59:18 -0000 1.51 +++ lg.cgi.in 17 Dec 2004 16:42:08 -0000 @@ -125,7 +125,13 @@ local(*RTR); =0D if (defined($LG_ROUTERDB)) { - $rtrdb =3D $LG_ROUTERDB; + # if LG_ROUTERDB is a directory, replace LOCALSTATEDIR with its value + # and search it for router.dbs. + if (-d "$LG_ROUTERDB") { + $LOCALSTATEDIR =3D $LG_ROUTERDB; + } else { + $rtrdb =3D $LG_ROUTERDB; + } } else { $rtrdb =3D "$SYSCONFDIR/router.db"; } Index: lgform.cgi.in =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/rancid/.CVS/rancid/bin/lgform.cgi.in,v retrieving revision 1.29 diff -d -u -r1.29 lgform.cgi.in --- lgform.cgi.in 3 Sep 2004 18:41:25 -0000 1.29 +++ lgform.cgi.in 17 Dec 2004 16:42:53 -0000 @@ -116,7 +116,13 @@ local(*RTR); =0D if (defined($LG_ROUTERDB)) { - $rtrdb =3D $LG_ROUTERDB; + # if LG_ROUTERDB is a directory, replace LOCALSTATEDIR with its value + # and search it for router.dbs. + if (-d "$LG_ROUTERDB") { + $LOCALSTATEDIR =3D $LG_ROUTERDB; + } else { + $rtrdb =3D $LG_ROUTERDB; + } } else { $rtrdb =3D "$SYSCONFDIR/router.db"; } > I don't see any of my group configured routers. If I change the // to > a group name it works fine, but And, you probably have error messages in your log about the file not= existing. > only for that group. For example, >=0D > $LG_ROUTERDB=3D"/usr/local/var/rancid/cg/router.db"; >=0D > works fine. >=0D > The help for that variable states >=0D > # LG_ROUTERDB is the router.db in rancid's router.db format,= listing > # the routers and their platform that should be= available to > # the looking glass. if defined, the LG will use= this variable > # to find the router.db. if not defined, it will= look for it > # at //router.db. if it does not= exist, it > # will build the list from /*/router.db= (i.e.: the > # router.db's from all your groups). note that if= you choose > # this last option; the group directories and= router.db files' > # modes may have to be changed, depending upon the= UID/GID of > # the user your server (httpd) runs under, since= rancid's default > # mask is 007 (see etc/rancid.conf). routers not= marked 'up' are > # skipped. > # >=0D > This varilable was not defined before started to mess lg.conf, so I > don't think that it is looking in the /usr/local/var/rancid directory=0D > for this information. How do I get it to use 1) a prefix that is=0D > /usr/local/var/rancid, or 2) configure the variable to use the group=0D > subdir's under /usr/local/var/rancid? >=0D > For example, >=0D > /usr/local/var/rancid/group1 > /usr/local/var/rancid/group2 > /usr/local/var/rancid/group3 > /usr/local/var/rancid/group4 > . > . > . > etc >=0D > Thank you in advance for helping a very slow learner. > Faron Hopper > Capgemini > Network Engineering > Kansas City, MO 64116 > 816.459.5139 >=0D >=0D > -----Original Message----- > From: Andrew Partan [mailto:asp@partan.com] > Sent: Thursday, December 16, 2004 5:12 PM > To: Hopper, Faron W. > Cc: rancid-discuss@shrubbery.net > Subject: Re: question about lgform.cgi >=0D >=0D > On Thu, Dec 16, 2004 at 04:32:14PM -0500, Hopper, Faron W. wrote: > > I have installed rancid on FreeBSD. I also installed the looking > > glass software. When I bring up the webpage=0D > > http://server/cgi-bin/lgform.cgi, it loads the front end, but it is=0D > > not populating the routers on the page. When I looked at the code,=0D > > it appeared to me that it is supposed to pull its info from the=0D > > rancid cvs file router.db. Do I have to configure lgform.cgi to=0D > > know where these files are? It wasn't very clear in the file what=0D > > needs to be done. >=0D > Yes, in lg.conf, set LG_ROUTERDB to the location of router.db. See the= comments in etc/lg.conf.sample. > --asp >=0D > This message contains information that may be privileged or > confidential and is the property of the Capgemini Group. It is=0D > intended only for the person to whom it is addressed. If you are not=0D > the intended recipient, you are not authorized to read, print,=0D > retain, copy, disseminate, distribute, or use this message or any=0D > part thereof. If you receive this message in error, please notify the=0D > sender immediately and delete all copies of this message. This message contains information that may be privileged or confidential= and is the property of the Capgemini Group. It is intended only for the= person to whom it is addressed. If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof. If you receive this = message in error, please notify the sender immediately and delete all = copies of this message. From owner-rancid-discuss-outgoing@shrubbery.net Fri Dec 17 17:38:48 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 1C8A311CE3A for ; Fri, 17 Dec 2004 17:38:48 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 4B43611146; Fri, 17 Dec 2004 17:38:47 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 433B611154; Fri, 17 Dec 2004 17:38:47 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 9B39D1114D; Fri, 17 Dec 2004 17:38:46 +0000 (UTC) Date: Fri, 17 Dec 2004 09:38:46 -0800 From: john heasley To: "Hopper, Faron W." Cc: john heasley , rancid-discuss@shrubbery.net Subject: Re: question about lgform.cgi Message-ID: <20041217173846.GM8746@shrubbery.net> References: <0D9EF3454D8EFC4B8BFFD2B862941681576A8F@caonmastxm03.na.capgemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D9EF3454D8EFC4B8BFFD2B862941681576A8F@caonmastxm03.na.capgemini.com> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, Dec 17, 2004 at 12:37:52PM -0500, Hopper, Faron W.: > > John, > Thanks for the patch. I have applied it and it said that the patch was successful. When I access lgform.cgi, It still doesn't give me any of routers out of the group subdir's. > > > I did notice an error message (in /var/log/http-error.log) that states, > > Undefined subroutine &main::strftime called at /usr/local/www/cgi-bin/lgform.cgi line 67. > > It was occuring before the patch, so I don't think that has anything to do with it, though. > > In your email you mentioned an assumption of --prefix=/usr/local. All I did was download the Software and extract it. I didn't have to do a ../configure, make, etc--just move it to /usr/local > > Just to make sure, I have set LG_ROUTERDB to > > $LG_ROUTERDB="/usr/local/var/rancid//router.db"; > > Is this the correct way to do this after the patch? make it $LG_ROUTERDB="/usr/local/var/rancid"; From owner-rancid-discuss-outgoing@shrubbery.net Fri Dec 17 19:51:56 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 4D82311CE3A for ; Fri, 17 Dec 2004 19:51:56 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 3E85B11142; Fri, 17 Dec 2004 19:51:55 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 300E711146; Fri, 17 Dec 2004 19:51:55 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id 7EE391113C; Fri, 17 Dec 2004 19:51:52 +0000 (UTC) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBHJplvp008905; Fri, 17 Dec 2004 20:51:48 +0100 (MET) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBHJplTL023438; Fri, 17 Dec 2004 20:51:47 +0100 (MET) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91])by prvmta2.capgemini.com (8.12.11/8.12.11) with ESMTP id iBHJpk5f023421;Fri, 17 Dec 2004 20:51:46 +0100 (MET) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Fri, 17 Dec 2004 14:51:45 -0500 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 17 Dec 2004 14:51:45 -0500 x-mimeole: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: RE: question about lgform.cgi Date: Fri, 17 Dec 2004 14:51:44 -0500 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681576A91@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: question about lgform.cgi Thread-Index: AcTkX0UIzqSbd5NmT1uBKrF0QUOyVgAEobdg From: "Hopper, Faron W." To: "john heasley" Cc: X-OriginalArrivalTime: 17 Dec 2004 19:51:45.0552 (UTC) FILETIME=[D6919900:01C4E471] X-imss-version: 2.012 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk John, That change, setting the LG_ROUTERDB var, gives me the same result, a= blank field for routers. When I change LG_ROUTERDB to point to a= particular group directory, that still works.... Any other ideas? =0D Is there a way to view the script's debugging output to help me pinpoint= what it is looking for? Thanks Faron Hopper Capgemini Network Engineering Kansas City, MO 64116 816.459.5139 -----Original Message----- From: john heasley [mailto:heas@shrubbery.net]=0D Sent: Friday, December 17, 2004 11:39 AM To: Hopper, Faron W. Cc: john heasley; rancid-discuss@shrubbery.net Subject: Re: question about lgform.cgi Fri, Dec 17, 2004 at 12:37:52PM -0500, Hopper, Faron W.: >=0D > John, > Thanks for the patch. I have applied it and it said that the=0D > patch was successful. When I access lgform.cgi, It still doesn't give=0D > me any of routers out of the group subdir's. >=0D >=0D > I did notice an error message (in /var/log/http-error.log) that=0D > states, >=0D > Undefined subroutine &main::strftime called at=0D > /usr/local/www/cgi-bin/lgform.cgi line 67. >=0D > It was occuring before the patch, so I don't think that has anything=0D > to do with it, though. >=0D > In your email you mentioned an assumption of --prefix=3D/usr/local. All=0D > I did was download the Software and extract it. I didn't have to do a=0D > ../configure, make, etc--just move it to /usr/local >=0D > Just to make sure, I have set LG_ROUTERDB to >=0D > $LG_ROUTERDB=3D"/usr/local/var/rancid//router.db"; >=0D > Is this the correct way to do this after the patch? make it $LG_ROUTERDB=3D"/usr/local/var/rancid"; This message contains information that may be privileged or confidential= and is the property of the Capgemini Group. It is intended only for the= person to whom it is addressed. If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof. If you receive this = message in error, please notify the sender immediately and delete all = copies of this message. From owner-rancid-discuss-outgoing@shrubbery.net Fri Dec 17 21:46:15 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 60DEB11CE3A for ; Fri, 17 Dec 2004 21:46:15 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id B19AB1113C; Fri, 17 Dec 2004 21:46:14 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id A4C5211146; Fri, 17 Dec 2004 21:46:14 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id 470C91113C; Fri, 17 Dec 2004 21:46:12 +0000 (UTC) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBHLk7oq017745; Fri, 17 Dec 2004 22:46:07 +0100 (MET) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBHLk7as002945; Fri, 17 Dec 2004 22:46:07 +0100 (MET) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91])by prvmta2.capgemini.com (8.12.11/8.12.11) with ESMTP id iBHLk6cn002935;Fri, 17 Dec 2004 22:46:06 +0100 (MET) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Fri, 17 Dec 2004 16:46:05 -0500 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 17 Dec 2004 16:46:05 -0500 x-mimeole: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: RE: question about lgform.cgi Date: Fri, 17 Dec 2004 16:46:04 -0500 Message-ID: <0D9EF3454D8EFC4B8BFFD2B862941681576A93@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: question about lgform.cgi Thread-Index: AcTkclzphOkuMYS3SzG1xgGU7r8Y2QADv52A From: "Hopper, Faron W." To: "john heasley" Cc: X-OriginalArrivalTime: 17 Dec 2004 21:46:05.0558 (UTC) FILETIME=[CF737160:01C4E481] X-imss-version: 2.012 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk John, I have made a discovery. I was not setting the $LG_CACHE_DIR var,= thus taking the default. As soon as=0D I removed the #, and hit the web interface, viola, up popped all of my= routers. Thank you so much! It must Not have been able to create the tmp file due to a permission problem in= the /usr/local/www/data/lg dir.... Thank you again, Faron Hopper Capgemini Network Engineering Kansas City, MO 64116 816.459.5139 -----Original Message----- From: john heasley [mailto:heas@shrubbery.net]=0D Sent: Friday, December 17, 2004 1:55 PM To: Hopper, Faron W. Subject: Re: question about lgform.cgi Fri, Dec 17, 2004 at 02:51:44PM -0500, Hopper, Faron W.: >=0D > John, > That change, setting the LG_ROUTERDB var, gives me the same=0D > result, a blank field for routers. When I change LG_ROUTERDB to point=0D > to a particular group directory, that still works.... >=0D >=0D > Any other ideas? the log is in the cache dir. see LG_CACHE_DIR config variable. > Is there a way to view the script's debugging output to help me=0D > pinpoint what it is looking for? >=0D > > Undefined subroutine &main::strftime called at=0D > > /usr/local/www/cgi-bin/lgform.cgi line 67. you need to run h2ph. This message contains information that may be privileged or confidential= and is the property of the Capgemini Group. It is intended only for the= person to whom it is addressed. If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof. If you receive this = message in error, please notify the sender immediately and delete all = copies of this message. From owner-rancid-discuss-outgoing@shrubbery.net Fri Dec 17 22:23:29 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 61BE911CE3A for ; Fri, 17 Dec 2004 22:23:29 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id BD86711142; Fri, 17 Dec 2004 22:23:28 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id AC9A11114D; Fri, 17 Dec 2004 22:23:28 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by guelah.shrubbery.net (Postfix) with ESMTP id 06E6311142 for ; Fri, 17 Dec 2004 22:23:27 +0000 (UTC) Received: by rproxy.gmail.com with SMTP id 40so49100rnz for ; Fri, 17 Dec 2004 14:23:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=GBU2NRnYxpvysF/DTPTfpPp8RtqVjqe38700EGkCqXBMIQqIY2ZbGGBrWC09UAKqN9vOfkokMLu5HbU87kxYsYNtRdyLdvWjNgPjE17gC/iE4z8XF7Hz0BRMWqS6XItc7MuMGyCDFPgG21IFrPv9XU71/irOv8Koyb0a/gwQbIo= Received: by 10.38.206.35 with SMTP id d35mr651936rng; Fri, 17 Dec 2004 14:23:24 -0800 (PST) Received: by 10.38.8.63 with HTTP; Fri, 17 Dec 2004 14:23:24 -0800 (PST) Message-ID: <5471c93d0412171423223907c1@mail.gmail.com> Date: Fri, 17 Dec 2004 17:23:24 -0500 From: Chris Stave Reply-To: Chris Stave To: Rancid Discussion List Subject: Support for clusters Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I recently got rancid set up and running, and after a few hurdles it seems to generally be working fine. Issues I'm experiencing/have experienced/lessons learned/things I've noticed: **clogin is great for adding commands to every switch. Our network has the switches set up between 10.0.0.1 and 10.0.0.80, so a script with a simple loop (10.0.0.i for 1 to 80) and reference to a command list textfile makes it easy to apply commands globally, such as changing from uptime to datetime for logging, or for issuing a show interface and then writing the results to a file that can then be examined (for a port description, to check if a VLAN is in use, or other uses) **we are logging messages locally, so the flash directory was always changing... so I changed rancid to skip the flash directory (by uncommenting the code to return(1) if $type matched the things it was supposed to skip and put in 35 so it would skip the 3500s and 3550s that it was having problems with **one thing I noticed while running a show interface on all of the switches was that there was no way to do anything with cluster members -- sending an "rcommand 1" does not wait for the new prompt to come up, does anyone know of a way to use clogin while addressing cluster members, or indeed to add support for rancid's hourly run? my initial thought on this would be to add another piece of information to the router.db signifying how many cluster members there are and then running through the rancid script once for each one Overall, Rancid has shown itself to be very nice, and being able to send commands to all the switches automatically is a big bonus! Chris Stave Computing and Network Services Drew University From owner-rancid-discuss-outgoing@shrubbery.net Fri Dec 17 23:41:23 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id D52CD11CE3A for ; Fri, 17 Dec 2004 23:41:22 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 306AF1113C; Fri, 17 Dec 2004 23:41:22 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 2647F1114D; Fri, 17 Dec 2004 23:41:22 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 90C2E11146; Fri, 17 Dec 2004 23:41:21 +0000 (UTC) Date: Fri, 17 Dec 2004 15:41:21 -0800 From: john heasley To: Chris Stave Cc: Rancid Discussion List Subject: Re: Support for clusters Message-ID: <20041217234121.GV8746@shrubbery.net> References: <5471c93d0412171423223907c1@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5471c93d0412171423223907c1@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Fri, Dec 17, 2004 at 05:23:24PM -0500, Chris Stave: > **one thing I noticed while running a show interface on all of the > switches was that there was no way to do anything with cluster members > -- sending an "rcommand 1" does not wait for the new prompt to come > up, does anyone know of a way to use clogin while addressing cluster > members, or indeed to add support for rancid's hourly run? my initial > thought on this would be to add another piece of information to the > router.db signifying how many cluster members there are and then > running through the rancid script once for each one i am not familiar with clusters. if you wanted that stuff in the rancid collection, support would have to be added to both rancid an clogin. i'd lean toward clogin and just adding a second (third, etc) router.db entry for cluster members....but, i dont what the interface looks like. you'd have to provide examples. From owner-rancid-discuss-outgoing@shrubbery.net Fri Dec 17 23:56:20 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 023A011CE3A for ; Fri, 17 Dec 2004 23:56:19 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 6095E1113C; Fri, 17 Dec 2004 23:56:19 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 5264411146; Fri, 17 Dec 2004 23:56:19 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from S1.cableone.net (smtp1.cableone.net [24.116.0.227]) by guelah.shrubbery.net (Postfix) with ESMTP id 9F1351113C for ; Fri, 17 Dec 2004 23:56:18 +0000 (UTC) Received: from TINYGOD (unverified [24.117.243.179]) by S1.cableone.net (CableOne SMTP Service S1) with ESMTP id 4498943 for ; Fri, 17 Dec 2004 17:00:12 -0700 Date: Fri, 17 Dec 2004 16:55:50 -0700 From: Justin Grote Reply-To: Justin Grote Organization: JWG Networks X-Priority: 3 (Normal) Message-ID: <315220020.20041217165550@grote.name> To: Rancid Discussion List Subject: Re: Support for clusters MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="----------39C618BD574BFC" X-Abuse-Info: Send abuse complaints to abuse@cableone.net Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a cryptographically signed message in MIME format. ------------39C618BD574BFC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable >>Overall, Rancid has shown itself to be very nice, and being able to >>send commands to all the switches automatically is a big bonus! Glad you like it. I'm not part of the dev team but it's great to hear others finding use out of it :) In regards to clusters (I assume the Catalyst kind), this is something I ha= ve considered looking into but it was never high on my priority list. I'll give it a shot and let you know what I come up with I have a subversion patch floating around that lets Rancid use Subversion as a backend instead of CVS, which is useful if you w= ant to have multiple rancid agents at different sites that commit to a centralized repository, want to move/rename a switch and preserve its history, etc. _______________ Justin Grote ------------39C618BD574BFC Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIHOAYJKoZIhvcNAQcCoIIHKTCCByUCAQMxCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC BZIwggJLMIIBtKADAgECAgML69gwDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMCWkExJTAj BgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA0MDMxNTE5MTAzMFoXDTA1MDMxNTE5 MTAzMFowQzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEgMB4GCSqGSIb3DQEJ ARYRanVzdGluQGdyb3RlLm5hbWUwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMvyrnjf D5FhVmekwetexhSTzn7vDE0dLaJPOuCLE3DcsR8cgVeGKM1A6RaR2W0GTU004OKo1EfC73at Nw6BukUouRISFTV6eyxpII2JpjC8P8nuU0d58JLHJTTcP23E/k10gQt8EggWW5XPH1jnXv4n D/KiqUV38VCmH1WQ8Ui3AgMBAAGjLjAsMBwGA1UdEQQVMBOBEWp1c3RpbkBncm90ZS5uYW1l MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEEBQADgYEAJ2vDnU0kmfocHBEi+fkVvSHIvSXL RixbKnE7QOW2YOXHkspaMqBezeXYNa2nfIV/SZC03qSlusmk9tQKNZVKy2S9nIFQKJF9DvnI qGeX3Tb6HEURfu1HhXTmC43FKzxqTah1/qOTwAnOm6HBwjf6XEjZFOmuVejJwQzqyYAgw80w ggM/MIICqKADAgECAgENMA0GCSqGSIb3DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UE CBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBD b25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQw IgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgQ0ExKzApBgkqhkiG9w0BCQEWHHBl cnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3MDAwMDAwWhcNMTMwNzE2MjM1 OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkg THRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwgZ8w DQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f6f+jHuy9zfVb 8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYkKhPPK9Xz gnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGjgZQw gZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRo YXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYD VR0RBCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUA A4GBAEiM0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFh YsPZOhl+hLGZGwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAa WzVNd+NWIXiC3CEZNd4ksdMdRv9dX2VPMYIBbjCCAWoCAQEwaTBiMQswCQYDVQQGEwJaQTEl MCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3Rl IFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECAwvr2DAJBgUrDgMCGgUAoF0wGAYJKoZI hvcNAQkDMQsGCSqGSIb3DQEHATAjBgkqhkiG9w0BCQQxFgQU9kSqKcdG6/cmt6j36pNeYJoh UEMwHAYJKoZIhvcNAQkFMQ8XDTA0MTIxNzIzNTU1MFowDQYJKoZIhvcNAQEBBQAEgYAiFplL VXJP+GyZdrI77yPEqthwx+z8UTKqwk12PCrRvXR3FSQFRswhPVuKRBMapbVqZfXTl4ho+E1A 2ozU4XfwdZ5OMhIAdGV4wc8LGfAeCMjOkaCw+Ym9qVc4WoLJYZ3sfOvRgKHoyZJsrHV2w/+L zRA8L0ORI7uBhQ+tlR+/FA== ------------39C618BD574BFC-- From owner-rancid-discuss-outgoing@shrubbery.net Tue Dec 21 01:53:44 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id C25A111CE42 for ; Tue, 21 Dec 2004 01:53:43 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 1C1F21113C; Tue, 21 Dec 2004 01:53:43 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 129551114D; Tue, 21 Dec 2004 01:53:43 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from scoe.org (mail.scoe.org [216.102.13.130]) by guelah.shrubbery.net (Postfix) with ESMTP id 843651113C for ; Tue, 21 Dec 2004 01:53:42 +0000 (UTC) X-ExtScanner: Niversoft's FindAttachments (free) Received: by scoe.org (CommuniGate Pro PIPE 4.1.8) with PIPE id 6283354; Mon, 20 Dec 2004 17:53:40 -0800 X-ExtScanner: Niversoft's FindAttachments (free) Received: from [64.142.13.51] (HELO atlee2) by scoe.org (CommuniGate Pro SMTP 4.1.8) with ESMTP id 6283352 for rancid-discuss@shrubbery.net; Mon, 20 Dec 2004 17:53:37 -0800 To: "rancid-discuss@shrubbery.net" Date: Mon, 20 Dec 2004 17:53:39 -0800 From: "Joe McCarty" Organization: Sonoma County Office of Education Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: X-ProcessedID: opsjb4vpqv2dmtgr@atlee2 User-Agent: Opera M2/7.51 (Win32, build 3798) Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I have installed RANCID on a Fedora Core 2 box. RANCID can log into my devices, get the configs, increment versions, and email diffs. CVSWeb, however, reports while trying to load the /home/rancid/var/rancid/CVS repository, "Error: No valid CVS roots found!." log/httpd/error_log states, "Root '/home/rancid/var/rancid/CVS' defined in @CVSrepositories is not a directory." I tried "cvs status -d /home/rancid/var/rancid/CVS group/device_name," and I'm informed that the device isn't defined. The CVS directories have been set up by rancid-cvs exclusively, per FAQ and INSTALL instructions. Ideas appreciated. Notice to Recipient: Information contained in this message may be privileged, confidential and protected from disclosure. If you are not an intended recipient, it is strictly prohibited to use, disseminate or copy this communication. If you have received this in error, please reply to the sender and then delete the message. Thank you. From owner-rancid-discuss-outgoing@shrubbery.net Tue Dec 21 06:44:26 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id AFB1011CE45 for ; Tue, 21 Dec 2004 06:44:26 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id E19951113C; Tue, 21 Dec 2004 06:44:25 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id D8C4611146; Tue, 21 Dec 2004 06:44:25 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 64BBB11142; Tue, 21 Dec 2004 06:44:25 +0000 (UTC) Date: Mon, 20 Dec 2004 22:44:25 -0800 From: john heasley To: Joe McCarty Cc: "rancid-discuss@shrubbery.net" Subject: Re: your mail Message-ID: <20041221064425.GG7200@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Mon, Dec 20, 2004 at 05:53:39PM -0800, Joe McCarty: > I have installed RANCID on a Fedora Core 2 box. RANCID can log into my > devices, get the configs, increment versions, and email diffs. if it emails diffs, then cvs is fine. > CVSWeb, however, reports while trying to load the > /home/rancid/var/rancid/CVS repository, "Error: No valid CVS roots > found!." log/httpd/error_log states, "Root '/home/rancid/var/rancid/CVS' > defined in @CVSrepositories is not a directory." > > I tried "cvs status -d /home/rancid/var/rancid/CVS group/device_name," and > I'm informed that the device isn't defined. > > The CVS directories have been set up by rancid-cvs exclusively, per FAQ > and INSTALL instructions. > > Ideas appreciated. WAG, your httpd can't read some part of the path, likely due to permissions but could be related to chroot(2). From owner-rancid-discuss-outgoing@shrubbery.net Tue Dec 21 15:28:21 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id B986F11CE4A for ; Tue, 21 Dec 2004 15:28:21 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 0D9471113C; Tue, 21 Dec 2004 15:28:21 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id F264A11146; Tue, 21 Dec 2004 15:28:20 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by guelah.shrubbery.net (Postfix) with ESMTP id 46FF11113C for ; Tue, 21 Dec 2004 15:28:20 +0000 (UTC) Received: by rproxy.gmail.com with SMTP id 40so153290rnz for ; Tue, 21 Dec 2004 07:28:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=rVlkgxqPw8EbOdY+3tG/lISBHi7J/3yi6kDq+rVmA5J+IEsf+JQnsdXn53N2IvN8mIVLEeMnHCLiVGvxrXBlHIQ2a4WeTDvnp5qmf082eKsoP2dlP/yl3BydaDfaod5Swk2B8FhmeyunKcjkmDWILtUZihOqQEpKp3EPXLDs3IQ= Received: by 10.38.25.1 with SMTP id 1mr818117rny; Tue, 21 Dec 2004 07:28:16 -0800 (PST) Received: by 10.38.8.74 with HTTP; Tue, 21 Dec 2004 07:28:14 -0800 (PST) Message-ID: <5471c93d0412210728440878e3@mail.gmail.com> Date: Tue, 21 Dec 2004 10:28:14 -0500 From: Chris Stave Reply-To: Chris Stave To: Joe McCarty Subject: Re: Cc: "rancid-discuss@shrubbery.net" In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I'm not sure if you've got the same directory structure as I do, but I'd agree with the last respondent and say that you should check your directory structure. I know my setup is at /home/rancid/var/CVS (rather than /home/rancid/var/rancid/cvs) ... so check out what's around and look for cvs directories. Chris On Mon, 20 Dec 2004 17:53:39 -0800, Joe McCarty wrote: > I have installed RANCID on a Fedora Core 2 box. RANCID can log into my > devices, get the configs, increment versions, and email diffs. > > CVSWeb, however, reports while trying to load the > /home/rancid/var/rancid/CVS repository, "Error: No valid CVS roots > found!." log/httpd/error_log states, "Root '/home/rancid/var/rancid/CVS' > defined in @CVSrepositories is not a directory." > > I tried "cvs status -d /home/rancid/var/rancid/CVS group/device_name," and > I'm informed that the device isn't defined. > > The CVS directories have been set up by rancid-cvs exclusively, per FAQ > and INSTALL instructions. > > Ideas appreciated. > > Notice to Recipient: > Information contained in this message may be privileged, confidential and > protected from disclosure. If you are not an intended recipient, it is > strictly prohibited to use, disseminate or copy this communication. If you > have received this in error, please reply to the sender and then delete the > message. > Thank you. > > From owner-rancid-discuss-outgoing@shrubbery.net Thu Dec 23 22:49:03 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 5B48411CE2D for ; Thu, 23 Dec 2004 22:49:03 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id ACBE71113C; Thu, 23 Dec 2004 22:49:02 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 9BDDE11146; Thu, 23 Dec 2004 22:49:02 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from calmail-fe2.berkeley.edu (mailfarm.Berkeley.EDU [128.32.61.106]) by guelah.shrubbery.net (Postfix) with ESMTP id 1CDA61113C for ; Thu, 23 Dec 2004 22:49:02 +0000 (UTC) Received: from [128.32.155.13] (account dpz@calmail.berkeley.edu [128.32.155.13] verified) by calmail-fe2.berkeley.edu (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 62628244 for rancid-discuss@shrubbery.net; Thu, 23 Dec 2004 14:49:01 -0800 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: rancid-discuss@shrubbery.net From: David Paul Zimmerman Subject: Looking for field experience with platform choice Date: Thu, 23 Dec 2004 14:48:59 -0800 X-Mailer: Apple Mail (2.619) Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Hi, all. New rancid maintainer here. I've been told to go spec a platform to migrate our rancid installation to, and the choices I've come to are the Sun Fire V210 w/Solaris 9 and the Dell 2650 w/FreeBSD 5.3. Is there any common wisdom on which of the two would be a happier home for rancid and its various dependencies? dp From owner-rancid-discuss-outgoing@shrubbery.net Thu Dec 23 22:57:08 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id AB6AA11CE2D for ; Thu, 23 Dec 2004 22:57:08 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 166A111142; Thu, 23 Dec 2004 22:57:08 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 0BD2211149; Thu, 23 Dec 2004 22:57:08 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 75E7D11146; Thu, 23 Dec 2004 22:57:07 +0000 (UTC) Date: Thu, 23 Dec 2004 14:57:07 -0800 From: john heasley To: David Paul Zimmerman Cc: rancid-discuss@shrubbery.net Subject: Re: Looking for field experience with platform choice Message-ID: <20041223225707.GY25029@shrubbery.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc X-note: live free, or die! X-homer: i just want to have a beer while i am caring. Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thu, Dec 23, 2004 at 02:48:59PM -0800, David Paul Zimmerman: > Hi, all. New rancid maintainer here. I've been told to go spec a > platform to migrate our rancid installation to, and the choices I've > come to are the Sun Fire V210 w/Solaris 9 and the Dell 2650 w/FreeBSD > 5.3. Is there any common wisdom on which of the two would be a happier > home for rancid and its various dependencies? > > dp no M$. otherwise, smoke whatever you want. free memory is useful for those fat perl/expect processes. my cvs repository is ~300m at the moment; thats roughly 700 devices over ~3 years w/ sporadic polling (avg 1/week). From owner-rancid-discuss-outgoing@shrubbery.net Thu Dec 23 23:50:58 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id BB9A711CE2D for ; Thu, 23 Dec 2004 23:50:57 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 1D48211146; Thu, 23 Dec 2004 23:50:57 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 12F391114D; Thu, 23 Dec 2004 23:50:57 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from calmail-fe2.berkeley.edu (mailfarm.Berkeley.EDU [128.32.61.106]) by guelah.shrubbery.net (Postfix) with ESMTP id 40D5711146; Thu, 23 Dec 2004 23:50:56 +0000 (UTC) Received: from [128.32.155.13] (account dpz@calmail.berkeley.edu [128.32.155.13] verified) by calmail-fe2.berkeley.edu (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 62641205; Thu, 23 Dec 2004 15:50:56 -0800 In-Reply-To: <20041223225707.GY25029@shrubbery.net> References: <20041223225707.GY25029@shrubbery.net> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <7B7A80F6-553D-11D9-B9CD-000D93CA194C@berkeley.edu> Content-Transfer-Encoding: 7bit Cc: rancid-discuss@shrubbery.net From: David Paul Zimmerman Subject: Re: Looking for field experience with platform choice Date: Thu, 23 Dec 2004 15:50:53 -0800 To: john heasley X-Mailer: Apple Mail (2.619) Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Thanks for the thoughts; I had no intention of smoking anything from Redmond :-) I'm going for a 1GB unit, whichever one I end up with. I presume that'll be fine, if not terribly extravagant these days. On the storage side, since I'm inheriting an existing installation, that should be pretty easy to determine. dp On Dec 23, 2004, at 2:57 PM, john heasley wrote: > Thu, Dec 23, 2004 at 02:48:59PM -0800, David Paul Zimmerman: >> Hi, all. New rancid maintainer here. I've been told to go spec a >> platform to migrate our rancid installation to, and the choices I've >> come to are the Sun Fire V210 w/Solaris 9 and the Dell 2650 w/FreeBSD >> 5.3. Is there any common wisdom on which of the two would be a >> happier >> home for rancid and its various dependencies? >> >> dp > > no M$. otherwise, smoke whatever you want. free memory is useful for > those > fat perl/expect processes. > > my cvs repository is ~300m at the moment; thats roughly 700 devices > over ~3 > years w/ sporadic polling (avg 1/week). From owner-rancid-discuss-outgoing@shrubbery.net Tue Dec 28 17:19:36 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 55B7311CE39 for ; Tue, 28 Dec 2004 17:19:36 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id ADE0E1113C; Tue, 28 Dec 2004 17:19:35 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 9FB8811149; Tue, 28 Dec 2004 17:19:35 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id A14261113C for ; Tue, 28 Dec 2004 17:19:34 +0000 (UTC) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBSHJNhJ001084 for ; Tue, 28 Dec 2004 18:19:23 +0100 (MET) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBSHJMTO025918 for ; Tue, 28 Dec 2004 18:19:22 +0100 (MET) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91])by prvmta2.capgemini.com (8.12.11/8.12.11) with ESMTP id iBSHJLVd025908for ; Tue, 28 Dec 2004 18:19:22 +0100 (MET) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Tue, 28 Dec 2004 12:19:21 -0500 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 28 Dec 2004 12:19:21 -0500 x-mimeole: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4ED01.5E55559C" Subject: Does RANCID handle Cisco PIX devices? Date: Tue, 28 Dec 2004 12:19:19 -0500 Message-ID: <0D9EF3454D8EFC4B8BFFD2B86294168160EE59@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Does RANCID handle Cisco PIX devices? Thread-Index: AcTtAV258vtLvf/uQE+yfCwSW559pg== From: "Hopper, Faron W." To: Cc: "Hopper, Faron W." X-OriginalArrivalTime: 28 Dec 2004 17:19:21.0076 (UTC) FILETIME=[5E948B40:01C4ED01] X-imss-version: 2.012 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C4ED01.5E55559C Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello all, I am still exploring RANCID's capabilities. Does it have the ablility to back up Cisco PIX configs? I have added the one of our PIX's names to=0D the router.db file and set the type to=0D =0D pixhq:cat5:up pixhq2:cat5:up thinking that it would be closer to the catOS command line. This is not successful. I am using TACACS+ on=0D the PIX, and here is an example of what I get if I manually ssh into it. =0D $ ssh -l net\-cfg\-bak 10.1.1.1 net-cfg-bak@10.1.1.1's password: Type help or '?' for a list of available commands. PIXHQ> PIXHQ> en Password: ******** PIXHQ# in my dead.letter file this is the message I get for the 2 PIXes configured =0D From: Network Config Backup Message-Id: <200412282250.iBSMoOnX027862@netdisco.capgemini.com> To: rancid-fi Subject: config fetcher problems - fi Precedence: bulk =0D The following routers have not been successfully contacted for more than 4 hours. -rw-r----- 1 net-cfg-bak wheel 0 Dec 13 16:23 pixhq -rw-r----- 1 net-cfg-bak wheel 0 Dec 13 16:23 pixhq2 If I use the clogin program, I can get the level 1 login prompt, but it is not executing my show version. This makes me think that it is waiting on some type of prompt character that is not defined (just guessing). =0D $ /usr/local/libexec/rancid/clogin -c "show version" -f /home/net-cfg-bak/.cloginrc 10.1.1.1 10.1.1.1 spawn telnet 10.1.1.1 Trying 10.1.1.1... telnet: connect to address 10.1.1.1: Connection refused telnet: Unable to connect to remote host spawn ssh -c 3des -x -l net-cfg-bak 10.1.1.1 net-cfg-bak@10.1.1.1's password: Type help or '?' for a list of available commands. PIXHQ> PIXHQ> Error: TIMEOUT reached =0D my .cloginrc file is as follows =0D add method * {telnet} {ssh} add autoenable * {1} add enauser * {net\-cfg\-bak} add user * {net-cfg-bak} add password * {pass} =0D # set ssh encryption type, dflt: 3des add cyphertype * {3des} =0D =0D My goal is to back up my PIX configs, does anyone have any ideas? Can RANCID do it? =0D Thanks, Faron Hopper Capgemini Network Engineering 3315 North Oak Trafficway Kansas City, MO 64116 816.459.5139 Capgemini Logo=0D =0D This message contains information that may be privileged or confidential= and is the property of the Capgemini Group. It is intended only for the= person to whom it is addressed. If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof. If you receive this = message in error, please notify the sender immediately and delete all = copies of this message. ------_=_NextPart_001_01C4ED01.5E55559C Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hello= all,  I=0D am still exploring RANCID's capabilities.  Does it have the=0D ablility
to back= up Cisco PIX=0D configs?  I have added the one of our PIX's names to=
the= router.db file=0D and set the type to
 
   =0D pixhq:cat5:up
    pixhq2:cat5:up
thinking= that it=0D would be closer to
the catOS= command=0D line.  This is not successful.  I am using TACACS+ on=0D
the PIX,= and here is=0D an example=0D of what I get if I manually ssh into it.
 
    $=0D ssh -l net\-cfg\-bak 10.1.1.1
    net-cfg-bak@10.1.1.1's=0D password:
    Type help or '?' for a list of available=0D commands.
    PIXHQ>
    PIXHQ>=0D en
    Password: ********
   =0D PIXHQ#
in my= dead.letter=0D file this is the message I get for the 2 PIXes= configured
 
   =0D From: Network Config Backup <net-cfg-bak>
   =0D Message-Id: <200412282250= iBSMoOnX027862@netdisco.capgemini.com>
   =0D To: rancid-fi
    Subject: config fetcher problems -=0D fi
    Precedence: bulk
 
   =0D The following routers have not been successfully contacted=0D for
    more than 4 hours.
   =0D -rw-r-----  1 net-cfg-bak  wheel  0 Dec 13 16:23=0D pixhq
    -rw-r-----  1 net-cfg-bak = wheel  0=0D Dec 13 16:23 pixhq2
If I use= the clogin=0D program, I can get the level 1 login prompt, but it is not executing my= show=0D version.
This= makes me think=0D that it is waiting on some type of prompt character that is not defined= (just=0D guessing).
 
    $=0D /usr/local/libexec/rancid/clogin -c "show version" -f=0D /home/net-cfg-bak/.cloginrc 10.1.1.1
   =0D 10.1.1.1
    spawn telnet 10.1.1.1
   = =0D Trying 10.1.1.1...
    telnet: connect to address= 10.1.1.1:=0D Connection refused
    telnet: Unable to connect to= remote=0D host
    spawn ssh -c 3des -x -l=0D net-cfg-bak 10.1.1.1
    net-cfg-bak@10.1.1.1's=0D password:
    Type help or '?' for a list of available=0D commands.
    PIXHQ>
   =0D PIXHQ>
   =0D Error: TIMEOUT reached
 
my= ..cloginrc file is=0D as follows
 
    add=0D method           &nb= sp; =0D *            &n= bsp;            = ;            &n= bsp;=0D {telnet} {ssh}
    add=0D autoenable         =0D *            &n= bsp;            = ;            &n= bsp;=0D {1}
    add=0D enauser           &n= bsp;=0D *            &n= bsp;            = ;            &n= bsp;=0D {net\-cfg\-bak}
   = add=0D user            = ;   =0D *            &n= bsp;            = ;            &n= bsp;=0D {net-cfg-bak}
   = add=0D password           = =0D *            &n= bsp;            = ;            &n= bsp;=0D {pass}
 
    # set ssh encryption= type,=0D dflt: 3des
   = add=0D cyphertype=0D *            &n= bsp;  =0D {3des}
 
 
My goal= is to back=0D up my PIX configs, does anyone have any ideas?  Can RANCID do=0D it?
 
Thanks,
Faron= Hopper
Capgemini
Network=0D Engineering
3315 North Oak=0D Trafficway
Kansas City, MO=0D 64116
816.459.5139
3D"Capgemini
 
This message= contains information that may be privileged or confidential and is the= property of the Capgemini Group. It is intended only for the person to= whom it is addressed. If you are not the intended recipient, you are not= authorized to read, print, retain, copy, disseminate, distribute, or use= this message or any part thereof. If you receive this message in error,= please notify the sender immediately and delete all copies of this= message.

------_=_NextPart_001_01C4ED01.5E55559C-- From owner-rancid-discuss-outgoing@shrubbery.net Tue Dec 28 17:35:45 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id AADEA11CE39 for ; Tue, 28 Dec 2004 17:35:45 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 07C9211142; Tue, 28 Dec 2004 17:35:45 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id EF7BA1114D; Tue, 28 Dec 2004 17:35:44 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from aurvandil.sahala.org (aurvandil.sahala.org [208.35.16.52]) by guelah.shrubbery.net (Postfix) with ESMTP id 45CA011142 for ; Tue, 28 Dec 2004 17:35:44 +0000 (UTC) Received: by aurvandil.sahala.org (Postfix, from userid 1001) id BEB3A2BE; Tue, 28 Dec 2004 12:34:35 -0500 (EST) Date: Tue, 28 Dec 2004 12:34:35 -0500 From: joshua sahala To: "Hopper, Faron W." Cc: rancid-discuss@shrubbery.net Subject: Re: Does RANCID handle Cisco PIX devices? Message-ID: <20041228173435.GB9193@aurvandil.sahala.org> References: <0D9EF3454D8EFC4B8BFFD2B86294168160EE59@caonmastxm03.na.capgemini.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D9EF3454D8EFC4B8BFFD2B86294168160EE59@caonmastxm03.na.capgemini.com> User-Agent: Mutt/1.5.6+20040907i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On (28/12/04 12:19), Hopper, Faron W. wrote: > > Hello all, I am still exploring RANCID's capabilities. Does it have > the ablility to back up Cisco PIX configs? I have added the one of our > PIX's names to the router.db file and set the type to > > pixhq:cat5:up > pixhq2:cat5:up > use cisco...pix runs ios not catos i've used rancid with varios models of pix and they all work fine, with or without tac+ for aaa. /joshua -- What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is wrought under the name of totalitarianism or the holy name of liberty and democracy? - Mohandas Karamchand (Mahatma) Gandhi - From owner-rancid-discuss-outgoing@shrubbery.net Tue Dec 28 20:13:41 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 6C52111CE39 for ; Tue, 28 Dec 2004 20:13:41 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id AFCFB1113C; Tue, 28 Dec 2004 20:13:40 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id A02B611149; Tue, 28 Dec 2004 20:13:40 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id 8465D1113C for ; Tue, 28 Dec 2004 20:13:39 +0000 (UTC) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBSKDYEm013664 for ; Tue, 28 Dec 2004 21:13:34 +0100 (MET) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBSKDXYv000671 for ; Tue, 28 Dec 2004 21:13:33 +0100 (MET) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91])by prvmta2.capgemini.com (8.12.11/8.12.11) with ESMTP id iBSKDWZS000665for ; Tue, 28 Dec 2004 21:13:33 +0100 (MET) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Tue, 28 Dec 2004 15:13:32 -0500 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 28 Dec 2004 15:13:32 -0500 x-mimeole: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: RE: Does RANCID handle Cisco PIX devices? Date: Tue, 28 Dec 2004 15:13:30 -0500 Message-ID: <0D9EF3454D8EFC4B8BFFD2B86294168160EE97@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Does RANCID handle Cisco PIX devices? Thread-Index: AcTtA6o7xs6TxLzGSziUJ26QBcEXRgADQEGQ From: "Hopper, Faron W." To: "joshua sahala" Cc: X-OriginalArrivalTime: 28 Dec 2004 20:13:32.0168 (UTC) FILETIME=[B3EAA080:01C4ED19] X-imss-version: 2.012 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk =0D I have tried setting these devices to cisco from cat5. There is no change. Rancid is not able to log into my PIXes. The PIX's don't have telnet enabled,=0D but this shouldn't be a big deal for RANCID. Could the problem be in how=0D I have setup the .cloginrc file? my .cloginrc file is as follows add method * {telnet} {ssh} add autoenable * {1} add enauser * {net\-cfg\-bak} add user * {net-cfg-bak} add password * {pass} =0D # set ssh encryption type, dflt: 3des add cyphertype * {3des} The other thought that I had is that something might be configured=0D differently (misconfigured?) on TACACAS. =0D My TACACS+ username is net-cfg-bak=0D aaa-server TACACS+ protocol tacacs+ aaa-server TACACS+ (outside) host 10.2.1.61 key timeout 15 aaa-server TACACS+ (outside) host 10.2.1.62 key timeout 15 aaa-server RADIUS protocol radius aaa-server LOCAL protocol tacacs+ aaa-server local protocol tacacs+ aaa authentication ssh console TACACS+ aaa authentication telnet console TACACS+ aaa authentication enable console TACACS+ Any thoughts? Thanks, Faron -----Original Message----- From: joshua sahala [mailto:jejs+rancid@sahala.org]=0D Sent: Tuesday, December 28, 2004 11:35 AM To: Hopper, Faron W. Cc: rancid-discuss@shrubbery.net Subject: Re: Does RANCID handle Cisco PIX devices? On (28/12/04 12:19), Hopper, Faron W. wrote: >=0D > Hello all, I am still exploring RANCID's capabilities. Does it have=0D > the ablility to back up Cisco PIX configs? I have added the one of=0D > our PIX's names to the router.db file and set the type to >=0D > pixhq:cat5:up > pixhq2:cat5:up >=0D use cisco...pix runs ios not catos i've used rancid with varios models of pix and they all work fine, with or without tac+ for aaa. /joshua -- What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is wrought under the name of totalitarianism or the holy name of liberty and democracy? - Mohandas Karamchand (Mahatma) Gandhi - This message contains information that may be privileged or confidential= and is the property of the Capgemini Group. It is intended only for the= person to whom it is addressed. If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof. If you receive this = message in error, please notify the sender immediately and delete all = copies of this message. From owner-rancid-discuss-outgoing@shrubbery.net Wed Dec 29 21:24:35 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id CD25F11CE33 for ; Wed, 29 Dec 2004 21:24:34 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 1FAA41113C; Wed, 29 Dec 2004 21:24:34 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 1023D11149; Wed, 29 Dec 2004 21:24:34 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id C124B1113C for ; Wed, 29 Dec 2004 21:24:32 +0000 (UTC) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBTLORcQ004063 for ; Wed, 29 Dec 2004 22:24:27 +0100 (MET) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBTLOQeB005252 for ; Wed, 29 Dec 2004 22:24:27 +0100 (MET) Received: from CAONMASTTM02.na.capgemini.com (caonmasttm02.na.capgemini.com [206.245.12.91])by prvmta2.capgemini.com (8.12.11/8.12.11) with ESMTP id iBTLOQCi005238for ; Wed, 29 Dec 2004 22:24:26 +0100 (MET) Received: from caonmastxr02.na.capgemini.com ([206.245.20.35]) by CAONMASTTM02.na.capgemini.com with InterScan Messaging Security Suite; Wed, 29 Dec 2004 16:24:24 -0500 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr02.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 29 Dec 2004 16:24:24 -0500 x-mimeole: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: RE: Does RANCID handle Cisco PIX devices? Date: Wed, 29 Dec 2004 16:25:23 -0500 Message-ID: <0D9EF3454D8EFC4B8BFFD2B86294168160EFBB@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Does RANCID handle Cisco PIX devices? Thread-Index: AcTtJd1VdzUWSB9OSVCxWDMUMQJb2AAw/e8A From: "Hopper, Faron W." To: "Gee-clough, Aaron (NIH/CIT)" Cc: X-OriginalArrivalTime: 29 Dec 2004 21:24:24.0406 (UTC) FILETIME=[C4DC6760:01C4EDEC] X-imss-version: 2.012 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Aaron,=0D If I remove the autoenable line, I can use clogin to log into the PIX (see below). However, my rancid-run process now takes forever to complete (it is taking hours instead of minutes; it used to run about 20 minutes....) This,=0D is probably due to my lack of understanding in how to setup the .cloginrc file .....anyway, when that rancid-run process finishes, I do not have any updates in the cvs database. (cvsweb.cgi lists the rev as 1.1) I have run the rancid-run process 2-3 times since removing the autoenable and the dead.letter file now has many devices that it can't contact....more stuff to work on. Anyway, is there any reason why it would not update the pixhq device? (it is=0D not listed in the dead.letter file....)? Thanks, Faron $ /usr/local/libexec/rancid/clogin -c "show version" -f .cloginrc pixhq pixhq =0D spawn telnet pixhq Trying 10.1.1.1... telnet: connect to address 10.1.1.1: Connection refused telnet: Unable to connect to remote host spawn ssh -c 3des -x -l net-cfg-bak pixhq net-cfg-bak@pixhq's password: Type help or '?' for a list of available commands. PIXHQ> PIXHQ> enable Another session is writing configuration to memory, please wait a moment for it to finish... Password: ******** PIXHQ# PIXHQ# term length 0 Type help or '?' for a list of available commands. PIXHQ# show version Cisco PIX Firewall Version 6.3(3) Cisco PIX Device Manager Version 2.1(1) Compiled on Wed 13-Aug-03 13:55 by morlee KCSCAFW1 up 87 days 2 hours Hardware: PIX-525, 256 MB RAM, CPU Pentium III 600 MHz Flash E28F128J3 @ 0x300, 16MB BIOS Flash AM29F400B @ 0xfffd8000, 32KB 0: ethernet0: address is 0005.9bca.350f, irq 10 1: ethernet1: address is 0005.9bca.3511, irq 11 2: ethernet2: address is 00e0.b604.fb6b, irq 11 3: ethernet3: address is 00e0.b604.fb6a, irq 10 4: ethernet4: address is 00e0.b604.fb69, irq 9 5: ethernet5: address is 00e0.b604.fb68, irq 5 6: gb-ethernet0: address is 0003.4725.3a71, irq 5 7: gb-ethernet1: address is 0003.4725.38e5, irq 11 Licensed Features: Failover: Enabled VPN-DES: Enabled VPN-3DES-AES: Enabled Maximum Physical Interfaces: 8 Maximum Interfaces: 12 Cut-through Proxy: Enabled Guards: Enabled URL-filtering: Enabled Inside Hosts: Unlimited Throughput: Unlimited IKE peers: Unlimited This PIX has an Unrestricted (UR) license. Serial Number: 405200333 (0x1826ddcd) Running Activation Key: 0xa94bffde 0x802610c9 0x25221732 0x585f4871 Configuration last modified by net-cfg-bak at 14:44:44.067 UTC Wed Dec 29 2004 PIXHQ#exit Logoff Connection to pixhq closed.=0D -----Original Message----- From: Gee-clough, Aaron (NIH/CIT) [mailto:geecla@mail.nih.gov]=0D Sent: Tuesday, December 28, 2004 3:40 PM To: Hopper, Faron W. Subject: RE: Does RANCID handle Cisco PIX devices? Try it without the autoenable line...you still have to enter enable on the PIX. (I'm running rancid w/PIXs right now, so it should work.) Can you clogin to any of the PIXs directly? That's the common test I use to see if rancid will be okay (and often tells me what error actually occurs). Aaron --------------------- Aaron Gee-Clough NIH/CIT/DNST/NEB/NSS Contractor, geek, etc Never try to teach a pig to sing. =0D It wastes your time and annoys the pig. > -----Original Message----- > From: Hopper, Faron W. [mailto:faron.hopper@capgemini.com] > Sent: Tuesday, December 28, 2004 3:14 PM > To: joshua sahala > Cc: rancid-discuss@shrubbery.net > Subject: RE: Does RANCID handle Cisco PIX devices? >=0D >=0D >=0D >=0D >=0D > I have tried setting these devices to cisco from cat5. There is no=0D > change. > Rancid is not able to log into my PIXes. The PIX's don't have telnet=0D > enabled, >=0D > but this shouldn't be a big deal for RANCID. Could the problem be in=0D > how >=0D > I have setup the .cloginrc file? >=0D > my .cloginrc file is as follows >=0D > add method * {telnet} {ssh} > add autoenable * {1} > add enauser * {net\-cfg\-bak} > add user * {net-cfg-bak} > add password * {pass} >=0D >=0D > # set ssh encryption type, dflt: 3des > add cyphertype * {3des} >=0D > The other thought that I had is that something might be configured >=0D > differently (misconfigured?) on TACACAS.=0D >=0D >=0D > My TACACS+ username is net-cfg-bak >=0D >=0D > aaa-server TACACS+ protocol tacacs+ > aaa-server TACACS+ (outside) host 10.2.1.61 key timeout 15 > aaa-server TACACS+ (outside) host 10.2.1.62 key timeout 15 > aaa-server RADIUS protocol radius > aaa-server LOCAL protocol tacacs+ > aaa-server local protocol tacacs+ > aaa authentication ssh console TACACS+ > aaa authentication telnet console TACACS+ > aaa authentication enable console TACACS+ >=0D > Any thoughts? >=0D > Thanks, > Faron > -----Original Message----- > From: joshua sahala [mailto:jejs+rancid@sahala.org] >=0D > Sent: Tuesday, December 28, 2004 11:35 AM > To: Hopper, Faron W. > Cc: rancid-discuss@shrubbery.net > Subject: Re: Does RANCID handle Cisco PIX devices? >=0D > On (28/12/04 12:19), Hopper, Faron W. wrote: > > >=0D > > Hello all, I am still exploring RANCID's capabilities. =0D > Does it have >=0D > > the ablility to back up Cisco PIX configs? I have added the one of >=0D > > our PIX's names to the router.db file and set the type to > > >=0D > > pixhq:cat5:up > > pixhq2:cat5:up > > >=0D >=0D > use cisco...pix runs ios not catos >=0D > i've used rancid with varios models of pix and they all work fine,=0D > with or without tac+ for aaa. >=0D > /joshua > -- > What difference does it make to the dead, the orphans, and the=0D > homeless, whether the mad destruction is wrought under the name of=0D > totalitarianism or the holy name of liberty and democracy? > - Mohandas Karamchand (Mahatma) Gandhi - >=0D >=0D >=0D >=0D > This message contains information that may be privileged or=0D > confidential and is the property of the Capgemini Group. It is=0D > intended only for the person to whom it is addressed. If you are not=0D > the intended recipient, you are not authorized to read, print,=0D > retain, copy, disseminate, distribute, or use this message or any=0D > part thereof. If you receive this message in error, please notify the=0D > sender immediately and delete all copies of this message. >=0D This message contains information that may be privileged or confidential= and is the property of the Capgemini Group. It is intended only for the= person to whom it is addressed. If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof. If you receive this = message in error, please notify the sender immediately and delete all = copies of this message. From owner-rancid-discuss-outgoing@shrubbery.net Wed Dec 29 21:28:49 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 74EC411CE33 for ; Wed, 29 Dec 2004 21:28:49 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id C9A8C11149; Wed, 29 Dec 2004 21:28:48 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id BE03D11154; Wed, 29 Dec 2004 21:28:48 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from NIHHUBIMS2.hub.nih.gov (ims2.hub.nih.gov [128.231.90.112]) by guelah.shrubbery.net (Postfix) with ESMTP id 1172D11149 for ; Wed, 29 Dec 2004 21:28:47 +0000 (UTC) Received: by nihhubims2.hub.nih.gov with Internet Mail Service (5.5.2658.27) id ; Wed, 29 Dec 2004 16:28:44 -0500 Message-ID: <64BC9A2B18FC5843BA0DE93548F745F335EB9363@nihexchange3.nih.gov> From: "Gee-clough, Aaron (NIH/CIT)" To: "'Hopper, Faron W.'" Cc: rancid-discuss@shrubbery.net Subject: RE: Does RANCID handle Cisco PIX devices? Date: Wed, 29 Dec 2004 16:28:39 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2658.27) Content-Type: text/plain Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Does the account you're logging in as have the rights to run all the commands rancid wants to do on the PIX? I supsect that the rancid run is taking forever because it's trying to run a whole list of things, and one of them (write term, perhaps?) is being refused....rancid then hangs, and the connection only dies when it times out. Aaron --------------------- Aaron Gee-Clough NIH/CIT/DNST/NEB/NSS Contractor, geek, etc Never try to teach a pig to sing. It wastes your time and annoys the pig. > -----Original Message----- > From: Hopper, Faron W. [mailto:faron.hopper@capgemini.com] > Sent: Wednesday, December 29, 2004 4:25 PM > To: Gee-clough, Aaron (NIH/CIT) > Cc: rancid-discuss@shrubbery.net > Subject: RE: Does RANCID handle Cisco PIX devices? > > > > Aaron, > > If I remove the autoenable line, I can use clogin to log into the > PIX (see below). > However, my rancid-run process now takes forever to complete (it is > taking > hours instead of minutes; it used to run about 20 minutes....) This, > > is probably due to my lack of understanding in how to setup the > .cloginrc file > .....anyway, when that rancid-run process finishes, I do not have any > updates > in the cvs database. (cvsweb.cgi lists the rev as 1.1) I > have run the > rancid-run process 2-3 times since removing the autoenable and the > dead.letter > file now has many devices that it can't contact....more stuff to work > on. > Anyway, is there any reason why it would not update the pixhq device? > (it is > > not listed in the dead.letter file....)? > > Thanks, > Faron > > > $ /usr/local/libexec/rancid/clogin -c "show version" -f > .cloginrc pixhq > pixhq > > spawn telnet pixhq > Trying 10.1.1.1... > telnet: connect to address 10.1.1.1: Connection refused > telnet: Unable to connect to remote host > spawn ssh -c 3des -x -l net-cfg-bak pixhq > net-cfg-bak@pixhq's password: > Type help or '?' for a list of available commands. > PIXHQ> > PIXHQ> enable > Another session is writing configuration to memory, > please wait a moment for it to finish... > Password: ******** > PIXHQ# > PIXHQ# term length 0 > Type help or '?' for a list of available commands. > PIXHQ# show version > > Cisco PIX Firewall Version 6.3(3) > Cisco PIX Device Manager Version 2.1(1) > > Compiled on Wed 13-Aug-03 13:55 by morlee > > KCSCAFW1 up 87 days 2 hours > > Hardware: PIX-525, 256 MB RAM, CPU Pentium III 600 MHz > Flash E28F128J3 @ 0x300, 16MB > BIOS Flash AM29F400B @ 0xfffd8000, 32KB > > 0: ethernet0: address is 0005.9bca.350f, irq 10 > 1: ethernet1: address is 0005.9bca.3511, irq 11 > 2: ethernet2: address is 00e0.b604.fb6b, irq 11 > 3: ethernet3: address is 00e0.b604.fb6a, irq 10 > 4: ethernet4: address is 00e0.b604.fb69, irq 9 > 5: ethernet5: address is 00e0.b604.fb68, irq 5 > 6: gb-ethernet0: address is 0003.4725.3a71, irq 5 > 7: gb-ethernet1: address is 0003.4725.38e5, irq 11 > Licensed Features: > Failover: Enabled > VPN-DES: Enabled > VPN-3DES-AES: Enabled > Maximum Physical Interfaces: 8 > Maximum Interfaces: 12 > Cut-through Proxy: Enabled > Guards: Enabled > URL-filtering: Enabled > Inside Hosts: Unlimited > Throughput: Unlimited > IKE peers: Unlimited > > This PIX has an Unrestricted (UR) license. > > Serial Number: 405200333 (0x1826ddcd) > Running Activation Key: 0xa94bffde 0x802610c9 0x25221732 0x585f4871 > Configuration last modified by net-cfg-bak at 14:44:44.067 UTC Wed Dec > 29 2004 > PIXHQ#exit > > Logoff > > Connection to pixhq closed. > > > -----Original Message----- > From: Gee-clough, Aaron (NIH/CIT) [mailto:geecla@mail.nih.gov] > > Sent: Tuesday, December 28, 2004 3:40 PM > To: Hopper, Faron W. > Subject: RE: Does RANCID handle Cisco PIX devices? > > Try it without the autoenable line...you still have to enter enable on > the PIX. (I'm running rancid w/PIXs right now, so it should work.) > > Can you clogin to any of the PIXs directly? That's the common test I > use to see if rancid will be okay (and often tells me what error > actually occurs). > > Aaron > --------------------- > Aaron Gee-Clough > NIH/CIT/DNST/NEB/NSS > Contractor, geek, etc > Never try to teach a pig to sing. > > It wastes your time and annoys the pig. > > > -----Original Message----- > > From: Hopper, Faron W. [mailto:faron.hopper@capgemini.com] > > Sent: Tuesday, December 28, 2004 3:14 PM > > To: joshua sahala > > Cc: rancid-discuss@shrubbery.net > > Subject: RE: Does RANCID handle Cisco PIX devices? > > > > > > > > > > > > > > > > > I have tried setting these devices to cisco from cat5. There is no > > > change. > > Rancid is not able to log into my PIXes. The PIX's don't > have telnet > > > enabled, > > > > > but this shouldn't be a big deal for RANCID. Could the > problem be in > > > how > > > > > I have setup the .cloginrc file? > > > > > my .cloginrc file is as follows > > > > > add method * {telnet} {ssh} > > add autoenable * {1} > > add enauser * {net\-cfg\-bak} > > add user * {net-cfg-bak} > > add password * {pass} > > > > > > > > # set ssh encryption type, dflt: 3des > > add cyphertype * {3des} > > > > > The other thought that I had is that something might be configured > > > > > differently (misconfigured?) on TACACAS. > > > > > > > > > My TACACS+ username is net-cfg-bak > > > > > > > > aaa-server TACACS+ protocol tacacs+ > > aaa-server TACACS+ (outside) host 10.2.1.61 key timeout 15 > > aaa-server TACACS+ (outside) host 10.2.1.62 key timeout 15 > > aaa-server RADIUS protocol radius > > aaa-server LOCAL protocol tacacs+ > > aaa-server local protocol tacacs+ > > aaa authentication ssh console TACACS+ > > aaa authentication telnet console TACACS+ > > aaa authentication enable console TACACS+ > > > > > Any thoughts? > > > > > Thanks, > > Faron > > -----Original Message----- > > From: joshua sahala [mailto:jejs+rancid@sahala.org] > > > > > Sent: Tuesday, December 28, 2004 11:35 AM > > To: Hopper, Faron W. > > Cc: rancid-discuss@shrubbery.net > > Subject: Re: Does RANCID handle Cisco PIX devices? > > > > > On (28/12/04 12:19), Hopper, Faron W. wrote: > > > > > > > > > Hello all, I am still exploring RANCID's capabilities. > > > Does it have > > > > > > the ablility to back up Cisco PIX configs? I have added > the one of > > > > > > our PIX's names to the router.db file and set the type to > > > > > > > > > pixhq:cat5:up > > > pixhq2:cat5:up > > > > > > > > > > > use cisco...pix runs ios not catos > > > > > i've used rancid with varios models of pix and they all work fine, > > > with or without tac+ for aaa. > > > > > /joshua > > -- > > What difference does it make to the dead, the orphans, and the > > > homeless, whether the mad destruction is wrought under the name of > > > totalitarianism or the holy name of liberty and democracy? > > - Mohandas Karamchand (Mahatma) Gandhi - > > > > > > > > > > > > > > This message contains information that may be privileged or > > > confidential and is the property of the Capgemini Group. It is > > > intended only for the person to whom it is addressed. If you are not > > > the intended recipient, you are not authorized to read, print, > > > retain, copy, disseminate, distribute, or use this message or any > > > part thereof. If you receive this message in error, please > notify the > > > sender immediately and delete all copies of this message. > > > > > > > This message contains information that may be privileged or > confidential and is the property of the Capgemini Group. It > is intended only for the person to whom it is addressed. If > you are not the intended recipient, you are not authorized > to read, print, retain, copy, disseminate, distribute, or > use this message or any part thereof. If you receive this > message in error, please notify the sender immediately and > delete all copies of this message. > From owner-rancid-discuss-outgoing@shrubbery.net Wed Dec 29 21:36:42 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 767DE11CE33 for ; Wed, 29 Dec 2004 21:36:42 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id D60D91113C; Wed, 29 Dec 2004 21:36:41 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id C2F0C1114D; Wed, 29 Dec 2004 21:36:41 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from mxepar01.capgemini.com (MXEPAR01.capgemini.com [194.3.247.82]) by guelah.shrubbery.net (Postfix) with ESMTP id BED111113C for ; Wed, 29 Dec 2004 21:36:40 +0000 (UTC) Received: from mxipar01.capgemini.com (prvmta2 [194.3.224.82]) by mxepar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBTLaddH012558 for ; Wed, 29 Dec 2004 22:36:39 +0100 (MET) Received: from prvmta2.capgemini.com (localhost [127.0.0.1]) by mxipar01.capgemini.com (8.12.11/8.12.11) with ESMTP id iBTLadCH012880 for ; Wed, 29 Dec 2004 22:36:39 +0100 (MET) Received: from CAONMASTTM01.na.capgemini.com (caonmasttm01.na.capgemini.com [206.245.12.90])by prvmta2.capgemini.com (8.12.11/8.12.11) with ESMTP id iBTLacP9012869for ; Wed, 29 Dec 2004 22:36:38 +0100 (MET) Received: from caonmastxr01.na.capgemini.com ([206.245.20.25]) by CAONMASTTM01.na.capgemini.com with InterScan Messaging Security Suite; Wed, 29 Dec 2004 16:36:38 -0500 Received: from caonmastxm03.na.capgemini.com ([206.245.20.10]) by caonmastxr01.na.capgemini.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 29 Dec 2004 16:36:37 -0500 x-mimeole: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: RE: Does RANCID handle Cisco PIX devices? Date: Wed, 29 Dec 2004 16:37:39 -0500 Message-ID: <0D9EF3454D8EFC4B8BFFD2B86294168160EFBF@caonmastxm03.na.capgemini.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Does RANCID handle Cisco PIX devices? Thread-Index: AcTt7WLuNPR4sqGhRKqX6bM6ppyBRwAAQ7kA From: "Hopper, Faron W." To: "Gee-clough, Aaron (NIH/CIT)" Cc: X-OriginalArrivalTime: 29 Dec 2004 21:36:37.0713 (UTC) FILETIME=[79F22C10:01C4EDEE] X-imss-version: 2.012 X-imss-result: Passed X-imss-approveListMatch: *@capgemini.com Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk That is a good idea, I will check into it. I thought that the account had level 15, but I will verify it.=0D -----Original Message----- From: Gee-clough, Aaron (NIH/CIT) [mailto:geecla@mail.nih.gov]=0D Sent: Wednesday, December 29, 2004 3:29 PM To: Hopper, Faron W. Cc: rancid-discuss@shrubbery.net Subject: RE: Does RANCID handle Cisco PIX devices? Does the account you're logging in as have the rights to run all the commands rancid wants to do on the PIX? I supsect that the rancid run is taking forever because it's trying to run a whole list of things, and one of them (write term, perhaps?) is being refused....rancid then hangs, and the connection only dies when it times out. Aaron --------------------- Aaron Gee-Clough NIH/CIT/DNST/NEB/NSS Contractor, geek, etc Never try to teach a pig to sing. It wastes your time and annoys the pig. > -----Original Message----- > From: Hopper, Faron W. [mailto:faron.hopper@capgemini.com] > Sent: Wednesday, December 29, 2004 4:25 PM > To: Gee-clough, Aaron (NIH/CIT) > Cc: rancid-discuss@shrubbery.net > Subject: RE: Does RANCID handle Cisco PIX devices? >=0D >=0D >=0D > Aaron, >=0D > If I remove the autoenable line, I can use clogin to log into the=0D > PIX (see below). > However, my rancid-run process now takes forever to complete (it is=0D > taking hours instead of minutes; it used to run about 20 minutes....) > This, >=0D > is probably due to my lack of understanding in how to setup the=0D > .cloginrc file .....anyway, when that rancid-run process finishes, I=0D > do not have any updates in the cvs database. (cvsweb.cgi lists the=0D > rev as 1.1) I have run the rancid-run process 2-3 times since=0D > removing the autoenable and the dead.letter file now has many devices=0D > that it can't contact....more stuff to work on. > Anyway, is there any reason why it would not update the pixhq device? > (it is >=0D > not listed in the dead.letter file....)? >=0D > Thanks, > Faron >=0D >=0D > $ /usr/local/libexec/rancid/clogin -c "show version" -f .cloginrc=0D > pixhq > pixhq=0D >=0D > spawn telnet pixhq > Trying 10.1.1.1... > telnet: connect to address 10.1.1.1: Connection refused > telnet: Unable to connect to remote host spawn ssh -c 3des -x -l=0D > net-cfg-bak pixhq net-cfg-bak@pixhq's password: > Type help or '?' for a list of available commands. > PIXHQ> > PIXHQ> enable > Another session is writing configuration to memory, please wait a=0D > moment for it to finish... > Password: ******** > PIXHQ# > PIXHQ# term length 0 > Type help or '?' for a list of available commands. > PIXHQ# show version >=0D > Cisco PIX Firewall Version 6.3(3) > Cisco PIX Device Manager Version 2.1(1) >=0D > Compiled on Wed 13-Aug-03 13:55 by morlee >=0D > KCSCAFW1 up 87 days 2 hours >=0D > Hardware: PIX-525, 256 MB RAM, CPU Pentium III 600 MHz > Flash E28F128J3 @ 0x300, 16MB > BIOS Flash AM29F400B @ 0xfffd8000, 32KB >=0D > 0: ethernet0: address is 0005.9bca.350f, irq 10 > 1: ethernet1: address is 0005.9bca.3511, irq 11 > 2: ethernet2: address is 00e0.b604.fb6b, irq 11 > 3: ethernet3: address is 00e0.b604.fb6a, irq 10 > 4: ethernet4: address is 00e0.b604.fb69, irq 9 > 5: ethernet5: address is 00e0.b604.fb68, irq 5 > 6: gb-ethernet0: address is 0003.4725.3a71, irq 5 > 7: gb-ethernet1: address is 0003.4725.38e5, irq 11 Licensed Features: > Failover: Enabled > VPN-DES: Enabled > VPN-3DES-AES: Enabled > Maximum Physical Interfaces: 8 > Maximum Interfaces: 12 > Cut-through Proxy: Enabled > Guards: Enabled > URL-filtering: Enabled > Inside Hosts: Unlimited > Throughput: Unlimited > IKE peers: Unlimited >=0D > This PIX has an Unrestricted (UR) license. >=0D > Serial Number: 405200333 (0x1826ddcd) > Running Activation Key: 0xa94bffde 0x802610c9 0x25221732 0x585f4871=0D > Configuration last modified by net-cfg-bak at 14:44:44.067 UTC Wed Dec > 29 2004 > PIXHQ#exit >=0D > Logoff >=0D > Connection to pixhq closed. >=0D >=0D > -----Original Message----- > From: Gee-clough, Aaron (NIH/CIT) [mailto:geecla@mail.nih.gov] >=0D > Sent: Tuesday, December 28, 2004 3:40 PM > To: Hopper, Faron W. > Subject: RE: Does RANCID handle Cisco PIX devices? >=0D > Try it without the autoenable line...you still have to enter enable on > the PIX. (I'm running rancid w/PIXs right now, so it should work.) >=0D > Can you clogin to any of the PIXs directly? That's the common test I=0D > use to see if rancid will be okay (and often tells me what error=0D > actually occurs). >=0D > Aaron > --------------------- > Aaron Gee-Clough > NIH/CIT/DNST/NEB/NSS > Contractor, geek, etc > Never try to teach a pig to sing.=0D >=0D > It wastes your time and annoys the pig. >=0D > > -----Original Message----- > > From: Hopper, Faron W. [mailto:faron.hopper@capgemini.com] > > Sent: Tuesday, December 28, 2004 3:14 PM > > To: joshua sahala > > Cc: rancid-discuss@shrubbery.net > > Subject: RE: Does RANCID handle Cisco PIX devices? > > >=0D > > >=0D > > >=0D > > >=0D > > >=0D > > I have tried setting these devices to cisco from cat5. There is no >=0D > > change. > > Rancid is not able to log into my PIXes. The PIX's don't > have telnet >=0D > > enabled, > > >=0D > > but this shouldn't be a big deal for RANCID. Could the > problem be in >=0D > > how > > >=0D > > I have setup the .cloginrc file? > > >=0D > > my .cloginrc file is as follows > > >=0D > > add method * {telnet} {ssh} > > add autoenable * {1} > > add enauser * {net\-cfg\-bak} > > add user * {net-cfg-bak} > > add password * {pass} > > >=0D > > >=0D > > # set ssh encryption type, dflt: 3des > > add cyphertype * {3des} > > >=0D > > The other thought that I had is that something might be configured > > >=0D > > differently (misconfigured?) on TACACAS. >=0D > > >=0D > > >=0D > > My TACACS+ username is net-cfg-bak > > >=0D > > >=0D > > aaa-server TACACS+ protocol tacacs+ > > aaa-server TACACS+ (outside) host 10.2.1.61 key timeout 15 > > aaa-server TACACS+ (outside) host 10.2.1.62 key timeout 15 > > aaa-server RADIUS protocol radius > > aaa-server LOCAL protocol tacacs+ > > aaa-server local protocol tacacs+ > > aaa authentication ssh console TACACS+ > > aaa authentication telnet console TACACS+ > > aaa authentication enable console TACACS+ > > >=0D > > Any thoughts? > > >=0D > > Thanks, > > Faron > > -----Original Message----- > > From: joshua sahala [mailto:jejs+rancid@sahala.org] > > >=0D > > Sent: Tuesday, December 28, 2004 11:35 AM > > To: Hopper, Faron W. > > Cc: rancid-discuss@shrubbery.net > > Subject: Re: Does RANCID handle Cisco PIX devices? > > >=0D > > On (28/12/04 12:19), Hopper, Faron W. wrote: > > > > > >=0D > > > Hello all, I am still exploring RANCID's capabilities.=0D >=0D > > Does it have > > >=0D > > > the ablility to back up Cisco PIX configs? I have added > the one of > > >=0D > > > our PIX's names to the router.db file and set the type to > > > > > >=0D > > > pixhq:cat5:up > > > pixhq2:cat5:up > > > > > >=0D > > >=0D > > use cisco...pix runs ios not catos > > >=0D > > i've used rancid with varios models of pix and they all work fine, >=0D > > with or without tac+ for aaa. > > >=0D > > /joshua > > -- > > What difference does it make to the dead, the orphans, and the >=0D > > homeless, whether the mad destruction is wrought under the name of >=0D > > totalitarianism or the holy name of liberty and democracy? > > - Mohandas Karamchand (Mahatma) Gandhi - > > >=0D > > >=0D > > >=0D > > >=0D > > This message contains information that may be privileged or >=0D > > confidential and is the property of the Capgemini Group. It is >=0D > > intended only for the person to whom it is addressed. If you are not >=0D > > the intended recipient, you are not authorized to read, print, >=0D > > retain, copy, disseminate, distribute, or use this message or any >=0D > > part thereof. If you receive this message in error, please > notify the >=0D > > sender immediately and delete all copies of this message. > > >=0D >=0D >=0D >=0D > This message contains information that may be privileged or=0D > confidential and is the property of the Capgemini Group. It is=0D > intended only for the person to whom it is addressed. If you are not=0D > the intended recipient, you are not authorized to read, print,=0D > retain, copy, disseminate, distribute, or use this message or any=0D > part thereof. If you receive this message in error, please notify the=0D > sender immediately and delete all copies of this message. >=0D This message contains information that may be privileged or confidential= and is the property of the Capgemini Group. It is intended only for the= person to whom it is addressed. If you are not the intended recipient, = you are not authorized to read, print, retain, copy, disseminate, = distribute, or use this message or any part thereof. If you receive this = message in error, please notify the sender immediately and delete all = copies of this message. From owner-rancid-discuss-outgoing@shrubbery.net Thu Dec 30 23:22:34 2004 Return-Path: X-Original-To: rancid-discuss-archive@ni.shrubbery.net Delivered-To: rancid-discuss-archive@ni.shrubbery.net Received: from guelah.shrubbery.net (guelah.shrubbery.net [198.58.5.1]) by ni.shrubbery.net (Postfix) with ESMTP id 4602611CE2F for ; Thu, 30 Dec 2004 23:22:34 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 9626A1113C; Thu, 30 Dec 2004 23:22:33 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8AD8411146; Thu, 30 Dec 2004 23:22:33 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 7053) id 1E98411142; Thu, 30 Dec 2004 23:22:33 +0000 (UTC) Received: from smtp1.seaqa.com (scaler.seaqa.com [12.110.77.11]) by guelah.shrubbery.net (Postfix) with ESMTP id EB26B1113C for ; Thu, 30 Dec 2004 22:24:13 +0000 (UTC) Received: from EX2000-C.vistocorp.com (unknown [10.102.101.105]) by smtp1.seaqa.com (Postfix) with ESMTP id 381882BEAC5 for ; Thu, 30 Dec 2004 22:24:20 +0000 (GMT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4EEBE.4E6B4E8E" Subject: Rancid and Netscalers Date: Thu, 30 Dec 2004 14:24:20 -0800 Message-ID: <6E494551E68B574688EB0D7E9B7169C98D808A@ex2000-c.vistocorp.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Rancid and Netscalers Thread-Index: AcTuvk5VrLjF+Rp4SgGMVe3XvMUSkQ== From: "Andy Litzinger" To: Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk This is a multi-part message in MIME format. ------_=_NextPart_001_01C4EEBE.4E6B4E8E Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I'm having trouble using the netscaler code for rancid. Has anyone had = any success with it, especially with some of the newer nescaler code? I = have my .cloginrc line set up similar to: add user netscaler.foo.com nsroot #note that I only supplied a vty password because netscaler is FreeBSD = based and does not use enable add password netscaler.foo.com password add method netscaler.foo.com ssh router.db netscaler.foo.com:netscaler:up When I test with nslogin netscaler.foo.com it connects to the netscaler = and logs in(you get the login message and prompt >), but then you can't = enter any commands and eventually the expect script times out and = disconnects. I'm not sure what the expect script is trying to do at = this point. I believe some of the netscaler commands may have changed in recent = versions and I'm not sure when the nslogin/nsrancid scripts were last = tested. FYI I am running NS5.2 Build 50.17. Anyone have any suggestions? Thanks! Andy ------_=_NextPart_001_01C4EEBE.4E6B4E8E Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Rancid and Netscalers

Hi,
 I'm having trouble using the = netscaler code for rancid.  Has anyone had any success with it, = especially with some of the newer nescaler code?  I have my = .cloginrc line set up similar to:

add user = netscaler.foo.com      nsroot
#note that I only supplied a vty = password because netscaler is FreeBSD based and does not use = enable
add password netscaler.foo.com  = password
add method = netscaler.foo.com    ssh

router.db
netscaler.foo.com:netscaler:up

When I test with nslogin = netscaler.foo.com it connects to the netscaler and logs in(you get the = login message and prompt >), but then you can't enter any commands = and eventually the expect script times out and disconnects.  I'm = not sure what the expect script is trying to do at this = point.

I believe some of the netscaler = commands may have changed in recent versions and I'm not sure when the = nslogin/nsrancid scripts were last tested.  FYI I am running NS5.2 = Build 50.17.

Anyone have any suggestions?

Thanks!
 Andy

------_=_NextPart_001_01C4EEBE.4E6B4E8E--