| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
by dumpcap and Ethereal (so that, on UN*X, the child process can report
a detailed "can't exec dumpcap" error).
Rename most of the "sync_pipe_XXX_to_parent()" routines, as they're also
in Tethereal, which doesn't have a sync pipe.
svn path=/trunk/; revision=17789
|
|
|
|
|
|
|
|
| |
bypass Wiretap; that means we don't have to run the packet through
wtap_process_pcap_packet() and then undo that conversion in Wiretap if
we're just going to write it out, shortening the code path.
svn path=/trunk/; revision=17461
|
|
|
|
| |
svn path=/trunk/; revision=17396
|
|
|
|
|
|
|
|
|
| |
not available on all platforms. Include getopt.c in
EXTRA_ethereal_SOURCES and include getopt.h in EXTRA_ethereal_INCLUDES,
as we do with the other files that supply routines not available on all
platforms, rather than always including them in the source for dumpcap.
svn path=/trunk/; revision=17311
|
|
|
|
|
|
| |
the pathname in the #include.
svn path=/trunk/; revision=17280
|
|
|
|
|
|
|
|
|
| |
no longer needs util.c, so it no longer includes routines that use
host_ip_af(), so it no longer needs to define its own host_ip_af().
That also means dumpcap.c no longer needs to include <sys/socket.h>.
svn path=/trunk/; revision=17278
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
using dumpcap as the capture child for Ethereal.
dumpcap is a plain console application now, even for Win32 (so no WinMain, create_console and special piping stuff reguired). The undocumented command line option -Z will switch dumpcap into "child mode", using binary instead of plain text output messages to communicate with a parent Ethereal.
Ethereal's main.c no longer needs to distinguish between child mode or not, so some simplifying here.
capture_sync.c has to call dumpcap in a "hidden window" mode using CreateProcess instead of spawnvp, otherwise an uggly console window would appear. The handles created by _pipe doesn't seem to be inheritable for this function, using CreatePipe instead.
The file capture_loop.c is only needed by dumpcap, removed from Ethereal link objects.
Some debugging aid added and other minor cleanup done.
svn path=/trunk/; revision=17256
|
|
|
|
|
|
|
|
|
|
|
|
| |
remove a lot of redundant code from tethereal and use (move) stuff from capture_loop.c instead.
concentrate common capture related code in capture_opts.c, e.g. trying to find the right interface to capture from (command line option, preference, first usable) instead of duplicating this code over several files.
remove redundant code from dumpcap.c
this also implements command line option -D (and indexed interfaces at -i) for Ethereal and Dumpcap (as we have it in Tethereal already for a while)
svn path=/trunk/; revision=16787
|
|
|
|
|
|
|
|
| |
this way, the capture prefix will "logically" group the files together and file browsers will also group them
we may want to move the files into a subdir capture later
svn path=/trunk/; revision=16691
|
|
|
|
|
|
|
| |
use capture_opts_trim()
output of command line usage and version "enhanced"
svn path=/trunk/; revision=16684
|
|
|
|
|
|
|
|
|
|
| |
capture_loop.c to capture_info.c and call it from capture.c (instead of capture_loop.c).
This way, the capture child don't need to now any of the packet_counter things (no epan/packet.h and all alike).
Currently the capture_info code will always open another wiretap file instance to build it's own counter values. This isn't optimized for now (next step: use data from cf_continue_tail() somehow).
svn path=/trunk/; revision=16669
|
|
|
|
|
|
|
|
| |
capture_info(.c/.h),
so we can use it from the main program
svn path=/trunk/; revision=16668
|
|
|
|
| |
svn path=/trunk/; revision=16666
|
|
|
|
| |
svn path=/trunk/; revision=16621
|
|
|
|
|
|
|
|
| |
this fortunately removes *a lot* of dependencies and make the resulting binary a lot smaller (and hopefully faster to load :-)
some more cleanup (like replacing // by /**/)
svn path=/trunk/; revision=16620
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
personal backup only, not meant for public testing!
I've copied main.c into dumpcap.c and carved out all things not needed
currently won't work as a command line tool, capture_loop.c wants an input pipe
console output is also very ugly and the whole code needs a lot of further cleanup
shouldn't break the unix build as I've only changed the nmake files so far, but who knows ...
svn path=/trunk/; revision=16615
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
necessary there.
Add a "cmdarg_err()" routine to report command-line option errors; it
creates a console if necessary, and prints the command name and the
trailing newline. Also add "cmdarg_err_cont()", which also creates a
console if necessary, and prints a trailing newline but no command name;
it's used to continue the message. Use those, rather than
"g_warning()", for errors.
That means that we no longer need to pass the command name to various
command-line argument parsing routines.
svn path=/trunk/; revision=16526
|
|
|
|
|
|
|
|
|
| |
problems, and use the first routine in it in multiple places.
Get rid of DISSECTOR_SUPPORT_INCLUDES - just add its contents to
ETHEREAL_COMMON_INCLUDES.
svn path=/trunk/; revision=16109
|
|
|
|
|
|
|
|
|
|
| |
directory to the epan directory. Some of them should perhaps ultimately
be moved to epan/dissectors, if they pertain only to stuff exported by a
particular dissector.
Fix Gerald's e-mail address in files we're moving.
svn path=/trunk/; revision=15844
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
filter as an argument on the command line and have a dialog box to enter
the display filter through the GUI. Use it for all stats using
"gtk_tap_dfilter_dlg_cb()".
Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E"
for the benefit of the declaration of "register_dfilter_stat()" in the
top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk
directory to "gtk_stat_menu.h", so as not to have two headers with the
same name.
Get rid of headers not declaring any functions not being used in the
module.
svn path=/trunk/; revision=15493
|
|
|
|
|
|
|
|
|
| |
possible, and, for AFP replies, add in the frame with the request and
the time between those two frames.
Have AFP per-request-type RTT statistics, similar to SMB's statistics.
svn path=/trunk/; revision=15456
|
|
|
|
| |
svn path=/trunk/; revision=15429
|
|
|
|
|
|
|
|
|
|
|
| |
and "Statistics" menu items into "stat.h" and "stat.c", to separate them
from the core tapping APIs. A tap could conceivably not register as a
"-z" command-line argument or "Statistics" menu item, and a stat could
conceivably not be implemented as a tap, and dissectors that implement
tapping points don't need the UI-related stuff from "stat.h", they just
want the tap-related stuff in <epan/tap.h>.
svn path=/trunk/; revision=15427
|
|
|
|
| |
svn path=/trunk/; revision=15394
|
|
|
|
|
|
|
|
|
|
|
| |
files as not all make implementation work with this.
Found by running
grep '^ ' `find . -name "Makefile.am" -o -name "Makefile.common"`
Gerald: Maybe adding this to the buildbot would be a good idea after all.
svn path=/trunk/; revision=14904
|
|
|
|
| |
svn path=/trunk/; revision=14445
|
|
|
|
|
|
| |
capturing "Multiple Files"/ringbuffer) and jump from one file of it to the next/previous one
svn path=/trunk/; revision=14231
|
|
|
|
|
|
| |
bundling correctly.
svn path=/trunk/; revision=13823
|
|
|
|
| |
svn path=/trunk/; revision=13507
|
|
|
|
|
|
| |
a new file capture_opts.c and let both ethereal and tethereal use it.
svn path=/trunk/; revision=13474
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and
GENERATED_FILES macros in Makefile.common files, along the lines of what
wiretap/Makefile.common has.
Clean up "*~" files with "make clean" rather than only "make distclean"
in some additional places.
Add "maintainer-clean" rules to the Makefile.nmake files, paralelling
the ones in the automake-generated Makefile.in files, using the
GENERATED_FILES macros from Makefile.common files. In some cases, move
the cleanup of files from "make distclean" to "make maintainer-clean",
and in other cases, put in a comment indicating why we're not doing that
(because some files that are distributed in the source tarballs, namely
Flex output, were built with a UN*X Flex and won't compile on Windows,
so we get rid of them with "make distclean" so you can clean up stuff
that *has* to be re-generated for Windows).
Clean up some *CLEANFILES definitions - get rid of ones that no longer
apply as files were moved or that add to the definition a name that's
already there.
svn path=/trunk/; revision=13402
|
|
|
|
|
|
|
|
|
|
|
|
| |
asn1.[ch]
follow.[ch]
ptvcursor.[ch]
reassemble.[ch]
xmlstub.[ch]
fix #include statements accordingly.
svn path=/trunk/; revision=13366
|
|
|
|
|
|
| |
as its code is linked into libethereal.dll.
svn path=/trunk/; revision=13354
|
|
|
|
|
|
|
|
|
|
|
| |
"main_set_for_capture_file()"; it should only deal with menus, not
anything else - and it gets called while the menus are being set up,
which is before the main window has been completely created, so
"main_widgets_show_or_hide()", which is called by
"main_set_for_capture_file()", gets errors trying to show or hide
widgets the pointers to which are null.
svn path=/trunk/; revision=13328
|
|
|
|
| |
svn path=/trunk/; revision=13062
|
|
|
|
|
|
|
| |
in there is for UI functions including, but not limited to, the combo
box in capture dialogs.
svn path=/trunk/; revision=13061
|
|
|
|
| |
svn path=/trunk/; revision=12451
|
|
|
|
|
|
| |
That's the part used, when "Update list of packets in real time" is used while capturing.
svn path=/trunk/; revision=12445
|
|
|
|
| |
svn path=/trunk/; revision=12168
|
|
|
|
|
|
|
|
| |
stuff is already there).
Update Gerald's e-mail address in column.h.
svn path=/trunk/; revision=12131
|
|
|
|
| |
svn path=/trunk/; revision=12130
|
|
|
|
| |
svn path=/trunk/; revision=12129
|
|
|
|
| |
svn path=/trunk/; revision=12128
|
|
|
|
| |
svn path=/trunk/; revision=12127
|
|
|
|
| |
svn path=/trunk/; revision=12125
|
|
|
|
| |
svn path=/trunk/; revision=12117
|
|
|
|
|
|
|
|
| |
make the source files all include the corresponding header files (so
that the declarations in the headers have to match the definitions in
the source files in order for compilation to succeed).
svn path=/trunk/; revision=12116
|
|
|
|
| |
svn path=/trunk/; revision=12115
|
|
|
|
|
|
|
| |
it into libethereal - have it as common code linked into Ethereal,
Tethereal, and dftest.
svn path=/trunk/; revision=11961
|
|
|
|
| |
svn path=/trunk/; revision=11956
|