Skip to content

afpacket/netmap: warn about mixed ips, ids/tap deprecation - v2#8190

Closed
jasonish wants to merge 1 commit intoOISF:masterfrom
jasonish:ips-deprecations/v2
Closed

afpacket/netmap: warn about mixed ips, ids/tap deprecation - v2#8190
jasonish wants to merge 1 commit intoOISF:masterfrom
jasonish:ips-deprecations/v2

Conversation

@jasonish
Copy link
Member

Suricata already logs if AF_PACKET or Netmap are running in a mixed IPS
and IDS/TAP mode. As the behavior is undefined when these modes are
mixed, it is best to deprecate and to not allow this behavior. For now
warn that it will be unsupported and fail in Suricata 8.

Ticket: 5587

Suricata already logs if AF_PACKET or Netmap are running in a mixed IPS
and IDS/TAP mode.  As the behavior is undefined when these modes are
mixed, it is best to deprecate and to not allow this behavior. For now
warn that it will be unsupported and fail in Suricata 8.

Ticket: 5587
SCLogWarning(SC_ERR_INVALID_ARGUMENT,
"AF_PACKET using both IPS and TAP/IDS mode, this will not "
"be allowed in Suricata 8 due to undefined behavior. See "
"https://redmine.openinfosecfoundation.org/issues/5588");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #5588 seems to the pattern we use in the code in other places. Shall I patch it up on merge?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I found more usages of a full link. But my search was 'See ticket #'. Simply See #5888 is a bit ambiguous IMO.

Yes, please patch up on merge.

@suricata-qa
Copy link

WARNING:

field baseline test %
SURI_TLPW1_stats_chk
.tcp.rst 128237 103936 81.05%

Pipeline 10717

@victorjulien victorjulien mentioned this pull request Nov 22, 2022
@victorjulien
Copy link
Member

Merged in #8198, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants