Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RANCID: Users

Restore fortinet backups

 

 

RANCID users RSS feed   Index | Next | Previous | View Threaded


hugo.deprez at gmail

Jul 24, 2012, 3:27 AM

Post #1 of 8 (686 views)
Permalink
Restore fortinet backups

Hello,

I am using to backup some fortinet firewall (300A). Everything seems going good.
Now I would like to restore a backup from rancid.

I used the shortcut on the web interface in order to restore the
config file with the content of the rancid backups.
The unit is still saying "error of configuration file".

Does anyone already restore a backup for a fortigate unit ?

Regards,

Hugo
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


tyler at tolaris

Jul 24, 2012, 3:47 AM

Post #2 of 8 (655 views)
Permalink
Re: Restore fortinet backups [In reply to]

Try using the USB restore method.

http://www.scribd.com/doc/57493012/61/Backup-and-Restore-from-a-USB-key

Regards,
Tyler

On 2012-07-24 11:27, Hugo Deprez wrote:
> Hello,
>
> I am using to backup some fortinet firewall (300A). Everything seems going good.
> Now I would like to restore a backup from rancid.
>
> I used the shortcut on the web interface in order to restore the
> config file with the content of the rancid backups.
> The unit is still saying "error of configuration file".
>
> Does anyone already restore a backup for a fortigate unit ?
>
> Regards,
>
> Hugo
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss [at] shrubbery
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>

--
Before emailing me, please watch "Stop Forwarding That Crap To Me":
http://www.youtube.com/watch?v=KCSA7kKNu2Y
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


hugo.deprez at gmail

Jul 24, 2012, 6:35 AM

Post #3 of 8 (656 views)
Permalink
Re: Restore fortinet backups [In reply to]

Hello,

I found something :

the original conf file from rancid is not working, but when I added
the following header in the config File it does work :

#config-version=FG300A-4.00-FW-build513-120130:opmode=0:vdom=0:user=USER
#conf_file_ver=8207861108533980666
#buildno=0513
#global_vdom=1

This header is coming from an export of the config from the fortigate
web interface.

Any idea ?

Regards,

On 24 July 2012 12:47, Tyler J. Wagner <tyler [at] tolaris> wrote:
> Try using the USB restore method.
>
> http://www.scribd.com/doc/57493012/61/Backup-and-Restore-from-a-USB-key
>
> Regards,
> Tyler
>
> On 2012-07-24 11:27, Hugo Deprez wrote:
>> Hello,
>>
>> I am using to backup some fortinet firewall (300A). Everything seems going good.
>> Now I would like to restore a backup from rancid.
>>
>> I used the shortcut on the web interface in order to restore the
>> config file with the content of the rancid backups.
>> The unit is still saying "error of configuration file".
>>
>> Does anyone already restore a backup for a fortigate unit ?
>>
>> Regards,
>>
>> Hugo
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss [at] shrubbery
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>>
>
> --
> Before emailing me, please watch "Stop Forwarding That Crap To Me":
> http://www.youtube.com/watch?v=KCSA7kKNu2Y
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


Michael.Boll at SSRC

Jul 24, 2012, 6:48 AM

Post #4 of 8 (654 views)
Permalink
Re: Restore fortinet backups [In reply to]

I noticed this on the newer versions of the firmware too. The show
full-config command no longer displays the header info you need. It
appears Fortinet made this change with release 4 of the firmware. If
anyone knows a fix for this, please let me know.

Thanks,

Mike

-----Original Message-----
From: rancid-discuss-bounces [at] shrubbery
[mailto:rancid-discuss-bounces [at] shrubbery] On Behalf Of Hugo Deprez
Sent: Tuesday, July 24, 2012 9:36 AM
To: Tyler J. Wagner
Cc: rancid-discuss [at] shrubbery
Subject: Re: [rancid] Restore fortinet backups

Hello,

I found something :

the original conf file from rancid is not working, but when I added the
following header in the config File it does work :

#config-version=FG300A-4.00-FW-build513-120130:opmode=0:vdom=0:user=USER
#conf_file_ver=8207861108533980666
#buildno=0513
#global_vdom=1

This header is coming from an export of the config from the fortigate
web interface.

Any idea ?

Regards,

On 24 July 2012 12:47, Tyler J. Wagner <tyler [at] tolaris> wrote:
> Try using the USB restore method.
>
> http://www.scribd.com/doc/57493012/61/Backup-and-Restore-from-a-USB-ke
> y
>
> Regards,
> Tyler
>
> On 2012-07-24 11:27, Hugo Deprez wrote:
>> Hello,
>>
>> I am using to backup some fortinet firewall (300A). Everything seems
going good.
>> Now I would like to restore a backup from rancid.
>>
>> I used the shortcut on the web interface in order to restore the
>> config file with the content of the rancid backups.
>> The unit is still saying "error of configuration file".
>>
>> Does anyone already restore a backup for a fortigate unit ?
>>
>> Regards,
>>
>> Hugo
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss [at] shrubbery
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>>
>
> --
> Before emailing me, please watch "Stop Forwarding That Crap To Me":
> http://www.youtube.com/watch?v=KCSA7kKNu2Y
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


johan at securit

Jul 24, 2012, 6:56 AM

Post #5 of 8 (658 views)
Permalink
Re: Restore fortinet backups [In reply to]

Do you have that header at all from the backup from rancid?

-- Johan
On Jul 24, 2012 3:35 PM, "Hugo Deprez" <hugo.deprez [at] gmail> wrote:

> Hello,
>
> I found something :
>
> the original conf file from rancid is not working, but when I added
> the following header in the config File it does work :
>
> #config-version=FG300A-4.00-FW-build513-120130:opmode=0:vdom=0:user=USER
> #conf_file_ver=8207861108533980666
> #buildno=0513
> #global_vdom=1
>
> This header is coming from an export of the config from the fortigate
> web interface.
>
> Any idea ?
>
> Regards,
>
> On 24 July 2012 12:47, Tyler J. Wagner <tyler [at] tolaris> wrote:
> > Try using the USB restore method.
> >
> > http://www.scribd.com/doc/57493012/61/Backup-and-Restore-from-a-USB-key
> >
> > Regards,
> > Tyler
> >
> > On 2012-07-24 11:27, Hugo Deprez wrote:
> >> Hello,
> >>
> >> I am using to backup some fortinet firewall (300A). Everything seems
> going good.
> >> Now I would like to restore a backup from rancid.
> >>
> >> I used the shortcut on the web interface in order to restore the
> >> config file with the content of the rancid backups.
> >> The unit is still saying "error of configuration file".
> >>
> >> Does anyone already restore a backup for a fortigate unit ?
> >>
> >> Regards,
> >>
> >> Hugo
> >> _______________________________________________
> >> Rancid-discuss mailing list
> >> Rancid-discuss [at] shrubbery
> >> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> >>
> >
> > --
> > Before emailing me, please watch "Stop Forwarding That Crap To Me":
> > http://www.youtube.com/watch?v=KCSA7kKNu2Y
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss [at] shrubbery
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>


hugo.deprez at gmail

Jul 24, 2012, 8:40 AM

Post #6 of 8 (658 views)
Permalink
Re: Restore fortinet backups [In reply to]

Yes I am running fortigate os 4

On Rancid the header is like :
!RANCID-CONTENT-TYPE: fortigate

!Version: Fortigate-300A v4.0,build0513,120130 (MR3 Patch 5)
!Serial-Number: FG300A*********
!BIOS version: 03006001
!Log hard disk: Available
!Hostname: hostname
!Operation Mode: NAT
!Current virtual domain: root
!Max number of virtual domains: 10
!Virtual domains status: 1 in NAT mode, 0 in TP mode
!Virtual domain configuration: disable
!FIPS-CC mode: disable
!Current HA mode: standalone
!Distribution: International
!Branch point: 513
!Release Version Information: MR3 Patch 5
!System time: Mon Jul 23 07:00:25 2012

By the way System time in the header is causing a new revision each
time the fortigate is backup by rancid.


On 24 July 2012 15:56, Johan Ryberg <johan [at] securit> wrote:
> Do you have that header at all from the backup from rancid?
>
> -- Johan
>
> On Jul 24, 2012 3:35 PM, "Hugo Deprez" <hugo.deprez [at] gmail> wrote:
>>
>> Hello,
>>
>> I found something :
>>
>> the original conf file from rancid is not working, but when I added
>> the following header in the config File it does work :
>>
>> #config-version=FG300A-4.00-FW-build513-120130:opmode=0:vdom=0:user=USER
>> #conf_file_ver=8207861108533980666
>> #buildno=0513
>> #global_vdom=1
>>
>> This header is coming from an export of the config from the fortigate
>> web interface.
>>
>> Any idea ?
>>
>> Regards,
>>
>> On 24 July 2012 12:47, Tyler J. Wagner <tyler [at] tolaris> wrote:
>> > Try using the USB restore method.
>> >
>> > http://www.scribd.com/doc/57493012/61/Backup-and-Restore-from-a-USB-key
>> >
>> > Regards,
>> > Tyler
>> >
>> > On 2012-07-24 11:27, Hugo Deprez wrote:
>> >> Hello,
>> >>
>> >> I am using to backup some fortinet firewall (300A). Everything seems
>> >> going good.
>> >> Now I would like to restore a backup from rancid.
>> >>
>> >> I used the shortcut on the web interface in order to restore the
>> >> config file with the content of the rancid backups.
>> >> The unit is still saying "error of configuration file".
>> >>
>> >> Does anyone already restore a backup for a fortigate unit ?
>> >>
>> >> Regards,
>> >>
>> >> Hugo
>> >> _______________________________________________
>> >> Rancid-discuss mailing list
>> >> Rancid-discuss [at] shrubbery
>> >> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>> >>
>> >
>> > --
>> > Before emailing me, please watch "Stop Forwarding That Crap To Me":
>> > http://www.youtube.com/watch?v=KCSA7kKNu2Y
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss [at] shrubbery
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


heas at shrubbery

Jul 24, 2012, 9:10 AM

Post #7 of 8 (655 views)
Permalink
Re: Restore fortinet backups [In reply to]

Tue, Jul 24, 2012 at 05:40:21PM +0200, Hugo Deprez:
> Yes I am running fortigate os 4
>
> On Rancid the header is like :
> !RANCID-CONTENT-TYPE: fortigate
>
> !Version: Fortigate-300A v4.0,build0513,120130 (MR3 Patch 5)
> !Serial-Number: FG300A*********
> !BIOS version: 03006001
> !Log hard disk: Available
> !Hostname: hostname
> !Operation Mode: NAT
> !Current virtual domain: root
> !Max number of virtual domains: 10
> !Virtual domains status: 1 in NAT mode, 0 in TP mode
> !Virtual domain configuration: disable
> !FIPS-CC mode: disable
> !Current HA mode: standalone
> !Distribution: International
> !Branch point: 513
> !Release Version Information: MR3 Patch 5
> !System time: Mon Jul 23 07:00:25 2012
>
> By the way System time in the header is causing a new revision each
> time the fortigate is backup by rancid.

rancid 2.3.7 should have the filter for that.

>
> On 24 July 2012 15:56, Johan Ryberg <johan [at] securit> wrote:
> > Do you have that header at all from the backup from rancid?
> >
> > -- Johan
> >
> > On Jul 24, 2012 3:35 PM, "Hugo Deprez" <hugo.deprez [at] gmail> wrote:
> >>
> >> Hello,
> >>
> >> I found something :
> >>
> >> the original conf file from rancid is not working, but when I added
> >> the following header in the config File it does work :
> >>
> >> #config-version=FG300A-4.00-FW-build513-120130:opmode=0:vdom=0:user=USER
> >> #conf_file_ver=8207861108533980666
> >> #buildno=0513
> >> #global_vdom=1
> >>
> >> This header is coming from an export of the config from the fortigate
> >> web interface.
> >>
> >> Any idea ?
> >>
> >> Regards,
> >>
> >> On 24 July 2012 12:47, Tyler J. Wagner <tyler [at] tolaris> wrote:
> >> > Try using the USB restore method.
> >> >
> >> > http://www.scribd.com/doc/57493012/61/Backup-and-Restore-from-a-USB-key
> >> >
> >> > Regards,
> >> > Tyler
> >> >
> >> > On 2012-07-24 11:27, Hugo Deprez wrote:
> >> >> Hello,
> >> >>
> >> >> I am using to backup some fortinet firewall (300A). Everything seems
> >> >> going good.
> >> >> Now I would like to restore a backup from rancid.
> >> >>
> >> >> I used the shortcut on the web interface in order to restore the
> >> >> config file with the content of the rancid backups.
> >> >> The unit is still saying "error of configuration file".
> >> >>
> >> >> Does anyone already restore a backup for a fortigate unit ?
> >> >>
> >> >> Regards,
> >> >>
> >> >> Hugo
> >> >> _______________________________________________
> >> >> Rancid-discuss mailing list
> >> >> Rancid-discuss [at] shrubbery
> >> >> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> >> >>
> >> >
> >> > --
> >> > Before emailing me, please watch "Stop Forwarding That Crap To Me":
> >> > http://www.youtube.com/watch?v=KCSA7kKNu2Y
> >> _______________________________________________
> >> Rancid-discuss mailing list
> >> Rancid-discuss [at] shrubbery
> >> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss [at] shrubbery
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


hugo.deprez at gmail

Jul 24, 2012, 9:19 AM

Post #8 of 8 (658 views)
Permalink
Re: Restore fortinet backups [In reply to]

Right, I am currently using 2.3.6

I'll upgrade to the lastest and let you know.

Regards,

On 24 July 2012 18:10, heasley <heas [at] shrubbery> wrote:
> Tue, Jul 24, 2012 at 05:40:21PM +0200, Hugo Deprez:
>> Yes I am running fortigate os 4
>>
>> On Rancid the header is like :
>> !RANCID-CONTENT-TYPE: fortigate
>>
>> !Version: Fortigate-300A v4.0,build0513,120130 (MR3 Patch 5)
>> !Serial-Number: FG300A*********
>> !BIOS version: 03006001
>> !Log hard disk: Available
>> !Hostname: hostname
>> !Operation Mode: NAT
>> !Current virtual domain: root
>> !Max number of virtual domains: 10
>> !Virtual domains status: 1 in NAT mode, 0 in TP mode
>> !Virtual domain configuration: disable
>> !FIPS-CC mode: disable
>> !Current HA mode: standalone
>> !Distribution: International
>> !Branch point: 513
>> !Release Version Information: MR3 Patch 5
>> !System time: Mon Jul 23 07:00:25 2012
>>
>> By the way System time in the header is causing a new revision each
>> time the fortigate is backup by rancid.
>
> rancid 2.3.7 should have the filter for that.
>
>>
>> On 24 July 2012 15:56, Johan Ryberg <johan [at] securit> wrote:
>> > Do you have that header at all from the backup from rancid?
>> >
>> > -- Johan
>> >
>> > On Jul 24, 2012 3:35 PM, "Hugo Deprez" <hugo.deprez [at] gmail> wrote:
>> >>
>> >> Hello,
>> >>
>> >> I found something :
>> >>
>> >> the original conf file from rancid is not working, but when I added
>> >> the following header in the config File it does work :
>> >>
>> >> #config-version=FG300A-4.00-FW-build513-120130:opmode=0:vdom=0:user=USER
>> >> #conf_file_ver=8207861108533980666
>> >> #buildno=0513
>> >> #global_vdom=1
>> >>
>> >> This header is coming from an export of the config from the fortigate
>> >> web interface.
>> >>
>> >> Any idea ?
>> >>
>> >> Regards,
>> >>
>> >> On 24 July 2012 12:47, Tyler J. Wagner <tyler [at] tolaris> wrote:
>> >> > Try using the USB restore method.
>> >> >
>> >> > http://www.scribd.com/doc/57493012/61/Backup-and-Restore-from-a-USB-key
>> >> >
>> >> > Regards,
>> >> > Tyler
>> >> >
>> >> > On 2012-07-24 11:27, Hugo Deprez wrote:
>> >> >> Hello,
>> >> >>
>> >> >> I am using to backup some fortinet firewall (300A). Everything seems
>> >> >> going good.
>> >> >> Now I would like to restore a backup from rancid.
>> >> >>
>> >> >> I used the shortcut on the web interface in order to restore the
>> >> >> config file with the content of the rancid backups.
>> >> >> The unit is still saying "error of configuration file".
>> >> >>
>> >> >> Does anyone already restore a backup for a fortigate unit ?
>> >> >>
>> >> >> Regards,
>> >> >>
>> >> >> Hugo
>> >> >> _______________________________________________
>> >> >> Rancid-discuss mailing list
>> >> >> Rancid-discuss [at] shrubbery
>> >> >> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>> >> >>
>> >> >
>> >> > --
>> >> > Before emailing me, please watch "Stop Forwarding That Crap To Me":
>> >> > http://www.youtube.com/watch?v=KCSA7kKNu2Y
>> >> _______________________________________________
>> >> Rancid-discuss mailing list
>> >> Rancid-discuss [at] shrubbery
>> >> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
>> _______________________________________________
>> Rancid-discuss mailing list
>> Rancid-discuss [at] shrubbery
>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

RANCID users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.