Package marauroa.tools.protocolanalyser
Class ProtocolAnalyser
java.lang.Object
marauroa.tools.protocolanalyser.ProtocolAnalyser
A protocol analyser. You can sniff the network dump with tools like Wireshark or Tcpdump.
The let Wireshark "follow the tcp stream", and save the result in raw format.
- Author:
- hendrik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dump(InputStream is, boolean dumpRawData)
reads a network dump file and prints the packages, their content and the way how Marauroa parses the data.static void
reads a network dump file and prints the packages, their content and the way how Marauroa parses the data.
-
Constructor Details
-
ProtocolAnalyser
public ProtocolAnalyser()
-
-
Method Details
-
dump
reads a network dump file and prints the packages, their content and the way how Marauroa parses the data.- Parameters:
is
- InputStreamdumpRawData
- should the raw data be dumped as hex?- Throws:
IOException
- in case of an I/O errorInvalidVersionException
- if the version of Marauroa used to create the dump and the one used to parse it are incompatible
-
main
reads a network dump file and prints the packages, their content and the way how Marauroa parses the data.- Parameters:
args
- name of dump file- Throws:
IOException
- in case of an input/output errorInvalidVersionException
- in case the dump was created using a version of marauroa that cannot be understood by the version used in this analyse run.
-