Question regarding on how to use flows in real time
eldraco at gmail.com
Tue May 26 10:48:19 EDT 2015
Hi list. We come across some special need with argus and I would like
to have your opinion on it.
I will try to make my self clear.
In our project in the Univ we would like to have something similar to
'real time' argus flows. The idea is to have a running argus
generating flows from a network and have them reported to us as soon
as possible. However, we _strongly_ depend on the _real_ time
differences between flows, so we don't want to use the "reporting
interval" of argus. We need the real flows being reported 'naturally'.
(More info on stratosphereips.org)
Our first attempted solution was to use an
ARGUS_FLOW_STATUS_INTERVAL=3600. This is based on the idea that since
the protocols in argus are timeouting at 60,30 and 5 secs, then the
connections would timeout before argus reports them. Which in fact
turns out to be like having no argus reporting at all. This was good
for some time. However, despite the fact that using a reporting
interval of 3600 s stops argus from reporting intermediate flows,
argus do not output the flows that are already finished in real time.
Let me show an example that is attached in this email. I generated it
with the command :
for i in `seq 1 10`; do wget --limit-rate 1000 -N www.odd.com $i; sleep 60; done
That is, 10 downloads separated by 1 minute. Each download last few
seconds and is completely done and terminated.
In our ideal case I would like to have argus reporting each flow as
soon as it finishes. However, using a reporting time of 5 seconds
gives us intermediate flows:
(notice that I'm using -f to simulate a never ending pcap file)
argus -f -S 5 -r 3/3.pcap -w - |ra -Z b -n -F /etc/ra.conf -r -
(and 14 more identical flows)
And using a reporting time of 3600 seconds give us nothing until 1 hour passes:
argus -f -S 3600 -r 3/3.pcap -w - |ra -Z b -n -F /etc/ra.conf -r -
What we need is argus reporting each flow as soon as it finishes
without adding intermediate _reported_ flows.
Do you think this is possible? Or there are important drawbacks on
(Maybe there is a way of differentiating the _reported_ flows from the
Thanks a lot!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 136073 bytes
Desc: not available
More information about the argus