Re: [tcpdump-workers] [Patch] tcpdump probabilistic sampling

2008-04-01 Thread Jesse Kempf
Rick Jones wrote: Jesse Kempf wrote: Hi, So tcpdump tends to jam up the terminal a bit when you try to dump on a saturated gigabit link. I've added a -P option to tcpdump that lets you specify a probability for tcpdump to print each packet. It uses drand48() to figure out whether each packet

Re: [tcpdump-workers] [Patch] tcpdump probabilistic sampling

2008-04-01 Thread Rick Jones
Jesse Kempf wrote: Hi, So tcpdump tends to jam up the terminal a bit when you try to dump on a saturated gigabit link. I've added a -P option to tcpdump that lets you specify a probability for tcpdump to print each packet. It uses drand48() to figure out whether each packet captured should be

[tcpdump-workers] [Patch] tcpdump probabilistic sampling

2008-04-01 Thread Jesse Kempf
Hi, So tcpdump tends to jam up the terminal a bit when you try to dump on a saturated gigabit link. I've added a -P option to tcpdump that lets you specify a probability for tcpdump to print each packet. It uses drand48() to figure out whether each packet captured should be printed. Obviously

[tcpdump-workers] rtp packet lost and jitter script

2008-04-01 Thread miguel olivares varela
Hi everybody, I'm trying to create a script to determine rtp packet lost using tcpdump and awk. And It works, but also i'm trying to create a script to calculate the jitter but i don't have an idea how to do it. Maybe there is a tool or someone has an idea. #!/bin/sh #Scrip To calculate rt

[tcpdump-workers] Question about savefile format

2008-04-01 Thread Milosz Marian Hulboj
Hello, I would like to know whether it is possible with the current pcap format to store the captured packets in the fixed length blocks in the file. I have briefly looked at the format that is being used to store the pcap files and I think that currently it is not possible, but I would like to