[rancid] fortigate fnlogin problem (and a workaround)

Natxo Asenjo natxo.asenjo at gmail.com
Thu Apr 5 06:21:28 UTC 2018


hi,

I have a working installation of rancid (3.6.2) running on Ubuntu 16.04 and
I need to migrate the application to Centos 7.

So I decided to upgrade rancid as well to version 3.7.

The fortigate fnlogin scripts of 3.7 is not working properly with our
fortinets (we do not have a lot of them, but the ones we have give a
timeout.

3.6.2 working:
## $Id: fnlogin.in 3519 2016-12-01 00:23:58Z heas $

3.7 not working
## $Id: fnlogin.in 3718 2017-07-20 17:14:42Z heas $


This is a piece of the log:

starting: Thu Apr 5 07:50:42 CEST 2018



Trying to get all of the configs.
94.142.211.65: missed cmd(s): all commands
94.142.211.65: End of run not found
94.142.211.65 fnlogin error: Error: TIMEOUT reached

=====================================
Getting missed routers: round 1.
xx.xx.xx.xx: missed cmd(s): all commands
xx.xx.xx.xx: End of run not found
xx.xx.xx.xx fnlogin error: Error: TIMEOUT reached


If I replace fnlogin in the centos box (3.7) with the one in 3.6.2,
everything works great.

The fortinet is:

#Version: FortiGate-600D v5.2.11,build0754,170421 (GA)

not running the latest firmware, but wil do soon.

For us this is not a problem as it's working, but maybe someone else could
find this interesting to know.

--
Groeten,
natxo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20180405/43f5cf09/attachment.html>


More information about the Rancid-discuss mailing list