filter htmlinjectionparameter¶
The following operations can be performed on "filter htmlinjectionparameter":
set filter htmlinjectionparameter¶
Sets the HTML injection parameters.
Synopsys¶
set filter htmlinjectionparameter [-rate <positive_integer>] [-frequency <positive_integer>] [-strict ( ENABLED | DISABLED )] [-htmlsearchlen <positive_integer>]
Arguments¶
rate
For a rate of x, HTML injection is done for 1 out of x policy matches.
Default value: 1
Minimum value: 1
frequency
For a frequency of x, HTML injection is done at least once per x milliseconds.
Default value: 1
Minimum value: 1
strict
Searching for <html> tag. If this parameter is enabled, HTML injection does not insert the prebody or postbody content unless the <html> tag is found.
Possible values: ENABLED, DISABLED
Default value: ENABLED
htmlsearchlen
Number of characters, in the HTTP body, in which to search for the <html> tag if strict mode is set.
Default value: 1024
Minimum value: 1
Example¶
set htmlinjection parameter -rate 10 -frequency 1
unset filter htmlinjectionparameter¶
Removes the HTML injection settings..Refer to the set filter htmlinjectionparameter command for meanings of the arguments.
Synopsys¶
unset filter htmlinjectionparameter [-rate] [-frequency] [-strict] [-htmlsearchlen]
Example¶
a) unset htmlinjectionparameter -rate b) unset htmlinjectionparameter -frequency c) unset htmlinjectionparameter -rate -frequency
show filter htmlinjectionparameter¶
Displays the HTML injection parameters.
Synopsys¶
show filter htmlinjectionparameter
Outputs¶
rate
For a rate of x, HTML injection is done for 1 out of x policy matches.
frequency
For a frequency of x, HTML injection is done at least once per x milliseconds.
strict
Searching for <html> tag. If this parameter is enabled, HTML injection does not insert the prebody or postbody content unless the <html> tag is found.
htmlsearchlen
Number of characters, in the HTTP body, in which to search for the <html> tag if strict mode is set.
Example¶
rate : 10