>From http://www.phoneboy.com/fw1/faq/0149.html :
-----
FireWall-1 supports a command called "fw confmerge" that will allow you to merge
multiple objects.C files into one file (this is how the fwinstall script does an
upgrade). The syntax is:

    fw confmerge obj1.C obj2.C > objects.C

Which merges obj1.C and obj2.C into the file objects.C. The proper procedure for
performing this merge is as follows:

   1.Stop the firewall (fwstop).
   2.Make a backup of the $FWDIR/conf directory.
   3.Copy your objects.C files into a temp directory, giving them different names
(e.g. obj1.C,
     obj2.C).
   4.Run the command 'fw confmerge obj1.C obj2.C > objects.C'
   5.Remove objects.C, objects.C.sav, objects.C.bak from $FWDIR/conf
   6.Copy the new objects.C file into $FWDIR/conf.
   7.Start the firewall (fwstart).

I have found this works best when one of the objects.C file is "clean," i.e. from a
fresh install. This is what the FireWall-1 upgrade process does.

Warning: confmerge has been proven to put duplicate entries in the objects.C file.
If two objects have the same name, but different colors, they are duplicated.
(Thanks to Mark Poole for the tip)
-----
That'll help you merge the object files anyway...

Jason
http://www.wittys.com

"Pires, Michael" wrote:

> I want to merge multiple objects file and then i want to create a .fws file
> with multiple policies I have. Is there an painless method in doing this?
>
> Thanks
>
> _______________________________________
> Michael Pires
> Security Analyst
>
> ================================================================================
>      To unsubscribe from this mailing list, please see the instructions at
>                http://www.checkpoint.com/services/mailing.html
> ================================================================================



================================================================================
     To unsubscribe from this mailing list, please see the instructions at
               http://www.checkpoint.com/services/mailing.html
================================================================================

Reply via email to