Coder Social home page Coder Social logo

Netflow v5 -- Unknown about goflow HOT 7 CLOSED

cloudflare avatar cloudflare commented on September 23, 2024
Netflow v5 -- Unknown

from goflow.

Comments (7)

lspgn avatar lspgn commented on September 23, 2024

Hello,
You need to send NetFlow v5 on a different port than v9/ipfix (by default :2056). Defined by -nfl.port and -nfl.addr args.
Let me know if that works.

from goflow.

mugugnu avatar mugugnu commented on September 23, 2024

I was actually sending to 2056, but goflow default setup was and still is:
time="2021-01-08T15:30:10Z" level=info msg="Listening on UDP :6343" Type=sFlow
time="2021-01-08T15:30:10Z" level=info msg="Listening on UDP :2055" Type=NetFlow
time="2021-01-08T15:30:10Z" level=info msg="Listening on UDP :2056" Type=NetFlowLegacy

I'm not sure what i actually did except for deleting the pods (both goflow and nflow-gen) and recreating them a bunch of times.

As long as goflow was configured to send to kafka i could not see any message in the goflow logs, when i addeded the -kafka=false i started seeing netflow traffic arrive.

So, bottom line is that i'm sending to 2056...logs read "netflowlegacy", sounds like v5 doesn't it ?

from goflow.

lspgn avatar lspgn commented on September 23, 2024

As long as goflow was configured to send to kafka i could not see any message in the goflow logs, when i addeded the -kafka=false i started seeing netflow traffic arrive.

Correct, it's only logging when Kafka is disabled.

So, bottom line is that i'm sending to 2056...logs read "netflowlegacy", sounds like v5 doesn't it ?

Correct. I use legacy term for v5.

Do you still see the error about the version? If so, could you send me a pcap?

from goflow.

mugugnu avatar mugugnu commented on September 23, 2024

Without kafka it's working fine, no more errors.
Update: also with kafka enabled, i'm receiving stuff on the choosen topic. I just don't know how to decode it (is it binary ?)

from goflow.

lspgn avatar lspgn commented on September 23, 2024

Update: also with kafka enabled, i'm receiving stuff on the choosen topic. I just don't know how to decode it (is it binary ?)

It is a protobuf message. You need to unmarshall the data.

from goflow.

mugugnu avatar mugugnu commented on September 23, 2024

everything's fine. Thanks for your support

from goflow.

StefanoKoo avatar StefanoKoo commented on September 23, 2024

@mugugnu Did you find a way to decode the messages?

from goflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.