Age | Commit message (Collapse) | Author | Files | Lines |
|
and capture_opts instead
svn path=/trunk/; revision=13283
|
|
don't use global cfile at all but only an untpyed handle to call the cf_... functions in file.c
move the save_file member from capture_file to capture_opts, as it's only used while capturing and while preparing it
svn path=/trunk/; revision=13276
|
|
is the place where it should be
svn path=/trunk/; revision=13268
|
|
in there is for UI functions including, but not limited to, the combo
box in capture dialogs.
svn path=/trunk/; revision=13061
|
|
window titles even on UN*X, and if the user's specified a description
for an interface, use that rather than the description supplied by
libpcap.
Put the interface name into the main window title when doing a live
capture.
svn path=/trunk/; revision=13060
|
|
svn path=/trunk/; revision=12855
|
|
idea). Do some more "housekeeping" in the capturing part.
Hopefully the unspecified forward declaration of capture_options_t in main.h is portable, but buildbot will tell me. This way I need the internals of that struct only at the places I really use it.
svn path=/trunk/; revision=12853
|
|
svn path=/trunk/; revision=12506
|
|
to make it compile on UN*X. Get rid of some #includes that don't appear
to be needed, at least on OS X 10.3 (they might be needed on other
platforms).
svn path=/trunk/; revision=12453
|
|
svn path=/trunk/; revision=12452
|
|
svn path=/trunk/; revision=12451
|
|
svn path=/trunk/; revision=12449
|
|
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=12115
|
|
"-y" argument for the capture subprocess - the capture subprocess will
expect a symbolic value, not a numeric value, if we have
"pcap_datalink_name_to_val()". (We assume that if one is present the
other will be present as well.)
svn path=/trunk/; revision=12064
|
|
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
|
|
<fcntl.h> is included, as <fcntl.h> doesn't define it.
svn path=/trunk/; revision=11276
|
|
other #include related cleanups
svn path=/trunk/; revision=11272
|
|
This matters for "update of list in real time" (sync_mode) only,
as in normal mode you wouldn't otherwise have the possibility
to stop the capture.
svn path=/trunk/; revision=11194
|
|
add a config.nmake option to control whether to build
libethereal.dll or not;
remove "./wiretap" from PATH to prevent problems due to
wrongly-loaded files;
build dissector.lib with MSVC;
move "print.c" and "ps.c" to the dissector helpers, as "print.c"
imports variables from packet-frame.c and packet-data.c, which
are in libethereal;
move "g711.c" out of the dissector helpers, as they're used only
by Ethereal in a tap, not in Tethereal or in any dissector;
add a .def file for libethereal;
arrange to declare global variables exported from libethereal
with "__declspec(dllimport)" when building programs that import
those variables;
update the NSIS installer.
Make the "configure" script define ETH_VAR_IMPORT as "extern".
svn path=/trunk/; revision=10834
|
|
svn path=/trunk/; revision=10620
|
|
while capturing.
svn path=/trunk/; revision=10594
|
|
svn path=/trunk/; revision=10451
|
|
svn path=/trunk/; revision=10446
|
|
svn path=/trunk/; revision=10377
|
|
no gint "wrap around" tests implemented yet
svn path=/trunk/; revision=10304
|
|
svn path=/trunk/; revision=10303
|
|
svn path=/trunk/; revision=10279
|
|
"Use ring buffer" switches between multiple single run and real ring buffer
svn path=/trunk/; revision=10257
|
|
svn path=/trunk/; revision=10170
|
|
svn path=/trunk/; revision=10169
|
|
explicit names and seperated functionality of do_capture(),
but no functional change!
svn path=/trunk/; revision=10168
|
|
failed attempt to open/create a file.
Fix one call to pass the right value for the "for_writing" flag.
svn path=/trunk/; revision=10026
|
|
(bug appears only, if "update list of packets ..." not used)
svn path=/trunk/; revision=10017
|
|
svn path=/trunk/; revision=9974
|
|
svn path=/trunk/; revision=9970
|
|
svn path=/trunk/; revision=9967
|
|
close capture file when user told so
svn path=/trunk/; revision=9965
|
|
"simple_dialog()"; NULL might be #defined to be a pointer expression on
some platforms, causing compiler warnings (and, on platforms where a
null pointer doesn't have all its bits 0, possibly causing misbehavior,
although I don't think there are any such platforms on which Ethereal
runs).
Don't allow 0 as button mask argument to "simple_dialog()".
Squelch a compiler warning.
Report fatal problems as errors, not warnings.
Report file I/O errors with "file_open_error_message()".
Report file write errors (including those reported by "close()", e.g.
some errors writing to an NFS server) when saving raw packet data to a
file.
svn path=/trunk/; revision=9915
|
|
filters that look like display filters.
svn path=/trunk/; revision=9914
|
|
better reflect the real error text
svn path=/trunk/; revision=9913
|
|
for example, the libpcap code generator doesn't support the link-layer
type for the capture), "dfilter_compile()" will succeed but return a
null rfcode pointer.
In that case, instead of telling people that it looks like a valid
display filter (which it does, but it also looks like a complete list of
all the Basque words likely to be known by Hammurabi :-)), and then
crashing when we try to "free" that non-existent dfilter code, we just
report it as a "sorry, couldn't compile that capture filter.
svn path=/trunk/; revision=9912
|
|
addition to an error code, an error info string, for
WTAP_ERR_UNSUPPORTED, WTAP_ERR_UNSUPPORTED_ENCAP, and
WTAP_ERR_BAD_RECORD errors. Replace the error messages logged with
"g_message()" for those errors with g_strdup()ed or g_strdup_printf()ed
strings returned as the error info string, and change the callers of
those routines to, for those errors, put the info string into the
printed message or alert box for the error.
Add messages for cases where those errors were returned without printing
an additional message.
Nobody uses the error code from "cf_read()" - "cf_read()" puts up the
alert box itself for failures; get rid of the error code, so it just
returns a success/failure indication.
Rename "file_read_error_message()" to "cf_read_error_message()", as it
handles read errors from Wiretap, and have it take an error info string
as an argument. (That handles a lot of the work of putting the info
string into the error message.)
Make some variables in "ascend-grammar.y" static.
Check the return value of "erf_read_header()" in "erf_seek_read()".
Get rid of an unused #define in "i4btrace.c".
svn path=/trunk/; revision=9852
|
|
translate UNIX errno values to a somewhat friendly message format
string.
Rename "file_open_error_message()" in "file.c" to
"cf_open_error_message()", make "cf_open_error_message()" use the new
"file_open_error_message()" for UNIX errno values, have "do_capture()"
in "capture.c" use "file_open_error_message()" to report errors from
"open()", and make "cf_open_error_message()" static as nothing outside
"file.c" uses it.
Do similar stuff in "tethereal.c".
svn path=/trunk/; revision=9821
|
|
tracks "fork_child", and, on UNIX, "child_process" doesn't exist.
svn path=/trunk/; revision=9783
|
|
svn path=/trunk/; revision=9778
|
|
implemented Win32 "Capture Stop" when using
"update list of packets in realtime" while capturing
svn path=/trunk/; revision=9777
|
|
prevent problems when switching between GTK1 and GTK2 ethereal versions
b.) added new feature "Edit->Go To First Packet" "Edit->Go To Last Packet" with corresponding menu and toolbar items
c.) added new feature "View->Zoom In" / "View->Zoom Out" / View->Normal Size" with corresponding menu and toolbar items
This feature will act as a "size offset" to the current fontsize, so that the packet list/tree view/... will have a larger/smaller font size.
The value is stored inside the recent file.
d.) Win32 only: Try to get the win32 system font and fontsize at program startup and show the menus/dialogs and such with the same font and fontsize like other win32 windows.
This makes the program make a *lot* more feel like a normal win32 program.
svn path=/trunk/; revision=9753
|
|
to note that the 3.0 and later versions of WinPcap don't support PPP/WAN
captures even on Windows OT.
svn path=/trunk/; revision=9709
|