Hi,

I've been adding rules using dbedit, something like the following:-

addelement fw_policies ##Edge rule security_rule
addelement fw_policies ##Edge rule:2:action accept_action:accept
modify fw_policies ##Edge rule:2:comments "Test rule"
addelement fw_policies ##Edge rule:2:services:'' services:ssh
addelement fw_policies ##Edge rule:2:src:'' network_objects:external-network
addelement fw_policies ##Edge rule:2:dst:'' network_objects:host-01
rmelement fw_policies ##Edge rule:2:track: tracks:None
addelement fw_policies ##Edge rule:2:track: tracks:Log

This creates a security rule, unless rule 2 already exists, in which
case it modifies rule 2.

Is there any way of 'inserting' a rule between two existing rules?

Also, is there a good reference anywhere on dbedit? I've managed to find
what bits I know about by cobbling them together from various websites.

Andy.

=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to [EMAIL PROTECTED]
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
[EMAIL PROTECTED]
=================================================

Reply via email to