1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-22 11:17:31 +01:00

update in fwbedit for ServiceGroup

This commit is contained in:
Vadim Kurland 2008-08-06 16:15:13 +00:00
parent 09555f9c78
commit 5aaed4fb04
3 changed files with 17 additions and 3 deletions

View File

@ -27,14 +27,23 @@ below).
.SH COMMANDS AND OPTIONS:
.B new -f file.fwb -t objtype -n name -c comment -p parent [-a attrs]
.B new -f file.fwb -t objtype -n name -p parent [-c comment] [-a attrs]
Creates new object.
.PP
-f file.fwb: data file
.PP
-t objtype: create a new object of this type
-t objtype: create new object of this type
.PP
-p parent: create new object as a child of this object. This parameter
is mandatory. If you are adding an address to an interface,
corresponding interface onkect must be specified as the
parent. Similarly if you need to add an interface to a host or a
firewall, corresponding host or firewall object is the parent. If you
are adding an object to one of the standard folders, the parent is the
library you want to add the object to or correct full path to the
folder in the tree.
.PP
-n name: the name of the new object
.PP

View File

@ -78,6 +78,8 @@
#include "fwbuilder/AddressTable.h"
#include "fwbuilder/AddressRange.h"
#include "fwbuilder/Interface.h"
#include "fwbuilder/ServiceGroup.h"
#include "fwbuilder/CustomService.h"
#include "fwbuilder/IPService.h"
#include "fwbuilder/ICMPService.h"
@ -261,6 +263,9 @@ void usage()
cout << " "
<< " -t " <<Host::TYPENAME
<< endl;
cout << " "
<< " -t " <<ServiceGroup::TYPENAME
<< endl;
cout << " "
<< " -t " <<TCPService::TYPENAME
<< " -o source port range start,end,destination port range start,end,UAPRSF,UAPRSF" << endl;

View File

@ -83,12 +83,12 @@
#include "fwbuilder/AddressRange.h"
#include "fwbuilder/ObjectGroup.h"
#include "fwbuilder/Interface.h"
#include "fwbuilder/ServiceGroup.h"
#include "fwbuilder/CustomService.h"
#include "fwbuilder/IPService.h"
#include "fwbuilder/ICMPService.h"
#include "fwbuilder/TCPService.h"
#include "fwbuilder/UDPService.h"
#include "fwbuilder/ServiceGroup.h"
#include "fwbuilder/Interval.h"
#include "fwbuilder/IntervalGroup.h"
#include "fwbuilder/TagService.h"