Use this transformer to detect repetitive traffic. A query or reply is repeated when the following criterias are the same.
The following criterias are used:
- server identity
- operation
- qname or qname+1
- query ip
- qtype
Options:
repetitive-traffic-detector
: (boolean) detect repetitive trafficqname-plus-one
: (boolean) use qname+1 instead of the complete onewatch-interval
: (integer) watch interval in seconds
Default values:
transforms:
reducer:
repetitive-traffic-detector: true
qname-plus-one: false
watch-interval: 5
Specific text directive(s) available for the text format:
reducer-occurences
: display the number of detected duplicationcumulative-length
: sum of the length of each occurences
When the feature is enabled, the following json field are populated in your DNS message:
Example:
{
"reducer": {
"occurences": 1,
"cumulative-length": 47
}
}