Support logging to NFLOG group #573
Annotations
10 errors and 10 warnings
Run tests:
spec/classes/inet_filter_spec.rb#L111
nftables on almalinux-8-x86_64 chain input is expected to contain Concat::Fragment[nftables-inet-filter-chain-INPUT-rule-log_discarded] with target => "nftables-inet-filter-chain-INPUT", content =~ /^ limit rate 3\/minute burst 5 packets log prefix "\[nftables\] INPUT Rejected: " flags all counter$/ and order => "97-nftables-inet-filter-chain-INPUT-rule-log_discarded-b"
Failure/Error:
expect(subject).to contain_concat__fragment('nftables-inet-filter-chain-INPUT-rule-log_discarded').with(
target: 'nftables-inet-filter-chain-INPUT',
content: %r{^ limit rate 3/minute burst 5 packets log prefix "\[nftables\] INPUT Rejected: " flags all counter$},
order: '97-nftables-inet-filter-chain-INPUT-rule-log_discarded-b'
)
expected that the catalogue would contain Concat::Fragment[nftables-inet-filter-chain-INPUT-rule-log_discarded] with content set to /^ limit rate 3\/minute burst 5 packets log prefix "\[nftables\] INPUT Rejected: " flags all counter$/ but it is set to " limit rate 3/minute burst 5 packetslog prefix \"[nftables] INPUT Rejected: \" flags all counter\n\n"
Diff:
@@ -1 +1 @@
-(?-mix:^ limit rate 3\/minute burst 5 packets log prefix "\[nftables\] INPUT Rejected: " flags all counter$)
+ limit rate 3/minute burst 5 packetslog prefix "[nftables] INPUT Rejected: " flags all counter
|
Run tests:
spec/classes/inet_filter_spec.rb#L233
nftables on almalinux-8-x86_64 chain output is expected to contain Concat::Fragment[nftables-inet-filter-chain-OUTPUT-rule-log_discarded] with target => "nftables-inet-filter-chain-OUTPUT", content =~ /^ limit rate 3\/minute burst 5 packets log prefix "\[nftables\] OUTPUT Rejected: " flags all counter$/ and order => "97-nftables-inet-filter-chain-OUTPUT-rule-log_discarded-b"
Failure/Error:
expect(subject).to contain_concat__fragment('nftables-inet-filter-chain-OUTPUT-rule-log_discarded').with(
target: 'nftables-inet-filter-chain-OUTPUT',
content: %r{^ limit rate 3/minute burst 5 packets log prefix "\[nftables\] OUTPUT Rejected: " flags all counter$},
order: '97-nftables-inet-filter-chain-OUTPUT-rule-log_discarded-b'
)
expected that the catalogue would contain Concat::Fragment[nftables-inet-filter-chain-OUTPUT-rule-log_discarded] with content set to /^ limit rate 3\/minute burst 5 packets log prefix "\[nftables\] OUTPUT Rejected: " flags all counter$/ but it is set to " limit rate 3/minute burst 5 packetslog prefix \"[nftables] OUTPUT Rejected: \" flags all counter\n\n"
Diff:
@@ -1 +1 @@
-(?-mix:^ limit rate 3\/minute burst 5 packets log prefix "\[nftables\] OUTPUT Rejected: " flags all counter$)
+ limit rate 3/minute burst 5 packetslog prefix "[nftables] OUTPUT Rejected: " flags all counter
|
Run tests:
spec/classes/inet_filter_spec.rb#L383
nftables on almalinux-8-x86_64 chain forward is expected to contain Concat::Fragment[nftables-inet-filter-chain-FORWARD-rule-log_discarded] with target => "nftables-inet-filter-chain-FORWARD", content =~ /^ limit rate 3\/minute burst 5 packets log prefix "\[nftables\] FORWARD Rejected: " flags all counter$/ and order => "97-nftables-inet-filter-chain-FORWARD-rule-log_discarded-b"
Failure/Error:
expect(subject).to contain_concat__fragment('nftables-inet-filter-chain-FORWARD-rule-log_discarded').with(
target: 'nftables-inet-filter-chain-FORWARD',
content: %r{^ limit rate 3/minute burst 5 packets log prefix "\[nftables\] FORWARD Rejected: " flags all counter$},
order: '97-nftables-inet-filter-chain-FORWARD-rule-log_discarded-b'
)
expected that the catalogue would contain Concat::Fragment[nftables-inet-filter-chain-FORWARD-rule-log_discarded] with content set to /^ limit rate 3\/minute burst 5 packets log prefix "\[nftables\] FORWARD Rejected: " flags all counter$/ but it is set to " limit rate 3/minute burst 5 packetslog prefix \"[nftables] FORWARD Rejected: \" flags all counter\n\n"
Diff:
@@ -1 +1 @@
-(?-mix:^ limit rate 3\/minute burst 5 packets log prefix "\[nftables\] FORWARD Rejected: " flags all counter$)
+ limit rate 3/minute burst 5 packetslog prefix "[nftables] FORWARD Rejected: " flags all counter
|
Run tests:
spec/classes/inet_filter_spec.rb#L457
nftables on almalinux-8-x86_64 custom log prefix without variable substitution is expected to contain Concat::Fragment[nftables-inet-filter-chain-INPUT-rule-log_discarded] with target => "nftables-inet-filter-chain-INPUT", content =~ /^ limit rate 3\/minute burst 5 packets log prefix "test " flags all counter$/ and order => "97-nftables-inet-filter-chain-INPUT-rule-log_discarded-b"
Failure/Error:
expect(subject).to contain_concat__fragment('nftables-inet-filter-chain-INPUT-rule-log_discarded').with(
target: 'nftables-inet-filter-chain-INPUT',
content: %r{^ limit rate 3/minute burst 5 packets log prefix "test " flags all counter$},
order: '97-nftables-inet-filter-chain-INPUT-rule-log_discarded-b'
)
expected that the catalogue would contain Concat::Fragment[nftables-inet-filter-chain-INPUT-rule-log_discarded] with content set to /^ limit rate 3\/minute burst 5 packets log prefix "test " flags all counter$/ but it is set to " limit rate 3/minute burst 5 packetslog prefix \"test \" flags all counter\n\n"
Diff:
@@ -1 +1 @@
-(?-mix:^ limit rate 3\/minute burst 5 packets log prefix "test " flags all counter$)
+ limit rate 3/minute burst 5 packetslog prefix "test " flags all counter
|
Run tests:
spec/classes/inet_filter_spec.rb#L465
nftables on almalinux-8-x86_64 custom log prefix without variable substitution is expected to contain Concat::Fragment[nftables-inet-filter-chain-OUTPUT-rule-log_discarded] with target => "nftables-inet-filter-chain-OUTPUT", content =~ /^ limit rate 3\/minute burst 5 packets log prefix "test " flags all counter$/ and order => "97-nftables-inet-filter-chain-OUTPUT-rule-log_discarded-b"
Failure/Error:
expect(subject).to contain_concat__fragment('nftables-inet-filter-chain-OUTPUT-rule-log_discarded').with(
target: 'nftables-inet-filter-chain-OUTPUT',
content: %r{^ limit rate 3/minute burst 5 packets log prefix "test " flags all counter$},
order: '97-nftables-inet-filter-chain-OUTPUT-rule-log_discarded-b'
)
expected that the catalogue would contain Concat::Fragment[nftables-inet-filter-chain-OUTPUT-rule-log_discarded] with content set to /^ limit rate 3\/minute burst 5 packets log prefix "test " flags all counter$/ but it is set to " limit rate 3/minute burst 5 packetslog prefix \"test \" flags all counter\n\n"
Diff:
@@ -1 +1 @@
-(?-mix:^ limit rate 3\/minute burst 5 packets log prefix "test " flags all counter$)
+ limit rate 3/minute burst 5 packetslog prefix "test " flags all counter
|
Run tests:
spec/classes/inet_filter_spec.rb#L473
nftables on almalinux-8-x86_64 custom log prefix without variable substitution is expected to contain Concat::Fragment[nftables-inet-filter-chain-FORWARD-rule-log_discarded] with target => "nftables-inet-filter-chain-FORWARD", content =~ /^ limit rate 3\/minute burst 5 packets log prefix "test " flags all counter$/ and order => "97-nftables-inet-filter-chain-FORWARD-rule-log_discarded-b"
Failure/Error:
expect(subject).to contain_concat__fragment('nftables-inet-filter-chain-FORWARD-rule-log_discarded').with(
target: 'nftables-inet-filter-chain-FORWARD',
content: %r{^ limit rate 3/minute burst 5 packets log prefix "test " flags all counter$},
order: '97-nftables-inet-filter-chain-FORWARD-rule-log_discarded-b'
)
expected that the catalogue would contain Concat::Fragment[nftables-inet-filter-chain-FORWARD-rule-log_discarded] with content set to /^ limit rate 3\/minute burst 5 packets log prefix "test " flags all counter$/ but it is set to " limit rate 3/minute burst 5 packetslog prefix \"test \" flags all counter\n\n"
Diff:
@@ -1 +1 @@
-(?-mix:^ limit rate 3\/minute burst 5 packets log prefix "test " flags all counter$)
+ limit rate 3/minute burst 5 packetslog prefix "test " flags all counter
|
Run tests:
spec/classes/inet_filter_spec.rb#L485
nftables on almalinux-8-x86_64 custom log prefix with variable substitution is expected to contain Concat::Fragment[nftables-inet-filter-chain-INPUT-rule-log_discarded] with target => "nftables-inet-filter-chain-INPUT", content =~ /^ limit rate 3\/minute burst 5 packets log prefix " bar \[INPUT\] " flags all counter$/ and order => "97-nftables-inet-filter-chain-INPUT-rule-log_discarded-b"
Failure/Error:
expect(subject).to contain_concat__fragment('nftables-inet-filter-chain-INPUT-rule-log_discarded').with(
target: 'nftables-inet-filter-chain-INPUT',
content: %r{^ limit rate 3/minute burst 5 packets log prefix " bar \[INPUT\] " flags all counter$},
order: '97-nftables-inet-filter-chain-INPUT-rule-log_discarded-b'
)
expected that the catalogue would contain Concat::Fragment[nftables-inet-filter-chain-INPUT-rule-log_discarded] with content set to /^ limit rate 3\/minute burst 5 packets log prefix " bar \[INPUT\] " flags all counter$/ but it is set to " limit rate 3/minute burst 5 packetslog prefix \" bar [INPUT] \" flags all counter\n\n"
Diff:
@@ -1 +1 @@
-(?-mix:^ limit rate 3\/minute burst 5 packets log prefix " bar \[INPUT\] " flags all counter$)
+ limit rate 3/minute burst 5 packetslog prefix " bar [INPUT] " flags all counter
|
Run tests:
spec/classes/inet_filter_spec.rb#L493
nftables on almalinux-8-x86_64 custom log prefix with variable substitution is expected to contain Concat::Fragment[nftables-inet-filter-chain-OUTPUT-rule-log_discarded] with target => "nftables-inet-filter-chain-OUTPUT", content =~ /^ limit rate 3\/minute burst 5 packets log prefix " bar \[OUTPUT\] " flags all counter$/ and order => "97-nftables-inet-filter-chain-OUTPUT-rule-log_discarded-b"
Failure/Error:
expect(subject).to contain_concat__fragment('nftables-inet-filter-chain-OUTPUT-rule-log_discarded').with(
target: 'nftables-inet-filter-chain-OUTPUT',
content: %r{^ limit rate 3/minute burst 5 packets log prefix " bar \[OUTPUT\] " flags all counter$},
order: '97-nftables-inet-filter-chain-OUTPUT-rule-log_discarded-b'
)
expected that the catalogue would contain Concat::Fragment[nftables-inet-filter-chain-OUTPUT-rule-log_discarded] with content set to /^ limit rate 3\/minute burst 5 packets log prefix " bar \[OUTPUT\] " flags all counter$/ but it is set to " limit rate 3/minute burst 5 packetslog prefix \" bar [OUTPUT] \" flags all counter\n\n"
Diff:
@@ -1 +1 @@
-(?-mix:^ limit rate 3\/minute burst 5 packets log prefix " bar \[OUTPUT\] " flags all counter$)
+ limit rate 3/minute burst 5 packetslog prefix " bar [OUTPUT] " flags all counter
|
Run tests:
spec/classes/inet_filter_spec.rb#L501
nftables on almalinux-8-x86_64 custom log prefix with variable substitution is expected to contain Concat::Fragment[nftables-inet-filter-chain-FORWARD-rule-log_discarded] with target => "nftables-inet-filter-chain-FORWARD", content =~ /^ limit rate 3\/minute burst 5 packets log prefix " bar \[FORWARD\] " flags all counter$/ and order => "97-nftables-inet-filter-chain-FORWARD-rule-log_discarded-b"
Failure/Error:
expect(subject).to contain_concat__fragment('nftables-inet-filter-chain-FORWARD-rule-log_discarded').with(
target: 'nftables-inet-filter-chain-FORWARD',
content: %r{^ limit rate 3/minute burst 5 packets log prefix " bar \[FORWARD\] " flags all counter$},
order: '97-nftables-inet-filter-chain-FORWARD-rule-log_discarded-b'
)
expected that the catalogue would contain Concat::Fragment[nftables-inet-filter-chain-FORWARD-rule-log_discarded] with content set to /^ limit rate 3\/minute burst 5 packets log prefix " bar \[FORWARD\] " flags all counter$/ but it is set to " limit rate 3/minute burst 5 packetslog prefix \" bar [FORWARD] \" flags all counter\n\n"
Diff:
@@ -1 +1 @@
-(?-mix:^ limit rate 3\/minute burst 5 packets log prefix " bar \[FORWARD\] " flags all counter$)
+ limit rate 3/minute burst 5 packetslog prefix " bar [FORWARD] " flags all counter
|
Run tests:
spec/classes/inet_filter_spec.rb#L549
nftables on almalinux-8-x86_64 custom log limit is expected to contain Concat::Fragment[nftables-inet-filter-chain-INPUT-rule-log_discarded] with target => "nftables-inet-filter-chain-INPUT", content =~ /^ limit rate 5\/minute log prefix "\[nftables\] INPUT Rejected: " flags all counter$/ and order => "97-nftables-inet-filter-chain-INPUT-rule-log_discarded-b"
Failure/Error:
expect(subject).to contain_concat__fragment('nftables-inet-filter-chain-INPUT-rule-log_discarded').with(
target: 'nftables-inet-filter-chain-INPUT',
content: %r{^ limit rate 5/minute log prefix "\[nftables\] INPUT Rejected: " flags all counter$},
order: '97-nftables-inet-filter-chain-INPUT-rule-log_discarded-b'
)
expected that the catalogue would contain Concat::Fragment[nftables-inet-filter-chain-INPUT-rule-log_discarded] with content set to /^ limit rate 5\/minute log prefix "\[nftables\] INPUT Rejected: " flags all counter$/ but it is set to " limit rate 5/minutelog prefix \"[nftables] INPUT Rejected: \" flags all counter\n\n"
Diff:
@@ -1 +1 @@
-(?-mix:^ limit rate 5\/minute log prefix "\[nftables\] INPUT Rejected: " flags all counter$)
+ limit rate 5/minutelog prefix "[nftables] INPUT Rejected: " flags all counter
|
Run tests:
spec/defines/rule_spec.rb#L29
nftables::rule on almalinux-8-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles
Failure/Error: expect(subject).not_to compile
expected that the catalogue would not compile but it does
|
Run tests:
spec/defines/rule_spec.rb#L29
nftables::rule on almalinux-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles
Failure/Error: expect(subject).not_to compile
expected that the catalogue would not compile but it does
|
Run tests:
spec/defines/rule_spec.rb#L29
nftables::rule on centos-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles
Failure/Error: expect(subject).not_to compile
expected that the catalogue would not compile but it does
|
Run tests:
spec/defines/rule_spec.rb#L29
nftables::rule on oraclelinux-8-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles
Failure/Error: expect(subject).not_to compile
expected that the catalogue would not compile but it does
|
Run tests:
spec/defines/rule_spec.rb#L29
nftables::rule on oraclelinux-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles
Failure/Error: expect(subject).not_to compile
expected that the catalogue would not compile but it does
|
Run tests:
spec/defines/rule_spec.rb#L29
nftables::rule on redhat-8-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles
Failure/Error: expect(subject).not_to compile
expected that the catalogue would not compile but it does
|
Run tests:
spec/defines/rule_spec.rb#L29
nftables::rule on redhat-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles
Failure/Error: expect(subject).not_to compile
expected that the catalogue would not compile but it does
|
Run tests:
spec/defines/rule_spec.rb#L29
nftables::rule on rocky-8-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles
Failure/Error: expect(subject).not_to compile
expected that the catalogue would not compile but it does
|
Run tests:
spec/defines/rule_spec.rb#L29
nftables::rule on rocky-9-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles
Failure/Error: expect(subject).not_to compile
expected that the catalogue would not compile but it does
|
Run tests:
spec/defines/rule_spec.rb#L29
nftables::rule on archlinux-6-x86_64 with title set to <CHAIN_NAME>-<RULE> with source and content both set is expected not to compile into a catalogue without dependency cycles
Failure/Error: expect(subject).not_to compile
expected that the catalogue would not compile but it does
|
Loading