Commit Graph

10048 Commits

Author SHA1 Message Date
Ulf Lamping 3b688a8aaf avoid problems when strings becoming too large,
especially true when working with TCP stream filtering

svn path=/trunk/; revision=9945
2004-02-01 13:12:10 +00:00
Olivier Biot 0f6fb86143 Speed up the generation of the CVS version tag, by only looking for directories
named CVS, and by considering only the most recent Entries file herein.

Get rid of the code assuming that a CVS snapshot generates a "cvsversion" file.

svn path=/trunk/; revision=9944
2004-02-01 11:32:23 +00:00
Jörg Mayer 83b121f500 Saved wrong version
svn path=/trunk/; revision=9943
2004-02-01 10:31:17 +00:00
Jörg Mayer bcd907a23d The last commit was only half complete
svn path=/trunk/; revision=9942
2004-02-01 10:11:51 +00:00
Jörg Mayer 591edcfd03 Move sourcelists into Makefile.common
svn path=/trunk/; revision=9941
2004-02-01 10:07:20 +00:00
Ulf Lamping db13141aab DND: also unescape URI characters (e.g. %20 -> ' ')
svn path=/trunk/; revision=9940
2004-02-01 10:01:19 +00:00
Jörg Mayer ce1356b88c Undo previous checkin, it only contained acidentally escaped unfinished code
svn path=/trunk/; revision=9939
2004-02-01 06:56:52 +00:00
Jörg Mayer 38faa0f27b packet-dcerpc-afs4int.c
svn path=/trunk/; revision=9938
2004-02-01 06:49:25 +00:00
Jörg Mayer d62f6c67da Add consts to fix 'cast discards qualifiers from pointer target type'
svn path=/trunk/; revision=9937
2004-02-01 04:54:48 +00:00
Gerald Combs 0ca3ad93b8 Add the new dialog images to the distribution.
svn path=/trunk/; revision=9936
2004-02-01 04:34:53 +00:00
Jörg Mayer 661b6ceb7d Add consts to avoid 'cast discards qualifiers from pointer target type'
svn path=/trunk/; revision=9935
2004-02-01 04:29:07 +00:00
Jörg Mayer 0f97dff9de Remove comma after last element of enum
svn path=/trunk/; revision=9934
2004-02-01 04:20:10 +00:00
Guy Harris 4dc66956d2 Arrange that the shortcuts for Ethereal start Ethereal in the user's
profile directory, so that the file dialogs start there rather than in
the directory in which the MIB files appear.

svn path=/trunk/; revision=9933
2004-02-01 03:35:05 +00:00
Guy Harris e1e17ea8b2 Konqueror, in KDE 3.0, appears to drop file names of the form
"file:/foo/bar/...", so that only the "file:" should be stripped off.

Note that we should probably look for "file:" followed by an arbitrary
number of "/"s, and, at least on UNIX, strip off all but the last of
those "/"s.

svn path=/trunk/; revision=9932
2004-02-01 02:59:20 +00:00
Jörg Mayer 4023150e25 signed/unsigend warning fixes
svn path=/trunk/; revision=9931
2004-02-01 02:35:30 +00:00
Jörg Mayer d9b6e98297 Fix some pointer types
svn path=/trunk/; revision=9930
2004-02-01 02:35:06 +00:00
Jörg Mayer 745c25cff5 Update manuf to Feb, 1st 2004
svn path=/trunk/; revision=9929
2004-02-01 02:26:30 +00:00
Jörg Mayer 1bc896c10e Update FAQ to Jan 27th 2004
svn path=/trunk/; revision=9928
2004-02-01 02:10:34 +00:00
Ulf Lamping d3bd405201 change layout, as dialog was a bit tall,
improved resizability

svn path=/trunk/; revision=9927
2004-01-31 20:31:20 +00:00
Ulf Lamping 5b38a022e4 Implemented rudimentary Drag and Drop support.
svn path=/trunk/; revision=9926
2004-01-31 18:32:37 +00:00
Ulf Lamping 3c763c4fb6 fixed some sensitivity things in the context menues
svn path=/trunk/; revision=9925
2004-01-31 14:23:53 +00:00
Ulf Lamping 124d4e8c90 minor change in dialog text
svn path=/trunk/; revision=9924
2004-01-31 14:16:43 +00:00
Ulf Lamping acd562ac91 gtk_label_set_selectable() is only available from GTK version 2
svn path=/trunk/; revision=9923
2004-01-31 12:49:54 +00:00
Ulf Lamping 893624498e use identical depencies for gtk1 also for gtk2 target
svn path=/trunk/; revision=9922
2004-01-31 12:19:58 +00:00
Ulf Lamping d244cd82f5 cleanup of new "question dialogs",
using GTK2 primary/secondary message text from GNOME HIG for simple_dialogs,
added a "question dialog" for the coloring rules "Clear" button

svn path=/trunk/; revision=9921
2004-01-31 12:13:23 +00:00
Guy Harris d4857dc706 Add to the _rtp_info structure a "info_all_data_present" boolean, which
is TRUE if all the RTP raw data is present in the tvbuff and FALSE
otherwise.  If it's not all present, also set "info_data_len" to 0 and
"info_data" to NULL.

In the RTP Analysis "Save Payload..." operation, check the
"info_all_data_present" flag and fail if it's not set, and use
"rtpinfo->info_data" and "rtpinfo->info_payload_offset" to get at the
payload, rather than using "cfile.pd", as the latter doesn't necessarily
refer to the current frame data.

Note that the RTP Streams save operation should also check the
"info_all_data_present" flag.

svn path=/trunk/; revision=9920
2004-01-31 09:48:26 +00:00
Guy Harris c979950fc6 From Sam Leffler: support for BSD radiotap header for 802.11.
svn path=/trunk/; revision=9919
2004-01-31 04:40:09 +00:00
Guy Harris c3d41534ff If comparing any field other than the frame number, if both field values
are the same, compare the frame number, so that the sort order doesn't
depend on how packets happened to be sorted previously (i.e., so that if
you sort on a given column in a given direction, the sort order is
always the same).

svn path=/trunk/; revision=9918
2004-01-31 04:26:23 +00:00
Guy Harris f914e6e9e7 Fix the spelling of "cumulative" (and variables whose names derive from
that spelling).

svn path=/trunk/; revision=9917
2004-01-31 04:10:05 +00:00
Guy Harris a4464a6788 Raise the Wiretap version number to 0.1, as the current version isn't
binary-compatible with earlier versions.  (That should have been done
for all binary-incompatible changes, and should be done for
binary-incompatible changes in the future.)

svn path=/trunk/; revision=9916
2004-01-31 03:35:25 +00:00
Guy Harris 1980fa5dbf Pass ESD_BTN_OK rather than NULL as a second argument to
"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
2004-01-31 03:22:42 +00:00
Guy Harris 61e26a56ba Add some more information to the error message for invalid capture
filters that look like display filters.

svn path=/trunk/; revision=9914
2004-01-31 02:29:19 +00:00
Ulf Lamping 25edd1c53e renamed ESD_TYPE_CRIT to ESD_TYPE_ERROR to
better reflect the real error text

svn path=/trunk/; revision=9913
2004-01-31 02:25:46 +00:00
Guy Harris d90d26ece2 If "pcap_compile()" fails to compile an empty filter string (because,
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
2004-01-31 01:32:51 +00:00
Ulf Lamping 70fa1b55ff using GTK2 stock icons for dialogs instead of Ethereal specific ones
svn path=/trunk/; revision=9911
2004-01-31 01:28:11 +00:00
Ronnie Sahlberg e72747325c update to ndmp if there is an error, put the error string in the packet summary
svn path=/trunk/; revision=9910
2004-01-30 10:51:07 +00:00
Ulf Lamping d3316d2834 slightly higher polling rate, to detect stop condition from capture task
svn path=/trunk/; revision=9909
2004-01-30 06:43:16 +00:00
Ulf Lamping 3c76ec1aa2 every GUI action, which will erease a currently unsaved capture file,
will now raise a dialog "Save xy before z?" with Yes/No/Cancel buttons.

svn path=/trunk/; revision=9908
2004-01-29 23:11:38 +00:00
Ulf Lamping 419837e531 added "Yes" and "No" buttons to the simple_dialog,
added a callback method, to be called if a button was pressed

svn path=/trunk/; revision=9907
2004-01-29 23:07:17 +00:00
Ulf Lamping e66b849e23 added GTK_STOCK_YES and GTK_STOCK_NO to the dlg_button_row
svn path=/trunk/; revision=9906
2004-01-29 22:37:45 +00:00
Olivier Biot cdc1804bfe From Chris Wilson:
- Do not reassemble if the fragmentation IE is available but there is
   only one fragment reported.
 - Add a preference to disallow sub-dissectors to update the columns.

Also: fix white-space at 2 places (tabs to spaces).

svn path=/trunk/; revision=9905
2004-01-29 21:19:10 +00:00
Guy Harris cf131d9e16 The DLT_ value 127 is being used for the BSD radio header, and the
current CVS libpcap uses 163 for the AVS radio header (127 was never
used for the AVS radio header).  Redo the Wiretap encapsulation values
for that (and shuffle them to put the 802.11 Wiretap values together).

svn path=/trunk/; revision=9904
2004-01-29 10:58:28 +00:00
Guy Harris ff641180dd From Shusaku Ueda:
- show all Home Agent Addresses of DHAAD Reply
	- show ICMP options of Mobile Prefix Advertisement

svn path=/trunk/; revision=9903
2004-01-29 03:59:04 +00:00
Guy Harris 073a422f61 From Shinsuke Suzuki: add the payload type code for IPv6.
svn path=/trunk/; revision=9902
2004-01-29 03:51:25 +00:00
Guy Harris b024612ad9 From Shinsuke Suzuki:
- updated the IETF spec names
	- changed Prefix-Delegation related DHCPv6 option
	  numbers from temporary one to the official one
	- fixed typo in DHCPv6 message type

svn path=/trunk/; revision=9901
2004-01-29 03:46:36 +00:00
Guy Harris 073a8b42ca Clean up whitespace, and use "%u" to print unsigned quantities.
svn path=/trunk/; revision=9900
2004-01-29 03:37:31 +00:00
Ulf Lamping ba33382482 commented out setting the packet_info srcport and destport fields,
as this will prevent "ISO on TCP" (RFC1006) packet from using:
"follow TCP stream" function

svn path=/trunk/; revision=9899
2004-01-28 22:14:19 +00:00
Guy Harris 7d2d5048ec If we don't have any of the packet padding in the tvbuff, don't even try
to add the trailer - that avoids the problem with throwing an exception
inside a CATCH* clause for that same exception.  (XXX - is this a
problem with our exception mechanism? What happens in languages with
built-in exceptions if a

	try
		XXX
	catch YYY
		ZZZ
	end

construct throws exception YYY inside code block ZZZ?  If it doesn't
re-enter ZZZ, that argues that our exception mechanism is buggy or, at
least, violates the Principle of Least Surprise.)

Move the code to put the trailer information into the protocol tree out
of the CATCH2 clause, so the trailer shows up if we *do* have the
trailer information.

svn path=/trunk/; revision=9898
2004-01-28 20:09:44 +00:00
Guy Harris d2e4e9ecc9 Fix a comment.
svn path=/trunk/; revision=9897
2004-01-28 10:37:14 +00:00
Guy Harris a92d9edf0f Clean up the comparison code a bit.
svn path=/trunk/; revision=9896
2004-01-28 10:19:36 +00:00