[rancid] Radware/Alteon Interactive Commands

heasley heas at shrubbery.net
Mon Mar 16 23:56:56 UTC 2015


Thu, Feb 26, 2015 at 06:20:56AM -0600, Bob Franzke:
> There is not unfortunately. You could remove the certificate and it would no longer prompt but those are needed.
> 

looking at alogin, there is already code there to send 'y'.  for the purposes
of automation, this is likely the right choice.  although, it looks like the
prompt has changed in your new version and the match needs to be updated as
follows:

Index: bin/alogin.in
===================================================================
--- bin/alogin.in       (revision 3061)
+++ bin/alogin.in       (working copy)
@@ -456,7 +459,7 @@
            -re "^\[^\n\r]*$reprompt"           {}
            -re "^\[^\n\r ]*>>.*$reprompt"      { exp_continue }
            -re "\[\n\r]+"                      { exp_continue }
-           -re "^\*Display private keys? \[y/n]:" {
+           -re "^\*?Display private keys? \[y/n]:" {
                                                 send "y\r"
                                                 exp_continue
                                                }

please lmk if that works.

> > On Feb 26, 2015, at 3:39 AM, heasley <heas at shrubbery.net> wrote:
> > 
> > Wed, Feb 25, 2015 at 04:39:00PM -0600, Robert Franzke:
> >> So I recently upgraded the code on my Alteon 4408 Load Balancers. Since this upgrade, when running the /c/dump command listed in arancid to print out the current config while having some type of SSL certificate installed on the device, the device asks you if you want to Display the Private Keys and expects the user to reply with a ‘y’ or ‘n’ like so:
> >> 
> >>>> ALTEON-A - Standalone ADC - Main# /c/d
> >> Display private keys? [y/n]:
> >> 
> >> This hangs RANCID up and causes the device config to not be retrieved. Is there some way to fix this in the list of commands in alogin/arancid such that the script would catch the “Display private keys? [y/n]:” and then send a ‘n’? I am not too sure which file I would add this too to fix this. 
> > 
> > is there a configuration knob or argument to /c/dump to tell it not to prompt?


More information about the Rancid-discuss mailing list