On 02/28/2013 05:14 PM, [email protected] wrote:
Ok so how not to go through the packet Dissector then , and get the data
through console?
how can I have infinite packet capture?
What you could do is the following:
1) Run netsniff-ng with pcap output to stdout:
netsniff-ng -i eth0 -o - -b 0 | your_tool
2) netsniff-ng will stdout in pcap file format, so you need to have
a look if there are some java libs that can read this format.
Instead of opening a pcap file in your program, you would then
read an infinite stream from stdin.
--
You received this message because you are subscribed to the Google Groups
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.