Discussion:
[rancid] Fortigate 100 or 200
Richard Owen
2014-09-04 16:58:06 UTC
Permalink
Anybody got Rancid working with Fortigate 100 or 200? I have the 200 working via ssh and running get config
Thanks
Rich
Frank Bulk
2014-09-05 05:30:18 UTC
Permalink
Is that's 'fnrancid'? Been using it for many months now.



Frank



From: Rancid-discuss [mailto:rancid-discuss-***@shrubbery.net] On Behalf
Of Richard Owen
Sent: Thursday, September 04, 2014 11:58 AM
To: Rancid-***@shrubbery.net
Subject: [rancid] Fortigate 100 or 200



Anybody got Rancid working with Fortigate 100 or 200? I have the 200 working
via ssh and running get config



Thanks



Rich
Richard Owen
2014-09-05 22:30:06 UTC
Permalink
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.

Rich

From: ***@iname.com
To: ***@outlook.com; rancid-***@shrubbery.net
Subject: RE: [rancid] Fortigate 100 or 200
Date: Fri, 5 Sep 2014 00:30:18 -0500

Is that’s ‘fnrancid’? Been using it for many months now. Frank From: Rancid-discuss [mailto:rancid-discuss-***@shrubbery.net] On Behalf Of Richard Owen
Sent: Thursday, September 04, 2014 11:58 AM
To: Rancid-***@shrubbery.net
Subject: [rancid] Fortigate 100 or 200 Anybody got Rancid working with Fortigate 100 or 200? I have the 200 working via ssh and running get config Thanks Rich
Richard Owen
2014-09-06 17:26:53 UTC
Permalink
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 :-(

> Date: Fri, 5 Sep 2014 23:36:49 +0000
> From: ***@shrubbery.net
> To: ***@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.
Matt Goeres
2014-09-06 21:05:55 UTC
Permalink
If they are Fortigate 100’s and 200’s not at least B or C models the devices aren’t even upgradable to 4.0 code I don’t think. 


On September 6, 2014 at 12:27:19 PM, Richard Owen (***@outlook.com) wrote:

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 :-(

> Date: Fri, 5 Sep 2014 23:36:49 +0000
> From: ***@shrubbery.net
> To: ***@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-***@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
heasley
2014-09-08 16:19:02 UTC
Permalink
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: ***@shrubbery.net
> > To: ***@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-***@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Loading...