Project

General

Profile

Actions

Bug #8247

open
AP OD

Suricata 8.x does not show GRE tunnel source/destination in flow/alert logs

Bug #8247: Suricata 8.x does not show GRE tunnel source/destination in flow/alert logs

Added by Aneesh Patel 7 months ago. Updated 16 days ago.

Status:
Triaged
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

If you play this pcap that utilizes GRE encapsulated traffic (attached), you can see we get the following log:

``` {
"timestamp": "2023-10-03T13:44:01.870735+0000",
"flow_id": 362080176641266,
"event_type": "flow",
"src_ip": "10.0.0.1",
"dest_ip": "10.0.0.2",
"ip_v": 4,
"proto": "ICMP",
"icmp_type": 8,
"icmp_code": 0,
"response_icmp_type": 0,
"response_icmp_code": 0,
"flow": {
"pkts_toserver": 5,
"pkts_toclient": 5,
"bytes_toserver": 420,
"bytes_toclient": 420,
"start": "2023-10-03T13:44:01.870735+0000",
"end": "2023-10-03T13:44:05.878563+0000",
"age": 4,
"state": "established",
"reason": "shutdown",
"alerted": false
}
}

```
We can see that the inner packet details are shown, but there is no details about the outer layer.

It seems that this was supposed to be fixed per this redmine long ago - https://redmine.openinfosecfoundation.org/issues/2011, but the test we just did on a suricata 8.0.3 fresh build shows that it is still not showing the outer layer.


Files

gre-eth0.pcap (1.37 KB) gre-eth0.pcap Aneesh Patel, 01/23/2026 06:40 PM

Subtasks 1 (0 open1 closed)

Bug #8771: Suricata 8.x does not show GRE tunnel source/destination in flow/alert logs (8.0.x backport)RejectedOISF DevActions
Actions

Also available in: PDF Atom