| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=18783
|
|
|
|
| |
svn path=/trunk/; revision=18235
|
|
|
|
| |
svn path=/trunk/; revision=18206
|
|
|
|
| |
svn path=/trunk/; revision=18197
|
|
|
|
|
|
|
|
|
|
|
|
| |
necessary for the switch to GTK 2.6 (at least on WIN32).
to do this, I've added file_util.h to wiretap (would file_compat.h be a better name?), and provide compat_macros like eth_open() instead of open(). While at it, move other file related things there, like #include <io.h>, definition of O_BINARY and alike, so it's all in one place.
deleted related things from config.h.win32
As of these massive changes, I'm almost certain that this will break the Unix build. I'll keep an eye on the buildbot so hopefully everything is working again soon.
svn path=/trunk/; revision=16403
|
|
|
|
| |
svn path=/trunk/; revision=15088
|
|
|
|
| |
svn path=/trunk/; revision=15015
|
|
|
|
|
|
|
| |
Fix interpretation of 'value' field.
Patch from Vasanth Manickam.
svn path=/trunk/; revision=14505
|
|
|
|
| |
svn path=/trunk/; revision=13724
|
|
|
|
|
|
|
|
|
|
|
|
| |
object code for libethereal.dll isn't generated by the
makefile in /trunk.
Having no code in /trunk linked into libethereal.dll
anymore, the definition of the macro _NEED_VAR_IMPORT_
can be moved from various source files in /trunk to /trunk/Makefile.nmake .
So do that, too.
svn path=/trunk/; revision=13389
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
don't use the print mechanism for that - do the writing directly in the
"follow stream" code.
Use "size_t" for character counts.
Make the "hexchars" array static and const, as it's not written to, and
there's probably no point in copying it to the stack (unless that
improves cache locality).
There's no need to explain why we're subtracting the number of bytes
actually read, rather than the number of bytes asked for, from the data
length.
Note an issue with printing lines.
svn path=/trunk/; revision=13240
|
|
|
|
|
|
|
|
|
|
|
|
| |
add radiobutton to allow saving raw tcpstreams
these radiobuttons should, by someone that uses, this feature be changed into
a menu instead.
svn path=/trunk/; revision=13236
|
|
|
|
|
|
|
|
| |
array of "const char *" rather than to an array of "char *", and make
the second argument of "col_set_str()" a "const char *" - there's no
guarantee that "col_data" points to something you're allowed to modify.
svn path=/trunk/; revision=12875
|
|
|
|
|
|
|
| |
"epan/charsets.c"; other character set translation code should perhaps
go there as well.
svn path=/trunk/; revision=11958
|
|
|
|
|
|
|
|
|
| |
really more of an Ethereal/Tethereal component than a libethereal
component (nothing else in libethereal knows about capture files); move
it back out of libethereal. (The range stuff doesn't; we leave it in
libethereal.)
svn path=/trunk/; revision=11898
|
|
|
|
|
|
|
|
|
|
|
| |
they should ultimately be split into files with routines that handle
ranges, which are just subsets of [0,2^32), and packet ranges, which are
subsets of the packet list, possibly specified by a range.
Move them into epan, so they can be used by, for example, utilities that
handle ranges, such editcap.
svn path=/trunk/; revision=11890
|
|
|
|
|
|
|
| |
the DISSECTOR_SUPPORT_xy files any longer and as a consequence they
won't be linked into libethereal.
svn path=/trunk/; revision=11559
|
|
|
|
|
|
| |
bookmark" op in the lower-level print functions), so remove it.
svn path=/trunk/; revision=11543
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a structure containing a pointer to print operations for that object and
a pointer to the private subclass-dependent data for that object, with
subclasses for text and PostScript, and use those rather than the old
scheme where a print format was passed as an argument - or where (as in
the case of printing summary information in Tethereal) we just printed
as text even if "-T ps" was selected.
Check whether those routines succeed or get an I/O error writing output.
Clean up indentation.
svn path=/trunk/; revision=11514
|
|
|
|
|
|
|
|
|
|
| |
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.
Adjust #include lines in files that include packet-*.h
files.
svn path=/trunk/; revision=11410
|
|
|
|
|
|
|
|
|
| |
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.
svn path=/trunk/; revision=11400
|
|
|
|
|
|
|
|
|
|
| |
the "text vs. PostScript" choice. The "text vs. PostScript" choice
should probably ultimately be done with a generic set of print methods,
to handle various platform-native print mechanisms more cleanly (and
perhaps the dialog box code for "export as {PDML,PSML}" should be
separate from the "export as text"/"print" dialog).
svn path=/trunk/; revision=11342
|
|
|
|
| |
svn path=/trunk/; revision=11318
|
|
|
|
| |
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
|