The following commands can be performed at the rule edit command level.

value <string>

This option allows the match string value of the rule to be set. Spaces are significant. By default a string is treated as a regular expression. If <prefix> or <postfix> is set, then the string is treated as a literal string, which is then matched at the start or end of the received URL respectively.

[no] negation

This command inverts (reverts to normal if [no] is specified) the sense of a rule. I.e. If negation is set, the rule will be true if the received URL does NOT match the value of the rule.

[no] prefix

This specifies that the value of the rule should be matched at the start of the received URL.

[no] postfix

This specifies that the value of the rule should be matched at the end of the received URL.

[no] regex+host

This specifies that the value of the rule should be matched against the concatenated hostname and received URL string.

[no] prefix+host

This specifies that the value of the rule should be matched at the start of the concatenated hostname and received URL string.

[no] postfix+host

This specifies that the value of the rule should be matched at the end of the concatenated hostname and received URL string.

Note: If no prefix or postfix option is enabled, the default rule matching will be a regular expression. Specifying no to any of the above options reverts the matching back to regular expression matching without any hostname concatenations.

Incquery

Append the query string to the URL before performing a match

Nocase

Ignore case when comparing strings.

Header <string>

The header field name must be matched. If no header field name is set, the default is to match the string within the URL.

Rules can be matched based on the Source IP of the client by entering ‘src-ip’ within the Header Field input field. The header field will be populated by the source IP of the client.

Replacement <string>

The value of the header field to be replaced.

Type <string>

  • Regular Expression: compares the header to the rule
  • Prefix: compares the prefix of the header according to the rule
  • Postfix: compares the postfix of the header according to the rule

Mustfail

If this rule is matched, then always fail to connect.

Onlyonflag <integer>

Only try to execute this rule if the specified flag is se

Setonmatch <integer>

If the rule is successfully matched, set the specified flag

Show

Displays the value of the current rule.

Help

Lists the commands that are available at the rule edit command level.

End

Terminate the CLI session. Any changes since entering the rules command level will be ignored.

Exit

Leave the rule edit command level and return to the rules command level. Modifications will not be saved until after the rules command level is “exited”.