Skip to content
Tom Barbette edited this page Nov 25, 2022 · 1 revision

WordMatcher Element Documentation

NAME

WordMatcher — Click element; Remove/mask word in payload.

SYNOPSIS

WordMatcher([CLOSECONNECTION])

Ports: 1 input, 1 output
Processing: push

DESCRIPTION

Removes words in payload. This element is not intended for performance as it loops through a list of wordss. Use CTXIDSMatcher for an efficient version.

  • CLOSECONNECTION — Boolean that can be set to true if the connection must be closed when an insult is found. In this case, the content of the page is replaced by an error message telling the user that the web page has been blocked because it contains insults then the TCP connection is closed. Default value: false.
  • REPLACE — Boolean if true, replace the insult instead of removing the bytes. Default to true.

SEE ALSO

HTTPIn, HTTPOut

Generated by click-elem2man from ../elements/ctx/wordmatcher.hh:27 on 2022/11/25.

Clone this wiki locally