[rancid] Fortiweb 5.8

Gerhard Mourani gmourani at gmail.com
Fri Jul 21 13:55:25 UTC 2017


Hi,

Just to confirm that it works. Thanks again for your help.

Regards,

> On Jul 20, 2017, at 1:17 PM, heasley <heas at shrubbery.net> wrote:
> 
> 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.
>> 
> <fnlogin.in.diff>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170721/cf19bacf/attachment.html>


More information about the Rancid-discuss mailing list