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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(InputStream is, boolean dumpRawData)reads a network dump file and prints the packages, their content and the way how Marauroa parses the data.static voidreads 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.
-