Age | Commit message (Collapse) | Author | Files | Lines |
|
svn path=/trunk/; revision=10760
|
|
this sets flags for later rendering of the field data
svn path=/trunk/; revision=10752
|
|
svn path=/trunk/; revision=10709
|
|
svn path=/trunk/; revision=10682
|
|
-ps: added formatting hints for ghostscript, so pdf conversion will be much better
-ps: print a thin line at the top and bottom of each page
-ps/text: add an option to start a new page for every packet (formfeed)
svn path=/trunk/; revision=10660
|
|
reduced print margin to 1/2 inch and font size to 8 point,
include filename in page header,
wrap too long lines
svn path=/trunk/; revision=10652
|
|
svn path=/trunk/; revision=10628
|
|
add the attribute: hide="yes" to the field node
svn path=/trunk/; revision=10626
|
|
Ethereal panes, thus better understandable
svn path=/trunk/; revision=10611
|
|
(for raw packet hexdump)
svn path=/trunk/; revision=10607
|
|
svn path=/trunk/; revision=10606
|
|
"capture_file" structure. Keep it locally, instead.
Check for errors when printing packets.
Report failure to open a print destination and failure to write to a
print destination differently.
Don't have the "print preamble" and "print final" routines return
success/failure indications - revert to the old scheme where they
didn't, and have the callers use "ferror()" to check for errors.
Report write errors when printing dissections in Tethereal.
Report print errors as errors, not warnings.
svn path=/trunk/; revision=9828
|
|
"file_close_error_message()" - but just use "file_write_error_message()"
for UNIX-style errors, under the assumption that a close will only fail
because a buffer-flushing write fails or because "close()" itself fails
when, for example, pushing unsynced NFS client-side writes out over the
wire.
Make several routines in "print.c" return success/failure indications.
Check for write errors when printing "Follow TCP Stream" stuff or saving
it to a file.
svn path=/trunk/; revision=9825
|
|
svn path=/trunk/; revision=9611
|
|
end of the tvbuff.
svn path=/trunk/; revision=9501
|
|
at 0 instead of 1. This works better for Ethereal, as our offsets start
at 0. Change the "geninfo" pseudo-protocol to use pos="0" instead of
pos="1".
svn path=/trunk/; revision=9238
|
|
svn path=/trunk/; revision=9222
|
|
protocol tree fields that don't have values and that are zero-length.
Combine the "if (fi->hfinfo->type != FT_PROTOCOL && fi->length > 0)"
stuff to show the raw value into the previous "if".
svn path=/trunk/; revision=9210
|
|
to tethereal. It could be added to Ethereal, but the GUI changes to
allow the user to select PDML as a print format have not been added.
Provide a python module (EtherealXML.py) to help parse PDML.
Provide a sample app (msnchat) which uses tethereal and EtherealXML.py
to reconstruct MSN Chat sessions from packet capture files. It produces
a nice HTML report of the chat sessions.
Document tethereal's PDML and EtherealXML.py usage in doc/README.xml-output
Update tethereal's manpage to reflect the new [-T pdml|ps|text] option
svn path=/trunk/; revision=9180
|
|
pointers to the first *and* last child, in the "proto_node" structure
itself. That saves us one level of indirection and memory allocation,
and lets us append to a tree by appending to the last child directly,
rather than having to scan through the list of siblings of the first
child to find the end of that list.
svn path=/trunk/; revision=9171
|
|
one member - or have one that's not used, so get rid of those unions.
svn path=/trunk/; revision=9151
|
|
so "fi->rep->representation" can't be null.
svn path=/trunk/; revision=9108
|
|
The label_ptr could be NULL, when calling function print_line
svn path=/trunk/; revision=9099
|
|
svn path=/trunk/; revision=9085
|
|
svn path=/trunk/; revision=9075
|
|
winapi_cleanup tool written by Patrik Stridvall for the wine
project.
svn path=/trunk/; revision=6117
|
|
equivalents for the toplevel directory. The removal of winsock2.h will
hopefully not cause any problems under MSVC++, as those files using
struct timeval still include wtap.h, which still includes winsock2.h.
svn path=/trunk/; revision=5932
|
|
padding when printing text and use "putline" when printing PostScript.
Eliminate "hexdump", as it's just a special case of "putline".
Have "proto_tree_print_node()" just call "print_line()".
Get rid of "print_ps_hex()" - the font used for the hex dump and the
protocol tree are the same, so there's no need to switch fonts.
svn path=/trunk/; revision=5798
|
|
svn path=/trunk/; revision=5748
|
|
required by the largest offset value.
Get rid of trailing blanks in hex dump lines.
svn path=/trunk/; revision=5739
|
|
rather than having duplicate routines (the PostScript one was missing
some bug fixes in the text one).
svn path=/trunk/; revision=5731
|
|
routines; instead, rename "print_hex_data_common()" to
"print_hex_data_buffer()" as it prints a buffer in hex and ASCII (or
EBCDIC), and have it take the print format as an argument.
Have it use "print_line()" to print lines, and fix "print_line()" so
that it prints a buffer *without* a newline at the end, printing the
newline itself.
svn path=/trunk/; revision=5729
|
|
common code, rather than in print-format-specific code, and have
"print_hex_data_common()" put out the blank line before the dump itself
rather than relying on the print-format-specific "start printing the hex
dump" code to do it.
svn path=/trunk/; revision=5728
|
|
svn path=/trunk/; revision=5727
|
|
when printing plain text.
svn path=/trunk/; revision=5726
|
|
in the "packet_info" structure instead, as we don't need a pointer for
every single frame in the capture file, just for each frame for which we
currently have an open "epan_dissect_t".
svn path=/trunk/; revision=5614
|
|
static, and add a new "packet-data.h" to declare "proto_data".
Display escape sequences in octal in the IAPP dissector, as is now done
in the RADIUS dissector.
svn path=/trunk/; revision=5441
|
|
require that "fi->tree_type" be positive.
svn path=/trunk/; revision=5084
|
|
ETT_NONE entry.
Initialize the "tree_type" field of a "field_info" structure to -1,
meaning "this has not been given a subtree". Add checks before using
that field that it's in range. That way, you have to create a subtree
before putting protocol tree items under another item.
We allocate the "tree_is_expanded" array when we've registered all
dissectors; there's no need to allocate it while we're registering
dissectors and, in fact, doing so means we leak memory (the memory for
the version we allocated while registering dissectors).
svn path=/trunk/; revision=5068
|
|
be eliminated (because the function is called through a pointer, and
other functions called through the same pointer *do* use the argument)
as unused.
svn path=/trunk/; revision=5050
|
|
svn path=/trunk/; revision=4939
|
|
"data source" has a name and a top-level tvbuff, and frames can have a
list of data sources associated with them.
Use the tvbuff pointer to determine which data source is the data source
for a given field; this means we don't have to worry about multiple data
sources with the same name - the only thing the name does is label the
notebook tab for the display of the data source, and label the hex dump
of the data source in print/Tethereal output.
Clean up a bunch of things discovered in the process of doing the above.
svn path=/trunk/; revision=4749
|
|
print/Tethereal.
svn path=/trunk/; revision=4742
|
|
"epan/..." pathnames, so as to avoid collisions with header files in any
of the directories in which we look (e.g., "proto.h", as some other
package has its own "proto.h" file which it installs in the top-level
include directory).
Don't add "-I" flags to search "epan", as that's no longer necessary
(and we want includes of "epan" headers to fail if the "epan/" is left
out, so that we don't re-introduce includes lacking "epan/").
svn path=/trunk/; revision=4586
|
|
(aka GNode*).
svn path=/trunk/; revision=4423
|
|
svn path=/trunk/; revision=4199
|
|
svn path=/trunk/; revision=3560
|
|
that data with a "tvb_get_ptr()".
svn path=/trunk/; revision=3532
|
|
of the current frame as the source, use the raw data of the tvbuff
that's the data source of that field.
svn path=/trunk/; revision=3531
|
|
files. See text2pcap.1 (built from doc/text2pcap.pod) for details.
Changed 'tethereal -x' output to match hex dump format of text2pcap,
Ethereal and others.
svn path=/trunk/; revision=3421
|