Giter VIP home page Giter VIP logo

Comments (10)

vel21ripn avatar vel21ripn commented on July 24, 2024

"Flow Risk feature" is a 32 bit value (bitmap). It is not difficult to export it to /proc/net/xt_ndpi/flow.
I plan to finish disabling protocols first.

from ndpi.

netcons avatar netcons commented on July 24, 2024

Thank you

from ndpi.

aldaihanabdullah3 avatar aldaihanabdullah3 commented on July 24, 2024

Hello Vitaly,

I am working on exposing the risk to /proc/net/xt_ndpi/flow along with catogary and breed. Could you give me some guidance on how to do this properly ?

from ndpi.

vel21ripn avatar vel21ripn commented on July 24, 2024

I planned to export "risk" as a hexadecimal number (similar to "level").

from ndpi.

vel21ripn avatar vel21ripn commented on July 24, 2024

See commit 2fc0c86

from ndpi.

netcons avatar netcons commented on July 24, 2024

Big thanks Vitaly!
Seems NDPI_RISKY_ASN, NDPI_RISKY_DOMAIN, NDPI_MALICIOUS_JA3 & NDPI_MALICIOUS_SHA1_CERTIFICATE are lists,
Any pointers on how to populate them?

from ndpi.

vel21ripn avatar vel21ripn commented on July 24, 2024

At the moment - no way. I completely forgot that some risks had their own datasets.
I think the problem can be solved by adding the risk datasets to proc/net/xt_ndpi/host_proto and tweaking the nDPI code a bit.
I will do this after merging with nDPI/dev.

from ndpi.

vel21ripn avatar vel21ripn commented on July 24, 2024

So far I see a problem with NDPI_RISKY_ASN.
You have to get it from somewhere and store it somewhere.
This can be done later.

from ndpi.

netcons avatar netcons commented on July 24, 2024

Duplicate functionality here:
-m ndpi --ja3c bad_ctcl -j DROP
vs
-m npdi --risk 28 -j DROP

Large datasets more efficient using a rule per set, with --risk.
vs
a rule for each element in a set, with --ja3c.

from ndpi.

vel21ripn avatar vel21ripn commented on July 24, 2024
Duplicate functionality here:
-m ndpi --ja3c bad_ctcl -j DROP
vs
-m npdi --risk 28 -j DROP

There is no difference for filtering, but there is a difference for collecting data.

Now we need to solve the problem described in PR 1946 as it affects TLS detection.

from ndpi.

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.