From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 1 00:00:43 2005 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 9789511CE2F for ; Fri, 1 Apr 2005 00:00:43 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id B6C488647F; Fri, 1 Apr 2005 00:00:42 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id AA65186482; Fri, 1 Apr 2005 00:00: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 0A5A686481; Fri, 1 Apr 2005 00:00:42 +0000 (UTC) Date: Thu, 31 Mar 2005 16:00:41 -0800 From: john heasley To: Justin Grote Cc: rancid-discuss@shrubbery.net Subject: Re: RancidSVN: New Repository Location Message-ID: <20050401000041.GM29030@shrubbery.net> References: <424C8D33.1060209@grote.name> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <424C8D33.1060209@grote.name> 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 I really will get to your patch at some point. Lack of spare time; dont take my silence as non-interest. Your effort is appreciated. Thu, Mar 31, 2005 at 04:52:19PM -0700, Justin Grote: > ***SUPPORT DISCLAIMER*** > RancidSVN is NOT AFFILIATED WITH NOR SUPPORTED BY THE RANCID TEAM. > Please do not contact them about issues related to RancidSVN. They won't > help you. Maybe in the future my integrated version may be merged into > the RANCID code, but until such time it is not supported by them. > ***END DISCLAIMER*** From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 1 00:04:27 2005 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 57F9711CE2F for ; Fri, 1 Apr 2005 00:04:27 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 676FD86481; Fri, 1 Apr 2005 00:04:26 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 5C3CD86482; Fri, 1 Apr 2005 00:04:26 +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.196]) by guelah.shrubbery.net (Postfix) with ESMTP id 56B408647F for ; Fri, 1 Apr 2005 00:04:25 +0000 (UTC) Received: by rproxy.gmail.com with SMTP id a41so524137rng for ; Thu, 31 Mar 2005 16:04:24 -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=Brs2B643D+krHjF9RIM0FcybC4oGsVy6h4CKiEXAD5xcuMRjj2RMRb6/Drp+AzZgmYBJaM0t22PEs8szmkk6FW7kJIHWV1oS+cBxiDFTbVHKEpLCzsCawgyLXW4xJ8UGc/iZokpK/tAIHaLHBBHlFN7ExjLk+WFH++j5swHZXQI= Received: by 10.38.160.52 with SMTP id i52mr2170061rne; Thu, 31 Mar 2005 16:04:24 -0800 (PST) Received: by 10.39.1.11 with HTTP; Thu, 31 Mar 2005 16:04:24 -0800 (PST) Message-ID: <8e124f16050331160412ffd60b@mail.gmail.com> Date: Thu, 31 Mar 2005 16:04:24 -0800 From: Big Wave Dave Reply-To: Big Wave Dave To: Chris Gallardo Subject: Re: RANCID hangs with HP 4104 and 2524 Cc: rancid-discuss@shrubbery.net In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <8e124f1605033111295f65569@mail.gmail.com> <8e124f16050331115235a1764c@mail.gmail.com> <20050331202919.GI29030@shrubbery.net> Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk On Thu, 31 Mar 2005 16:10:40 -0500 (EST), Chris Gallardo wrote: > actually both of these devices use the HP driver so use hlogin to test > it. I have gotten hlogin -c 'show config' IP_ADDRESS to work with my > hp 4104's, 4108's, and 2524's > I ran this command. Both of them just sat at the switches prompt. Dave From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 1 00:11:13 2005 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 648BE11CE2F for ; Fri, 1 Apr 2005 00:11:13 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 85CE386483; Fri, 1 Apr 2005 00:11:12 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 7F55186485; Fri, 1 Apr 2005 00:11:12 +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 C7B2C86484; Fri, 1 Apr 2005 00:11:11 +0000 (UTC) Date: Thu, 31 Mar 2005 16:11:11 -0800 From: john heasley To: Big Wave Dave Cc: Chris Gallardo , rancid-discuss@shrubbery.net Subject: Re: RANCID hangs with HP 4104 and 2524 Message-ID: <20050401001111.GN29030@shrubbery.net> References: <8e124f1605033111295f65569@mail.gmail.com> <8e124f16050331115235a1764c@mail.gmail.com> <20050331202919.GI29030@shrubbery.net> <8e124f16050331160412ffd60b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8e124f16050331160412ffd60b@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 Thu, Mar 31, 2005 at 04:04:24PM -0800, Big Wave Dave: > On Thu, 31 Mar 2005 16:10:40 -0500 (EST), Chris Gallardo > wrote: > > actually both of these devices use the HP driver so use hlogin to test > > it. I have gotten hlogin -c 'show config' IP_ADDRESS to work with my > > hp 4104's, 4108's, and 2524's > > > I ran this command. Both of them just sat at the switches prompt. I'd guess that you have autoenable misconfigured in your .cloginrc. otherwise, provide the transcript. From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 1 00:16:25 2005 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 0400011CE2F for ; Fri, 1 Apr 2005 00:16:24 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 2F63886484; Fri, 1 Apr 2005 00:16:24 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 25A1486485; Fri, 1 Apr 2005 00:16:24 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from S2.cableone.net (smtp2.cableone.net [24.116.0.228]) by guelah.shrubbery.net (Postfix) with ESMTP id 6746E86483; Fri, 1 Apr 2005 00:16:22 +0000 (UTC) Received: from [192.168.1.100] (unverified [24.119.41.111]) by S2.cableone.net (CableOne SMTP Service S2) with ESMTP id 15161739 for multiple; Thu, 31 Mar 2005 17:34:40 -0700 Message-ID: <424C92C0.8050702@grote.name> Date: Thu, 31 Mar 2005 17:16:00 -0700 From: Justin Grote User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: john heasley Cc: rancid-discuss@shrubbery.net Subject: Re: RancidSVN: New Repository Location References: <424C8D33.1060209@grote.name> <20050401000041.GM29030@shrubbery.net> In-Reply-To: <20050401000041.GM29030@shrubbery.net> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms060302070805080808000201" X-IP-stats: Incoming Last 0, First 89, in=57, out=0, spam=0 X-External-IP: 24.119.41.111 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. --------------ms060302070805080808000201 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit john heasley wrote: >I really will get to your patch at some point. Lack of spare time; dont >take my silence as non-interest. Your effort is appreciated. > > No problem whatsoever. I didn't mean at all for that comment to come off as a stab against you guys, but upon a second reading I see how it could be interpreted that way. I have the utmost respect for the project and I just didn't want to hamper development for my quick hack, it was just something that I wanted and some other people had interest in :). Don't worry about validating the drop-in replacement for inclusion, it's too intrusive to your current source. When I get my integrated version done that offers Subversion as an option rather than mandatory, I'll send it over. I've been doing my best to follow your coding conventions and styles, so it's not too intrusive. You guys also did such an excellent job of separating the collector and repository code that I don't even have to touch the collector code and router profiles, just the repository code. I'd say the best benefit to this has been the ability to commit via http and svn+ssh://. In larger deployments, I have RancidSVN running at each site, and they all commit to a central repository (each site being a subdirectory), giving a centralized view of the entire network. The low-cost svn copy is real nice to take snapshots of the network, plus all the other great stuff about Subversion (such as directory version control). Keep up the great work! __________________________ Justin Grote Network Architect JWG Networks --------------ms060302070805080808000201 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIH4TCC AkswggG0oAMCAQICAw42LDANBgkqhk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25hbCBGcmVlbWFp bCBJc3N1aW5nIENBAgMONiwwegYLKoZIhvcNAQkQAgsxa6BpMGIxCzAJBgNVBAYTAlpBMSUw IwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUg UGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIDDjYsMA0GCSqGSIb3DQEBAQUABIGAiHG/ HfuzrNDkNsaM+eey0JZQ8AH/zk70b9kskny2C6BmwQQV9ngv9zxIcVmiWWho1oiQ7vokvJBb K2XKbvlAvySc7XRQ1v6irmLBOoG9yxdti6HJIOsxx4o8ZjD3uyDhx5f/DK5dKP03cAeYBubK MATRtuaBxNqLL/wWzVvfx7gAAAAAAAA= --------------ms060302070805080808000201-- From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 1 00:19:35 2005 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 F257911CE2F for ; Fri, 1 Apr 2005 00:19:34 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 3097486483; Fri, 1 Apr 2005 00:19:34 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 253AF86486; Fri, 1 Apr 2005 00:19:34 +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.206]) by guelah.shrubbery.net (Postfix) with ESMTP id 1E9BC86485 for ; Fri, 1 Apr 2005 00:19:30 +0000 (UTC) Received: by rproxy.gmail.com with SMTP id a41so526096rng for ; Thu, 31 Mar 2005 16:19:29 -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=CbUrQ0BGGIY+zG+MVqLhue7Rpobi0I4FjFsuw4Swg860Xz/4GjvnJ5H2LCH4b/FVAY2QZQDgh7OHzJ1tQ5p3N1/709oFeboIEkmonfTVBOptr714hM/pAkzHbup2Qir8t8BwBibVoM+junifD3r/k6RUgB5RwVXl+a1+54C2pIo= Received: by 10.38.12.35 with SMTP id 35mr2242237rnl; Thu, 31 Mar 2005 16:19:29 -0800 (PST) Received: by 10.39.1.11 with HTTP; Thu, 31 Mar 2005 16:19:29 -0800 (PST) Message-ID: <8e124f1605033116193c7b9ac2@mail.gmail.com> Date: Thu, 31 Mar 2005 16:19:29 -0800 From: Big Wave Dave Reply-To: Big Wave Dave To: john heasley Subject: Re: RANCID hangs with HP 4104 and 2524 Cc: Chris Gallardo , rancid-discuss@shrubbery.net In-Reply-To: <20050401001111.GN29030@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <8e124f1605033111295f65569@mail.gmail.com> <8e124f16050331115235a1764c@mail.gmail.com> <20050331202919.GI29030@shrubbery.net> <8e124f16050331160412ffd60b@mail.gmail.com> <20050401001111.GN29030@shrubbery.net> Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk > > > actually both of these devices use the HP driver so use hlogin to test > > > it. I have gotten hlogin -c 'show config' IP_ADDRESS to work with my > > > hp 4104's, 4108's, and 2524's > > > > > I ran this command. Both of them just sat at the switches prompt. > > I'd guess that you have autoenable misconfigured in your .cloginrc. > otherwise, provide the transcript. > Indeed... I did not have the "autoenable" set. I had not seen that in the documentation. Thanks for the help! Dave From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 1 16:07:22 2005 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 445D311CE2F for ; Fri, 1 Apr 2005 16:07:21 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 562C98647C; Fri, 1 Apr 2005 16:07:21 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 4A39D86481; Fri, 1 Apr 2005 16:07:21 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from brutus.noc.iu.edu (brutus.noc.iu.edu [134.68.14.199]) by guelah.shrubbery.net (Postfix) with ESMTP id 628DA8647B for ; Fri, 1 Apr 2005 16:07:04 +0000 (UTC) Received: by brutus.noc.iu.edu (Postfix, from userid 1000) id B179014003; Fri, 1 Apr 2005 11:07:00 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by brutus.noc.iu.edu (Postfix) with ESMTP id AE3C024003 for ; Fri, 1 Apr 2005 11:07:00 -0500 (EST) Date: Fri, 1 Apr 2005 11:07:00 -0500 (EST) From: Chris Gallardo X-X-Sender: wcgallar@brutus.noc.iu.edu To: rancid-discuss@shrubbery.net Subject: HP 4108 ssh and rancid Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk I'm trying to get rancid to connect to a hp 4108gl switch using ssh i defined the method in .cloginrc as add method 10.129.9.169 ssh i get this error when running hlogin wcgallar@brutus wcgallar $ hlogin -c 'show config' 10.129.9.169 10.129.9.169 spawn hpuifilter -- 'ssh -c 3des -x -l rancid' 10.129.9.169 hpuifilter: execlp() failed: No such file or directory i'm trying to figure out where this function is called and where it should be located. -- Chris Gallardo From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 1 17:52:16 2005 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 347BA11CE2F for ; Fri, 1 Apr 2005 17:52:16 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 9398B8647C; Fri, 1 Apr 2005 17:52:15 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 8C4D586482; Fri, 1 Apr 2005 17:52:15 +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 DF33386481; Fri, 1 Apr 2005 17:52:14 +0000 (UTC) Date: Fri, 1 Apr 2005 09:52:14 -0800 From: john heasley To: Chris Gallardo Cc: rancid-discuss@shrubbery.net Subject: Re: HP 4108 ssh and rancid Message-ID: <20050401175214.GF27630@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 Fri, Apr 01, 2005 at 11:07:00AM -0500, Chris Gallardo: > I'm trying to get rancid to connect to a hp 4108gl switch using ssh > > i defined the method in .cloginrc as > > add method 10.129.9.169 ssh > > i get this error when running hlogin > > wcgallar@brutus wcgallar $ hlogin -c 'show config' 10.129.9.169 > 10.129.9.169 > spawn hpuifilter -- 'ssh -c 3des -x -l rancid' 10.129.9.169 > hpuifilter: execlp() failed: No such file or directory > > > i'm trying to figure out where this function is called and where it > should be located. ssh appears to not be in the PATH. however, ssh does not yet work with hlogin; sorry. From owner-rancid-discuss-outgoing@shrubbery.net Tue Apr 5 18:58:00 2005 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 5ED5E11CE2D for ; Tue, 5 Apr 2005 18:58:00 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 510798647C; Tue, 5 Apr 2005 18:57:59 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 45C2786481; Tue, 5 Apr 2005 18:57:59 +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 0E2888646F for ; Tue, 5 Apr 2005 18:57:53 +0000 (UTC) Received: from BRYCE by helpdesk.altn.com (MDaemon.PRO.v7.2.3.R) with ESMTP id 10-md50000012049.msg for ; Tue, 05 Apr 2005 13:57:20 -0500 Message-ID: <006601c53a11$498bf050$c8320a0a@gis2.com> From: "Bryce Edwards" To: Subject: Alteon SSL Devices Date: Tue, 5 Apr 2005 13:57:17 -0500 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, 05 Apr 2005 13:57:20 -0500 (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, 05 Apr 2005 13:57:22 -0500 Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk Guys, I have two Alteon SSL accelerators that I'd like help making a script for. I can get you a session log to know what all the prompts and commands should be, but I don't know how to script it myself. ::Bryce:: From owner-rancid-discuss-outgoing@shrubbery.net Thu Apr 21 01:07:03 2005 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 DF0DE11CE2D for ; Thu, 21 Apr 2005 01:07:02 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 0B15D8648A; Thu, 21 Apr 2005 01:07:02 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 041488648B; Thu, 21 Apr 2005 01:07:02 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from sled.gsfc.nasa.gov (sled.gsfc.nasa.gov [198.119.28.21]) by guelah.shrubbery.net (Postfix) with ESMTP id AC05F86488 for ; Thu, 21 Apr 2005 01:06:56 +0000 (UTC) Received: from frakir.gsfc.nasa.gov (frakir.gsfc.nasa.gov [198.119.28.35]) by sled.gsfc.nasa.gov (8.12.11/8.12.11) with ESMTP id j3L16ZWv013457; Wed, 20 Apr 2005 21:06:36 -0400 (EDT) Received: from frakir.gsfc.nasa.gov (localhost [127.0.0.1]) by frakir.gsfc.nasa.gov (8.13.3/8.13.3/Debian-9) with ESMTP id j3L16ZJX023997; Wed, 20 Apr 2005 21:06:35 -0400 Received: (from morty@localhost) by frakir.gsfc.nasa.gov (8.13.3/8.13.3/Submit) id j3L16XO4023995; Wed, 20 Apr 2005 21:06:33 -0400 Date: Wed, 20 Apr 2005 21:06:33 -0400 From: "Mordechai T. Abzug" To: rancid-discuss@shrubbery.net Subject: rancid: mail filenames only, set max rounds Message-ID: <20050421010633.GK14554@frakir.gsfc.nasa.gov> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0IvGJv3f9h+YhkrH" Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk --0IvGJv3f9h+YhkrH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The attached patch: - adds a "MAIL_FILENAME_ONLY" tunable to control whether entire diffs are mailed as per the default, or only the filename is mailed. - adds a "MAX_ROUNDS" tunable to control the maximum number of rounds/passes. This patch is relative to a clean 2.3.1. It does not change default behavior. Thanks! - Morty --0IvGJv3f9h+YhkrH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rancid-2.3.1-local-p1.patch" diff -cr rancid-2.3.1/bin/control_rancid.in rancid-2.3.1-local-p1/bin/control_rancid.in *** rancid-2.3.1/bin/control_rancid.in Fri Mar 12 23:13:09 2004 --- rancid-2.3.1-local-p1/bin/control_rancid.in Thu Apr 21 00:01:53 2005 *************** *** 308,315 **** # This section will generate a list of missed routers # and try to grab them again. It will run through ! # $pass times. ! pass=4 round=1 if [ -f $DIR/routers.up.missed ]; then rm -f $DIR/routers.up.missed --- 308,315 ---- # This section will generate a list of missed routers # and try to grab them again. It will run through ! # $pass times; tune with MAX_ROUNDS, default 4 ! pass=${MAX_ROUNDS:=4} round=1 if [ -f $DIR/routers.up.missed ]; then rm -f $DIR/routers.up.missed *************** *** 369,376 **** # Diff the directory and then checkin. trap 'rm -fr $TMP $TMP.diff $DIR/routers.single;' 1 2 15 cd $DIR ! cvs -f @DIFF_CMD@ | sed -e '/^RCS file: /d' -e '/^--- /d' \ ! -e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /' >$TMP.diff if [ $alt_mailrcpt -eq 1 ] ; then subject="router config diffs - courtesy of $mailrcpt" --- 369,383 ---- # Diff the directory and then checkin. trap 'rm -fr $TMP $TMP.diff $DIR/routers.single;' 1 2 15 cd $DIR ! mail_filename_only=${MAIL_FILENAME_ONLY:=0} ! if [ "$mail_filename_only" = "0" ]; then ! cvs -f @DIFF_CMD@ | sed -e '/^RCS file: /d' -e '/^--- /d' \ ! -e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /' >$TMP.diff ! else ! cvs -f @DIFF_CMD@ | grep "^Index" | \ ! sed -e 's/^Index:/Changes found for:/' \ ! >$TMP.diff ! fi if [ $alt_mailrcpt -eq 1 ] ; then subject="router config diffs - courtesy of $mailrcpt" diff -cr rancid-2.3.1/etc/rancid.conf.sample.in rancid-2.3.1-local-p1/etc/rancid.conf.sample.in *** rancid-2.3.1/etc/rancid.conf.sample.in Sat Mar 13 00:17:50 2004 --- rancid-2.3.1-local-p1/etc/rancid.conf.sample.in Thu Apr 21 00:01:29 2005 *************** *** 49,54 **** --- 49,57 ---- # The number of devices to collect simultaneously. #PAR_COUNT=5; export PAR_COUNT # + # How many times should we try to reach devices? Minimum: one. + #MAX_ROUNDS=4; export MAX_ROUNDS + # # list of rancid groups #LIST_OF_GROUPS="sl joebobisp" # more groups... *************** *** 65,67 **** --- 68,74 ---- # included, as this is simply appended to the usual recipients. It is NOT # appended to recipients specified in rancid-run's -m option. #MAILDOMAIN="@example.com"; export MAILDOMAIN + # + # if you don't want to actually email the diffs, just the names of the files + # that changed, set the below to 1 + #MAIL_FILENAME_ONLY=0; export MAIL_FILENAME_ONLY diff -cr rancid-2.3.1/man/rancid.conf.5.in rancid-2.3.1-local-p1/man/rancid.conf.5.in *** rancid-2.3.1/man/rancid.conf.5.in Fri Mar 12 23:13:09 2004 --- rancid-2.3.1-local-p1/man/rancid.conf.5.in Thu Apr 21 00:00:54 2005 *************** *** 115,120 **** --- 115,126 ---- Default: $BASEDIR/logs .\" .TP + .B MAIL_FILENAME_ONLY + Control whether diff bodies are mailed or filenames that have changed + are mailed. The default, 0, is diff bodies. Set to any other value for + filenames only. + .\" + .TP .B MAILDOMAIN Define the domain part of addresses for administrative and diff e-mail. The value of this variable is simply appended to the normal mail addresses. *************** *** 123,128 **** --- 129,139 ---- had been set to "@example.com". .\" .TP + .B MAX_ROUNDS + Defines how many times rancid should use to reach devices. The minimum is + 1. The default is 4. + .\" + .TP .B NOCOMMSTR If set, .IR rancid (1) --0IvGJv3f9h+YhkrH-- From owner-rancid-discuss-outgoing@shrubbery.net Thu Apr 21 17:25:41 2005 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 A82C911CE2D for ; Thu, 21 Apr 2005 17:25:41 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id B977A8648A; Thu, 21 Apr 2005 17:25:40 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id B3D438648C; Thu, 21 Apr 2005 17:25:40 +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 07B3F8648B; Thu, 21 Apr 2005 17:25:40 +0000 (UTC) Date: Thu, 21 Apr 2005 10:25:39 -0700 From: john heasley To: "Mordechai T. Abzug" Cc: rancid-discuss@shrubbery.net Subject: Re: rancid: mail filenames only, set max rounds Message-ID: <20050421172539.GC4566@shrubbery.net> References: <20050421010633.GK14554@frakir.gsfc.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050421010633.GK14554@frakir.gsfc.nasa.gov> 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 Wed, Apr 20, 2005 at 09:06:33PM -0400, Mordechai T. Abzug: > > The attached patch: > > - adds a "MAIL_FILENAME_ONLY" tunable to control whether entire diffs > are mailed as per the default, or only the filename is mailed. This is interesting. Perhaps it would be more interesting to generate the cvs command necessary to generate the diff? eg: cvs diff -r 1.1 -r 1.2 hostname OR cvs diff -r 1.1 -r 1.2 group/configs/hostname > - adds a "MAX_ROUNDS" tunable to control the maximum number of > rounds/passes. Added. I changed it just a little to ensure the floor of 1 itteration. Thanks! From owner-rancid-discuss-outgoing@shrubbery.net Fri Apr 22 21:12:41 2005 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 67C4811CE2F for ; Fri, 22 Apr 2005 21:12:41 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 9B27F8648C; Fri, 22 Apr 2005 21:12:40 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 93DF08648E; Fri, 22 Apr 2005 21:12:40 +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 EA54A8648D; Fri, 22 Apr 2005 21:12:39 +0000 (UTC) Date: Fri, 22 Apr 2005 14:12:39 -0700 From: john heasley To: "Mordechai T. Abzug" Cc: rancid-discuss@shrubbery.net Subject: Re: rancid: mail filenames only, set max rounds Message-ID: <20050422211239.GI24171@shrubbery.net> References: <20050421010633.GK14554@frakir.gsfc.nasa.gov> <20050421172539.GC4566@shrubbery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050421172539.GC4566@shrubbery.net> 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 [ trying this again; first one bounced from verisign ] Thu, Apr 21, 2005 at 10:25:39AM -0700, john heasley: > Wed, Apr 20, 2005 at 09:06:33PM -0400, Mordechai T. Abzug: > > > > The attached patch: > > > > - adds a "MAIL_FILENAME_ONLY" tunable to control whether entire diffs > > are mailed as per the default, or only the filename is mailed. > > This is interesting. Perhaps it would be more interesting to generate the > cvs command necessary to generate the diff? eg: > cvs diff -r 1.1 -r 1.2 hostname > OR > cvs diff -r 1.1 -r 1.2 group/configs/hostname > > > - adds a "MAX_ROUNDS" tunable to control the maximum number of > > rounds/passes. > > Added. I changed it just a little to ensure the floor of 1 itteration. > Thanks! From owner-rancid-discuss-outgoing@shrubbery.net Tue Apr 26 04:07:27 2005 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 62E3611CE2F for ; Tue, 26 Apr 2005 04:07:27 +0000 (UTC) Received: by guelah.shrubbery.net (Postfix) id 577DF8648C; Tue, 26 Apr 2005 04:07:26 +0000 (UTC) Delivered-To: rancid-discuss-outgoing@shrubbery.net Received: by guelah.shrubbery.net (Postfix, from userid 10007) id 4FA078648F; Tue, 26 Apr 2005 04:07:26 +0000 (UTC) X-Original-To: rancid-discuss@shrubbery.net Delivered-To: rancid-discuss@shrubbery.net Received: from sled.gsfc.nasa.gov (sled.gsfc.nasa.gov [198.119.28.21]) by guelah.shrubbery.net (Postfix) with ESMTP id 0AC1A8648C; Tue, 26 Apr 2005 04:07:24 +0000 (UTC) Received: from frakir.gsfc.nasa.gov (frakir.gsfc.nasa.gov [198.119.28.35]) by sled.gsfc.nasa.gov (8.12.11/8.12.11) with ESMTP id j3Q46t2T024820; Tue, 26 Apr 2005 00:06:55 -0400 (EDT) Received: from frakir.gsfc.nasa.gov (localhost [127.0.0.1]) by frakir.gsfc.nasa.gov (8.13.3/8.13.3/Debian-9) with ESMTP id j3Q46tga021556; Tue, 26 Apr 2005 00:06:55 -0400 Received: (from morty@localhost) by frakir.gsfc.nasa.gov (8.13.3/8.13.3/Submit) id j3Q46tWa021554; Tue, 26 Apr 2005 00:06:55 -0400 From: Morty Abzug Date: Tue, 26 Apr 2005 00:06:55 -0400 To: john heasley Cc: "Mordechai T. Abzug" , rancid-discuss@shrubbery.net Subject: Re: rancid: mail filenames only, set max rounds Message-ID: <20050426040655.GG7676@frakir.gsfc.nasa.gov> References: <20050421010633.GK14554@frakir.gsfc.nasa.gov> <20050421172539.GC4566@shrubbery.net> <20050422211239.GI24171@shrubbery.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="FUaywKC54iCcLzqT" Content-Disposition: inline In-Reply-To: <20050422211239.GI24171@shrubbery.net> User-Agent: Mutt/1.5.6+20040907i Sender: owner-rancid-discuss@shrubbery.net Precedence: bulk --FUaywKC54iCcLzqT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Apr 22, 2005 at 02:12:39PM -0700, john heasley wrote: > [ trying this again; first one bounced from verisign ] > > Thu, Apr 21, 2005 at 10:25:39AM -0700, john heasley: > > Wed, Apr 20, 2005 at 09:06:33PM -0400, Mordechai T. Abzug: > > > > > > The attached patch: > > > > > > - adds a "MAIL_FILENAME_ONLY" tunable to control whether entire diffs > > > are mailed as per the default, or only the filename is mailed. > > > > This is interesting. Perhaps it would be more interesting to generate the > > cvs command necessary to generate the diff? eg: > > cvs diff -r 1.1 -r 1.2 hostname > > OR > > cvs diff -r 1.1 -r 1.2 group/configs/hostname Hmm. I would prefer to just use the old version: cvs diff -r1.1 whatever/configs/hostname This is fairly necessary, since the next CVS version hasn't been assigned yet at this point, and guessing is perilous. Done, in attached patch. > > > - adds a "MAX_ROUNDS" tunable to control the maximum number of > > > rounds/passes. > > > > Added. I changed it just a little to ensure the floor of 1 itteration. > > Thanks! Thank you! The attached patch also includes a few minor tweaks to deal with Solaris systems that don't have GNU diff installed. Ie. do a straight diff instead of diff -c -4. In the contexts involved, the context options don't matter. [Patch also includes the MAX_ROUNDS patch that you've already accepted; don't know what your preferences are on patch submission.] - Morty --FUaywKC54iCcLzqT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rancid-2.3.1-local-p2.patch" diff -cr rancid-2.3.1/bin/control_rancid.in rancid-2.3.1-local-p2/bin/control_rancid.in *** rancid-2.3.1/bin/control_rancid.in Fri Mar 12 23:13:09 2004 --- rancid-2.3.1-local-p2/bin/control_rancid.in Tue Apr 26 02:50:05 2005 *************** *** 138,152 **** sort -u > routers.db cut -d: -f1,2 routers.db > routers.all.new if [ ! -f routers.all ] ; then touch routers.all; fi ! @DIFF_CMD@ routers.all routers.all.new > /dev/null 2>&1; RALL=$? @PERLV@ -F: -ane '{($F[0] =~ tr@A-Z@a-z@,print $_) if ($F[2] !~ /^up$/i);}' routers.db > routers.down.new if [ ! -f routers.down ] ; then touch routers.down; fi ! @DIFF_CMD@ routers.down routers.down.new > /dev/null 2>&1; RDOWN=$? @PERLV@ -F: -ane '{($F[0] =~ tr@A-Z@a-z@,print "$F[0]:$F[1]\n") if ($F[2] =~ /^up$/i);}' routers.db > routers.up.new if [ ! -f routers.up ] ; then touch routers.up; fi ! @DIFF_CMD@ routers.up routers.up.new > /dev/null 2>&1; RUP=$? if [ $RALL -ne 0 -o $RDOWN -ne 0 -o $RUP -ne 0 ] then --- 138,152 ---- sort -u > routers.db cut -d: -f1,2 routers.db > routers.all.new if [ ! -f routers.all ] ; then touch routers.all; fi ! @DIFF@ routers.all routers.all.new > /dev/null 2>&1; RALL=$? @PERLV@ -F: -ane '{($F[0] =~ tr@A-Z@a-z@,print $_) if ($F[2] !~ /^up$/i);}' routers.db > routers.down.new if [ ! -f routers.down ] ; then touch routers.down; fi ! @DIFF@ routers.down routers.down.new > /dev/null 2>&1; RDOWN=$? @PERLV@ -F: -ane '{($F[0] =~ tr@A-Z@a-z@,print "$F[0]:$F[1]\n") if ($F[2] =~ /^up$/i);}' routers.db > routers.up.new if [ ! -f routers.up ] ; then touch routers.up; fi ! @DIFF@ routers.up routers.up.new > /dev/null 2>&1; RUP=$? if [ $RALL -ne 0 -o $RDOWN -ne 0 -o $RUP -ne 0 ] then *************** *** 308,315 **** # This section will generate a list of missed routers # and try to grab them again. It will run through ! # $pass times. ! pass=4 round=1 if [ -f $DIR/routers.up.missed ]; then rm -f $DIR/routers.up.missed --- 308,315 ---- # This section will generate a list of missed routers # and try to grab them again. It will run through ! # $pass times; tune with MAX_ROUNDS, default 4 ! pass=${MAX_ROUNDS:=4} round=1 if [ -f $DIR/routers.up.missed ]; then rm -f $DIR/routers.up.missed *************** *** 369,376 **** # Diff the directory and then checkin. trap 'rm -fr $TMP $TMP.diff $DIR/routers.single;' 1 2 15 cd $DIR ! cvs -f @DIFF_CMD@ | sed -e '/^RCS file: /d' -e '/^--- /d' \ ! -e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /' >$TMP.diff if [ $alt_mailrcpt -eq 1 ] ; then subject="router config diffs - courtesy of $mailrcpt" --- 369,387 ---- # Diff the directory and then checkin. trap 'rm -fr $TMP $TMP.diff $DIR/routers.single;' 1 2 15 cd $DIR ! mail_filename_only=${MAIL_FILENAME_ONLY:=0} ! hostname=`hostname` ! if [ "$mail_filename_only" = "0" ]; then ! cvs -f @DIFF_CMD@ | sed -e '/^RCS file: /d' -e '/^--- /d' \ ! -e '/^+++ /d' -e 's/^\([-+ ]\)/\1 /' >$TMP.diff ! else ! cvs -f @DIFF_CMD@ | \ ! sed -ne 's,^Index:,Config changed:,p' \ ! -e "s/^======.*/ For recent changes, run on $hostname:/p" \ ! -e 's,^RCS file: \(.*\)/CVS\(/.*/\).*, cd \1\2 \&\&,p' \ ! -e 's,^diff, cvs diff,p' \ ! > $TMP.diff ! fi if [ $alt_mailrcpt -eq 1 ] ; then subject="router config diffs - courtesy of $mailrcpt" diff -cr rancid-2.3.1/etc/rancid.conf.sample.in rancid-2.3.1-local-p2/etc/rancid.conf.sample.in *** rancid-2.3.1/etc/rancid.conf.sample.in Sat Mar 13 00:17:50 2004 --- rancid-2.3.1-local-p2/etc/rancid.conf.sample.in Thu Apr 21 01:54:11 2005 *************** *** 49,54 **** --- 49,57 ---- # The number of devices to collect simultaneously. #PAR_COUNT=5; export PAR_COUNT # + # How many times should we try to reach devices? Minimum: one. + #MAX_ROUNDS=4; export MAX_ROUNDS + # # list of rancid groups #LIST_OF_GROUPS="sl joebobisp" # more groups... *************** *** 65,67 **** --- 68,74 ---- # included, as this is simply appended to the usual recipients. It is NOT # appended to recipients specified in rancid-run's -m option. #MAILDOMAIN="@example.com"; export MAILDOMAIN + # + # if you don't want to actually email the diffs, just the names of the files + # that changed, set the below to 1 + #MAIL_FILENAME_ONLY=0; export MAIL_FILENAME_ONLY diff -cr rancid-2.3.1/man/rancid.conf.5.in rancid-2.3.1-local-p2/man/rancid.conf.5.in *** rancid-2.3.1/man/rancid.conf.5.in Fri Mar 12 23:13:09 2004 --- rancid-2.3.1-local-p2/man/rancid.conf.5.in Thu Apr 21 01:54:11 2005 *************** *** 115,120 **** --- 115,126 ---- Default: $BASEDIR/logs .\" .TP + .B MAIL_FILENAME_ONLY + Control whether diff bodies are mailed or filenames that have changed + are mailed. The default, 0, is diff bodies. Set to any other value for + filenames only. + .\" + .TP .B MAILDOMAIN Define the domain part of addresses for administrative and diff e-mail. The value of this variable is simply appended to the normal mail addresses. *************** *** 123,128 **** --- 129,139 ---- had been set to "@example.com". .\" .TP + .B MAX_ROUNDS + Defines how many times rancid should use to reach devices. The minimum is + 1. The default is 4. + .\" + .TP .B NOCOMMSTR If set, .IR rancid (1) --FUaywKC54iCcLzqT--