[rancid] Fortigate 100 or 200

heasley heas at shrubbery.net
Mon Sep 8 16:19:02 UTC 2014

Sat, Sep 06, 2014 at 06:26:53PM +0100, Richard Owen:
> I would but there EOL and just getting a backup incase they go bang. The only problem with upgrading, is that the config is completely different plus it gets wiped and not migrated when you upgrade the fortiOS :-(

awesome product.

you will need to add code to fnlogin to respond and strip the pager prompts.
hlogin is a decent for an example of the more convoluted.

> > Date: Fri, 5 Sep 2014 23:36:49 +0000
> > From: heas at shrubbery.net
> > To: rowen121 at outlook.com
> > Subject: Re: [rancid] Fortigate 100 or 200
> > 
> > Fri, Sep 05, 2014 at 11:30:06PM +0100, Richard Owen:
> > > I think I may have found the problem! we're using a super old version 2.5 on the Fortigates, as someone has been to lazy to upgrade them, even though we had a subscription to all updates until last year!!! (I've only just joined and have been tasked of backing up all network enitities) once upgraded to 3.0, the features used in the fnrancid work perfectly. For now though I have hacked both the fnlogin and fnrancid to get it working. I've changed the command from "show full-configuration" to "get config" in fnrancid, and commented out the disable paging mechanisms but added 15 send "/r" at that point, so when a --press <return> to continue, or q to quit-- is prompted, there's enough returns in the buffer to complete the paging of the config and therefore get a full backup.
> > > If anyone has experienced the same problem, it would great to know how you fixed it.
> > > 
> > 
> > save yourself the aggrevation and just upgrade them.

> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss

More information about the Rancid-discuss mailing list