[rancid] Re: Rancid & Fortinet issue

Devon True devon at noved.org
Tue Jun 29 15:55:23 UTC 2010

Hash: SHA1

On 6/28/2010 4:09 PM, Smaïne Kahlouch wrote:
> Hi everyone,
> I just finished to install Rancid, everything works fine with CISCO
> equipments but i still have some issue for backing up my Fortigate
> firewalls.
> I've seen these patches and wanted to know if it could be applied to the
> current version 2.3.3
> http://www.shrubbery.net/pipermail/rancid-discuss/2009-June/004005.html
> I have the same problem as describe here
> <http://www.shrubbery.net/pipermail/rancid-discuss/2009-April/003898.html>
> What should i change to solve my problem ? My prompt is like
> "FGT[model][s/n] # "

Attached are the fnrancid.diff and ftlogin.diff I wrote to backup
Fortigate devices. I did not try the patches you link; I opted to
troubleshoot and write my own.

I basically copied the nlogin script included in the rancid tarball to
ftlogin and then applied the attached diff. I also patched fnrancid
included with rancid.

Some of the modifications may not be necessary and thanks for John
Heasley for some behind-the-scenes advice. These modifications work for
me running a mixture of v3 and v4 FortiOS on several devices.

- --
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fnrancid.diff
Url: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20100629/69f5a066/attachment.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ftlogin.diff
Url: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20100629/69f5a066/attachment-0001.ksh 

More information about the Rancid-discuss mailing list