Giter VIP home page Giter VIP logo

Comments (3)

mk-fg avatar mk-fg commented on July 21, 2024

Hey,

With 4.9 kernel and libnetfilter_conntrack-1.0.6 and conntrack-tools-1.4.4, don't see any kind of bytes from conntrack -E here, e.g. for curl google.com:

    [NEW] tcp      6 120 SYN_SENT src=10.1.0.13 dst=74.125.232.166 sport=53382 dport=80 [UNREPLIED] src=74.125.232.166 dst=10.1.0.13 sport=80 dport=53382
 [UPDATE] tcp      6 60 SYN_RECV src=10.1.0.13 dst=74.125.232.166 sport=53382 dport=80 src=74.125.232.166 dst=10.1.0.13 sport=80 dport=53382
 [UPDATE] tcp      6 432000 ESTABLISHED src=10.1.0.13 dst=74.125.232.166 sport=53382 dport=80 src=74.125.232.166 dst=10.1.0.13 sport=80 dport=53382 [ASSURED]
 [UPDATE] tcp      6 120 FIN_WAIT src=10.1.0.13 dst=74.125.232.166 sport=53382 dport=80 src=74.125.232.166 dst=10.1.0.13 sport=80 dport=53382 [ASSURED]
 [UPDATE] tcp      6 30 LAST_ACK src=10.1.0.13 dst=74.125.232.166 sport=53382 dport=80 src=74.125.232.166 dst=10.1.0.13 sport=80 dport=53382 [ASSURED]
 [UPDATE] tcp      6 120 TIME_WAIT src=10.1.0.13 dst=74.125.232.166 sport=53382 dport=80 src=74.125.232.166 dst=10.1.0.13 sport=80 dport=53382 [ASSURED]

Same with xml output, no byte counters of any kind, as far as I can tell.

Iirc kernel acct module does some kind of netflow-like table, but don't think it has much to do with conntrack module and its data.
I'd probably use ulogd2 to gather netflow, though maybe there're better tools available for it these days, haven't checked in like 10 years.

from conntrack-logger.

mk-fg avatar mk-fg commented on July 21, 2024

Oh btw, don't actually know about Ubuntu, maybe it has patched kernel and conntrack-tools or something (seems unlikely to me) - it's only mentioned in the README because someone submitted a patch last year iirc.
Haven't really used these scripts myself for a few years now, but this kind of stuff tends to work for a long time, as kernel ABI and basic libs like these change very rarely.

from conntrack-logger.

mk-fg avatar mk-fg commented on July 21, 2024

¯\_(ツ)_/¯

from conntrack-logger.

Related Issues (3)

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.