[rancid] Fortiweb 5.8

heasley heas at shrubbery.net
Thu Jul 20 17:17:19 UTC 2017


Thu, Jul 20, 2017 at 08:13:20AM -0400, Gerhard Mourani:
> Hi,
> 
> Thanks for your reply, here the output, look like with fnlogin, the remote FortiWeb wait indefinitely at the password prompt!

Looks like they have changed the password prompt.  Please complain to them
about change with zero value, then try the attached patch and comfirm for
us that it works (or not).

> expect: does "please input passwd:" (spawn_id exp3) match regular expression "(denied|Sorry)"? (No Gate, RE only) gate=yes re=no
> "Login failed"? no
> "(login:)"? Gate "login:"? gate=no
> "@[^\r\n]+[Pp]assword:"? Gate "@*assword:"? gate=no
> "[Pp]assword:"? no
> "[#\$] "? no
> expect: timed out
> 
> Error: TIMEOUT reached
> 
> > On Jul 20, 2017, at 4:56 AM, heasley <heas at shrubbery.net> wrote:
> > 
> > Wed, Jul 19, 2017 at 04:18:25PM -0400, Gerhard Mourani:
> >> 
> >> Hello,
> >> 
> >> I'm using Rancid 3.6.2 to backup Fortiweb devices which worked in the past. Since my last update to Fortiweb 5.8, rancid stop to work. Command like su - rancid -c "clogin x.x.x.x" let me connect to it instantly but typing something will return a timeout (Error: TIMEOUT reached).
> > 
> > try fnlogin (or plogin) and we'd need debug output from fnlogin -d to see
> > what is failing in whatis most likely matching of the prompt.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fnlogin.in.diff
Type: text/x-diff
Size: 1453 bytes
Desc: not available
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170720/84bd480b/attachment.diff>


More information about the Rancid-discuss mailing list