/usr/share/doc/netwox-doc/tools/16.html is in netwox-doc 5.36.0-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | <HTML>
<HEAD>
<TITLE>Tool 16: Convert a record</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<CENTER> <H3>Tool 16: Convert a record</H3>
</CENTER>
<P><H3>Description:</H3>
<PRE>
A record is a capture file. It contains several packets captured
during a sniff. It can also be created by hand. There are 7 formats
for records: pcap (tcpdump compatible), bin (binary, unreadable by
humans but fast) and mixed/mixed_wrap/dump/hexa/hexa_wrap (easy to
read and edit). A record also has an associated DLT (Data Link Type),
indicating at which level a packet start: raw (start at IP header) and
ether (start at Ethernet header) are the 2 most common DLT. Tool 13
displays DLT of each device.
This tool converts a record. For example, it can convert a pcap
capture file to a mixed capture file.
Parameter --src-file indicates the input record filename.
Parameter --input-dlt defines the DLT of packets in input record (it
depends on how it was sniffed, generally 'ether' (for Ethernet) or
'raw' (if packet starts at IP header)). Full list is available through
netwag or running tool 12.
Parameter --dst-file indicates the output record filename.
Parameter --output-dlt defines the DLT of packets to write in output
record.
Parameter --recordencode defines how to encode data in this record
(suggested values: bin, pcap and mixed_wrap).
</PRE>
<P><H3>Synonyms:</H3>
capture<BR>
<P><H3>Usage:</H3>
netwox 16 -f file [-t dlt] -F file [-T dlt] [-r recordencode]<BR>
<P><H3>Parameters:</H3>
<TABLE BORDER=1 CELLPADDING=4>
<TR>
<TD ALIGN=middle><I>parameter</I></TD>
<TD ALIGN=middle><I>description</I></TD>
<TD ALIGN=middle><I>example</I></TD>
</TR>
<TR><TD><TT>-f|--src-file file</TD>
<TD>input record file</TD>
<TD>srcfile.txt</TD></TR>
<TR><TD><TT>-t|--input-dlt dlt</TD>
<TD>dlt type of input record</TD>
<TD>ether</TD></TR>
<TR><TD><TT>-F|--dst-file file</TD>
<TD>output record file</TD>
<TD>dstfile.txt</TD></TR>
<TR><TD><TT>-T|--output-dlt dlt</TD>
<TD>dlt type of output record</TD>
<TD>ether</TD></TR>
<TR><TD><TT>-r|--recordencode recordencode</TD>
<TD>encoding type for output record</TD>
<TD>bin </TD></TR>
</TABLE>
<P><H3>Examples:</H3>
netwox 16 -f "srcfile.txt" -F "dstfile.txt"<BR>
<BR>
netwox 16 --src-file "srcfile.txt" --dst-file "dstfile.txt"<BR>
<BR>
</BODY>
</HTML>
|