Security #5571
closedips: encapsulated packet logged as dropped, but not actually dropped
Description
We just upgraded from Suricata 6.0.6 setup in IPS with NFQUEUE to Suricata 6.0.8 with the same setup.
We have a drop rule in place (same rule since 6.0.6).
When we initiate traffic from the Suricata instance itself to the site that match the drop rule we get the following (correct) behavior:- fast.log logs the drop entry
- The traffic is actually dropped
- fast.log logs the drop entry
- The traffic is NOT dropped
Updated by Jean-Baptiste Laplace about 2 years ago
I wanted to mention that when the traffic is initiated from outside the Suricata; we use geneve encapsulation.
This is on ubuntu 20.04.
After reverting back to 6.0.6, everything works again as expected.
Updated by Juliana Fajardini Reichow about 2 years ago
- Assignee changed from OISF Dev to Juliana Fajardini Reichow
Updated by Travers Carter about 2 years ago
We are seeing the same thing on Amazon Linux 2, GENEVE encapsulated traffic from an AWS Gateway Load Balancer is not dropped even when matched/logged as such on v6.0.8, but it is after downgrading back to v6.0.6.
On v6.0.8 locally initiated traffic is dropped when it matches a drop rule, it's only the GENEVE traffic that isn't.
This is on Amazon Linux 2 using the RPM packages from https://copr.fedorainfracloud.org/coprs/g/oisf/suricata-latest/
Updated by Victor Julien about 2 years ago
- Status changed from New to Assigned
- Priority changed from Normal to High
- Target version changed from TBD to 6.0.9
Updated by Victor Julien about 2 years ago
- Status changed from Assigned to In Progress
- Assignee changed from Juliana Fajardini Reichow to Victor Julien
- Target version changed from 6.0.9 to 7.0.0-beta1
- Label Needs backport to 6.0 added
Updated by Victor Julien about 2 years ago
- Subject changed from Suricata in IPS mode with NFQUEUE we can see the DROP in fast.log but the packet still goes through to ips: encapsulated packet logged as dropped, but not actually dropped
- Status changed from In Progress to In Review
Updated by Victor Julien about 2 years ago
- Status changed from In Review to Resolved
Updated by Shivani Bhardwaj about 2 years ago
- Label deleted (
Needs backport to 6.0)
Updated by Victor Julien about 2 years ago
- Related to Bug #5633: Pass rules on 6.0.8 are generating alert events when passing tunneled traffic added
Updated by Victor Julien about 2 years ago
- Status changed from Resolved to Closed
Updated by Victor Julien about 2 years ago
- Tracker changed from Bug to Security
- Severity set to HIGH