Discussion:
[rancid] fortigate fnlogin problem (and a workaround)
Natxo Asenjo
2018-04-05 06:21:28 UTC
Permalink
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
Ak Sn
2018-04-05 09:00:30 UTC
Permalink
Hi

I had the same error. See the message
http://www.shrubbery.net/pipermail/rancid-discuss/2018-April/010180.html
from heasly
rancid 3.7 and the changed fnlogin file from 3.99 works perfect in my setup!

ftp://ftp.shrubbery.net/pub/rancid/alpha/rancid-3.99.99.tar.gz

BR
Alex
Post by Natxo Asenjo
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.
## $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 $
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.
#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
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
heasley
2018-04-05 15:20:45 UTC
Permalink
Post by Ak Sn
Hi
I had the same error. See the message
http://www.shrubbery.net/pipermail/rancid-discuss/2018-April/010180.html
from heasly
rancid 3.7 and the changed fnlogin file from 3.99 works perfect in my setup!
ftp://ftp.shrubbery.net/pub/rancid/alpha/rancid-3.99.99.tar.gz
Sorry; this will be 3.8 soonish. i have 2 things remaining to fix/add
before cutting 3.8.
Natxo Asenjo
2018-04-05 13:24:40 UTC
Permalink
Hi
I had the same error. See the message http://www.shrubbery.net/
pipermail/rancid-discuss/2018-April/010180.html from heasly
rancid 3.7 and the changed fnlogin file from 3.99 works perfect in my setup!
ftp://ftp.shrubbery.net/pub/rancid/alpha/rancid-3.99.99.tar.gz
Awesome, thanks for the link.

I was no longer on the list, so I missed that message ;-)

--
regards,
Natxo

Loading...