[rancid] [FWD: Re: Cisco IPS V5.X & Rancid]

Lance rancid at gheek.net
Mon Aug 6 23:29:16 UTC 2007


Here you go.

> -------- Original Message --------
> Subject: [rancid] Re: Cisco IPS V5.X & Rancid
> From: "Jeremy M. Guthrie" <rancid at dangermen.com>
> Date: Mon, May 07, 2007 10:50 am
> To: john heasley <heas at shrubbery.net>
> Cc: Rancid-discuss at shrubbery.net
> 
> The terminal type was what 'made it angry'.
> 
> However, I did fix that and here is the diff for rancid-fe:
> diff --recursive new/ old/
> diff --recursive new/rancid-fe old/rancid-fe
> 35d34
> < elsif ($vendor =~ /^ciscoips$/i)      { exec('ciscoips', $router); }
> 
> The attached are my scripts for the IPS:  ipslogin and ciscoips.
> 
> The AGM setup did not work for me.  I'll dig into that in a bit.
> 
> On Mon, 7 May 2007, john heasley wrote:
> 
> > Mon, May 07, 2007 at 01:11:26AM +0000, rancid at dangermen.com:
> >> I am working on writing a RANCID interpretter for Cisco's IPS V5.X/6.X
> >> line.  I have a modified clogin and have writen the ciscoips subsystem.
> >> The issue I have is that I can manually run the debug file just fine.
> >> However, clogin reports 'Error: EOF received' and dumps out.  Cisco's IPS
> >> accepts the username from SSH but does not prompt again for it.  So my one
> >> modification allows my ciscoips subsystem to tell clogin not to send the
> >> username.  In any case, I'm at a loss as to why I would be getting 'Error:
> >> EOF received'.  If I run the ciscoips -d hostname, I don't see it.
> >> However, if I add it to the router.db, then I get the error message.  Any
> >> backround on the clogin EOF error would be much appreciated.
> >
> > I'd guess that it dislikes the TERM you get from the cron.  The AGM does
> > that, IIRC.
> >
> > BTW, this thing looks awefully similar to the AGM.  Have you tried that
> > rancid device type?
> ><hr>_______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ciscoips
Type: application/x-perl
Size: 10410 bytes
Desc: not available
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070806/ef750639/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipslogin
Type: text/plain,english
Size: 25290 bytes
Desc: not available
Url : http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070806/ef750639/attachment-0001.bin 


More information about the Rancid-discuss mailing list