Graylog2/graylog2-server

Netflow plugin, tries to show ipv4 addresses in the message for ipv6 flows

Open

#6076 opened on Jul 3, 2019

View on GitHub
 (0 comments) (0 reactions) (1 assignee)Java (6,945 stars) (1,032 forks)batch import
#Mbuggood first issuetriaged

Description

Redirecting netflow statistics directly to graylog using sysctl net.netflow.destination=ip:port and configuring an Netflow UDP input to process all the incoming stats.

Expected Behavior

In the message it should show source and destination ip.

Current Behavior

Only does so for ipv4

Possible Solution

Change toMessage to use either ipv4 or ipv6 header for the flow.

Steps to Reproduce (for bugs)

  1. Configure a flow accounting on a ipv6 enabled interface with netflow pointing to Graylog Netflow input
  2. Look for messages with null values for source and destination
  • Graylog Version: Graylog 3.0.2+1686930 on aac10c1cf381 (Oracle Corporation 1.8.0_212 on Linux 5.1.0)
  • Elasticsearch Version:
  • MongoDB Version:
  • Operating System:
  • Browser version:

Contributor guide