Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
If I run it via CLI (sudo su - ranciduser before running it..) it completes correctly. Both are using the exact same clogin file as this works for a lot of routers and other firewalls. It's just specifically the palo alto firewalls that are failing. Suggestions on what to check or how to debug this behavior?


#
[***@tools ~]$ /usr/local/rancid/bin/panrancid -d firewall1
executing panlogin -t 90 -c"set cli scripting-mode on;set cli pager off;set cli configuration-output-format set;show system info;show config running" firewall1
line: firewall1
line: spawn ssh -c 3des -x -l ranciduser firewall1
line: Password:
line: Last login: Wed May 1 12:12:57 2013 from tools.removed.com<http://tools.removed.com>
line: ***@fw1(passive)>
line: ***@fw1(passive)>
line: ***@fw1(passive)> set ***@fw1(passive)> set cli ***@fw1(passive)> set cli scripting-mode ***@fw1(passive)> set cli scripting-mode on
PROMPT MATCH: ***@fw1\(passive\)[#>]
HIT COMMAND:***@fw1(passive)> set ***@fw1(passive)> set cli ***@fw1(passive)> set cli scripting-mode ***@fw1(passive)> set cli scripting-mode on
COMMAND is: set cli scripting-mode on|EatCommand
HIT COMMAND:***@fw1(passive)> set cli pager off
COMMAND is: set cli pager off|EatCommand
HIT COMMAND:***@fw1(passive)> set cli configuration-output-format set
COMMAND is: set cli configuration-output-format set|EatCommand
HIT COMMAND:***@fw1(passive)> show system info
COMMAND is: show system info|ShowInfo
In ShowInfo:: ***@fw1(passive)> show system info
HIT COMMAND:***@fw1(passive)> show config running
COMMAND is: show config running|ShowConfig
In ShowConfig: ***@fw1(passive)> show config running
line:
exiting
#


Thanks for your help!
-Tim

--_000_FE83190899DE5B41BD7B5C3FD84CDF8F35D15990mailnycmb5awinm_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hrm.. that is odd. I&#8217;d turn on debugging with panlogin and see what it&#8217;s actually trying to send. It sure does
seem like it&#8217;s either a bad password or a failure to match the password prompt in some way.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
rancid-discuss-***@shrubbery.net [mailto:rancid-discuss-***@shrubbery.net]
<b><span style="font-weight:bold">On Behalf Of </span></b>Tim Eberhard<br>
<b><span style="font-weight:bold">Sent:</span></b> Wednesday, May 01, 2013 12:25 PM<br>
<b><span style="font-weight:bold">To:</span></b> rancid-***@shrubbery.net<br>
<b><span style="font-weight:bold">Subject:</span></b> [rancid] backup problems with new element type<o:p></o:p></span></font></p>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Rancid folks,<o:p></o:p></span></font></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">I've hit a wall and I was hoping you all might be able to provide some insight.&nbsp;<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">In an attempt to get some palo alto firewalls added to rancid for config backup I'm having issues with rancid properly logging in.<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
Loading...