Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/runmode-af-packet.c
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,9 @@ int AFPRunModeIsIPS()
}

if (has_ids && has_ips) {
SCLogInfo("AF_PACKET mode using IPS and IDS mode");
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.");
for (ldev = 0; ldev < nlive; ldev++) {
const char *live_dev = LiveGetDeviceName(ldev);
if (live_dev == NULL) {
Expand Down
4 changes: 3 additions & 1 deletion src/runmode-netmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,9 @@ int NetmapRunModeIsIPS()
}

if (has_ids && has_ips) {
SCLogInfo("Netmap mode using IPS and IDS mode");
SCLogWarning(SC_ERR_INVALID_ARGUMENT,
"Netmap using both IPS and TAP/IDS mode, this will not be "
"allowed in Suricata 8 due to undefined behavior.");
for (ldev = 0; ldev < nlive; ldev++) {
const char *live_dev = LiveGetDeviceName(ldev);
if (live_dev == NULL) {
Expand Down