GithubHelp home page GithubHelp logo

How joy merging UDP packets in a flow about joy HOT 6 CLOSED

cisco avatar cisco commented on June 28, 2024
How joy merging UDP packets in a flow

from joy.

Comments (6)

bhudson33 avatar bhudson33 commented on June 28, 2024 1

you could play with the default values defined in p2f.c and maybe get some values that will produce whatever it is you are looking for. Look around line 290 and you will see the definitions for the inactive and active timeouts.

from joy.

davidmcgrew avatar davidmcgrew commented on June 28, 2024 1

from joy.

bhudson33 avatar bhudson33 commented on June 28, 2024

what were the command line parameters you used to invoke joy?

from joy.

arunmir avatar arunmir commented on June 28, 2024

joy tls=1 dns=1 ip_id=1 dist=1 http=1 num_pkts=1 output="./Output.gz" ./161101Amazon.pcap.pcapng

I have attached the pcap file I used below. It has 76 packets totally. But joy generating only 40 records

161101Amazon.pcap.pcapng.zip

from joy.

bhudson33 avatar bhudson33 commented on June 28, 2024

We believe this to be the intended behavior. In your PCAP, there are ~9 unique 5-tuples. In a perfect world you would only see ~9 Joy flow records. However, due to the inactive timeout, new flows get created with the same 5-tuple. This means that the number of flows should vary somewhere between 9 and total packets of 76 based on the inactive timeout. What we see based on the PCAP is 40 Joy flows which seems about right when taking the inactive timeout into account. Hopefully, this explains what you are seeing.

from joy.

arunmir avatar arunmir commented on June 28, 2024

Ok, I got it. Thank you very much.
I wonder, is there any way to change/disable the the inactive timeout period in JOY?

from joy.

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.