Wykres commitów

18 Commity (6a09371666db39bf9ecc80f87c1973b3e9746b43)

Autor SHA1 Wiadomość Data
John Cox 6a09371666 pcapreport: Fix worst case filename string allocation (now vlans
can be part of the name)
2011-07-06 13:03:51 +01:00
John Cox 04116869d9 Added ability to take apart Vlan tagged packets and report on QoS parameters 2011-07-06 12:30:23 +01:00
John Cox eb5558f9e7 Silence some warnings 2011-04-15 16:10:29 +01:00
jc44 864e515dee Add a good-ts-only filter for extraction and warn if we are writing dodgy packets
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40154
2010-04-29 16:29:39 +00:00
jc44 b844aaf880 Add time formatting options and trivial fragment reassembly code to pcapreport
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40151
2009-11-27 15:07:44 +00:00
jc44 4d1c00f033 Fix pcapreport issues where only one PCR found in a stream and UDP packet contains extra bytes
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40150
2009-10-27 17:29:04 +00:00
jc44 535913d5d5 Pcapreport now has a write .csv file option
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40149
2009-10-26 16:21:42 +00:00
jc44 e5d4b4a86e New analyse mode for pcapreport in an effort to produce useful summary info. Part 1 of an ongoing effort to inprove pcapreport
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40148
2009-10-26 11:56:18 +00:00
tibs 32fec829b2 Amendments suggested by alexw, to whom thanks:
1. Fix some print_msg to be print_err
2. Rename the function to make error messages go to stderr to
   redirect_output_stderr, which is more sensible.
3. Make the -stdout switch always force error messages to stderr
4. Add the "-err" switch to all programs, which allows the user
   to choose whether they prefer errors to go to stdout or stderr

That last is something I meant to do as part of the stdout/stderr
changes - thanks again to alexw for causing me to get round to it.

This now allows:

  cat data/ed24p_11.ts | ts2ps -stdin -stdout | ps2ts -stdin -stdout | mplayer -

to work -- it didn't before.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40145
2009-06-16 20:27:25 +00:00
tibs 9005adfebf This may be the last edits for IO
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40143
2009-05-04 21:21:17 +00:00
tibs 574a59f25c More transfer to the new IO model -- especially, misc.c and its implications.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%40136
2009-05-03 15:57:22 +00:00
rhodri f16d7ed982 Fix command-line parsing of -output and -skew
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4096
2008-11-18 15:49:35 +00:00
tibs 0b7868f9ca Make command line handling more commensurate with the other tools.
Despite the command line, retain  the "--" forms for switches, as
well as the documented "-" forms. Provide "-skew" as a shorter
synonym for the very-long-switch - hope that makes sense.
Make command line handling more robust.
Correct the error handling if an input file is not given.
Give the -dest switch a default port (0 seems most sensible).

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4091
2008-11-11 19:45:13 +00:00
tibs 3ab74526ff Bug 14602: move to using <stdint.h> types for integers.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4069
2008-10-18 15:04:34 +00:00
tibs 223c96020a Fix continuation lines in the Makefile so it works.
Fix "if (err = EOF)", which should be a comparison.

Various pedantries (petty stuff):
* Remove compiler warning on use of build_TS_reader_with_fns - this was because
  "char *" is signed on my Mac, whilst "byte *" is not. Fixed by making it
  exepct "byte *", and whilst I'm at it make pcapreport.c use the datatypes from
  compat.h -- not because they're better than the stdint.h type, because they
  clearly aren't, but purely for consistancy (long term, I still want to move
  to stdint types - it should be easier now as we don't need to support ancient
  compilers))
* Reformat pcapreport.c (this is going to make for a big difference, oh well)
  to standard tstools indentation patterns.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4062
2008-09-09 19:01:50 +00:00
rrw aa08148c62 pcapreport can now report on disparities between PCR and
recorded packet times.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4054
2008-09-05 18:06:52 +00:00
rrw ed1c6f0783 Add licence blocks.
--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4052
2008-09-05 16:11:56 +00:00
rrw 025d598651 You can now run pcapreport to report on a pcap file (in a very limited
way!). Next step is to analyse PCR against the pcap timestamps.

--HG--
extra : convert_revision : svn%3Aeff31bef-be4a-0410-a8fe-e47997df2690/trunk%4051
2008-09-05 16:09:58 +00:00