Commit graph

11369 commits

Author SHA1 Message Date
Gerald Combs
2b53a88bf8 From Dinesh Dutt:
- conversation.[ch] - To support not setting port2 on matching a
      conversation. This is used by protocols such as iSNS in which the client
      registers a TCP/UDP port with the server for notifications and the server
      sends notifications to this port from different source ports.
    - packet-isns.c - Added support for handling zero-length TLVs and ESI & SCN
      frames (when registering an SCN/ESI port, a conversation dissector is
      setup).

svn path=/trunk/; revision=11320
2004-07-06 19:01:32 +00:00
Gerald Combs
44f812de8e Prep for the 0.10.5 release.
svn path=/trunk/; revision=11319
2004-07-06 16:29:18 +00:00
Ulf Lamping
97c4ef6cfb bugfix: don't try to print data, if tvb is too short
svn path=/trunk/; revision=11318
2004-07-05 16:42:19 +00:00
Guy Harris
a3e07cdd79 From Yaniv Kaul:
Don't try to dissect the MD5 authentication data as a route
	entry (RTE).  It's not.  I made sure it's also the last entry in
	the packet and it gets dissected only if MD5 authentication is
	used.

	Some implementation use the Auth. Data Length field value as
	the WHOLE Authentication data length (0xFFFF (2 bytes) + 0x0001
	(2 bytes) + 16 bytes of auth.  data = 20) while others only as
	the auth. data length ( = 16).  Since MD5's auth data is 16
	bytes anyway, I've hard coded it in the code (in #define), and
	not relied on auth_data_len.  I've tested it on implementations
	using either way and it seems to work fine.

svn path=/trunk/; revision=11317
2004-07-05 10:15:30 +00:00
Guy Harris
b373ded136 From Jouni Malinen: add columns for the 802.11 data rate and signal
strength for AVS headers.

Also add them for the Prism and Radiotap headers, and for the
pseudo-header from non-native captures.

svn path=/trunk/; revision=11316
2004-07-05 09:29:06 +00:00
Ulf Lamping
074c978ab5 from Gisle Vanem: if WIN32_LEAN_AND_MEAN is defined,
include shellapi.h too

svn path=/trunk/; revision=11315
2004-07-05 05:40:51 +00:00
Ulf Lamping
8312578ffd beautify the splash screen a bit (increased border)
svn path=/trunk/; revision=11314
2004-07-05 05:32:04 +00:00
Guy Harris
4349706b7e Declare "about_ethereal()" as "void", as it returns no value, and as GCC
warns that it's implicitly declared as "int" if you don't declare its
return type.

svn path=/trunk/; revision=11313
2004-07-04 20:49:38 +00:00
Michael Tüxen
fb34bc1386 Add support for ENRP according to
draft-ietf-rserpool-common-param-06.txt
  draft-ietf-rserpool-enrp-08.txt

svn path=/trunk/; revision=11312
2004-07-04 20:46:05 +00:00
Michael Tüxen
ef36256855 fix a typo in the help text.
svn path=/trunk/; revision=11311
2004-07-04 17:36:53 +00:00
Ulf Lamping
176646edbf added a splash screen while Ethereal is started
svn path=/trunk/; revision=11310
2004-07-04 12:15:41 +00:00
Guy Harris
466eaf20f0 From Jouni Malinen: EAP-MD5, EAP-SIM, EAP-PEAP, and EAP-MSCHAPv2
support.

svn path=/trunk/; revision=11309
2004-07-04 10:26:01 +00:00
Guy Harris
f4e9c4f31a From Martin van der Werff: add some additional white space in the Info
column.

svn path=/trunk/; revision=11308
2004-07-04 03:48:05 +00:00
Guy Harris
d40da1b7df From Jouni Malinen: add alternative parsing for WEP IV field when the
Extended IV bit is set.

svn path=/trunk/; revision=11307
2004-07-04 03:46:01 +00:00
Guy Harris
003ecf68bb Instead of using pointer casts in the slab allocator stuff, add a
"SLAB_ITEM_TYPE_DEFINE()" macro to define a union of the type of object
for the slab and a pointer to an object of that union type, and use that
type for items on the slab allocator free lists; that *should* avoid
having the compiler think two pointers to an item being added to or
removed from the free list don't point to the same object just because
they have different types.

svn path=/trunk/; revision=11306
2004-07-04 02:29:43 +00:00
Guy Harris
456c6cab66 Make the "SLAB_ALLOC()" and "SLAB_FREE()" macros take the type of the
object being allocated, rather than the name of the free list, as an
argument (with the name of the free list constructed from the name of
the type), and add macros to define and declare the free list, also
taking the type of the object being allocated.

svn path=/trunk/; revision=11305
2004-07-04 00:28:11 +00:00
Michael Tüxen
cb00a0a3cd Update to current setup.
svn path=/trunk/; revision=11304
2004-07-03 21:50:05 +00:00
Michael Tüxen
73a49d2e8a Update to reflect that the gtk+2 stuff is enabled by default now.
svn path=/trunk/; revision=11303
2004-07-03 21:46:59 +00:00
Michael Tüxen
b9981c3e25 Update to support latest ID versions:
draft-ietf-rserpool-common-param-06.txt
  draft-ietf-rserpool-asap-09.txt

svn path=/trunk/; revision=11302
2004-07-03 21:37:15 +00:00
Michael Tüxen
146659be8d Suppress warning in case of gtk-config is not installed.
svn path=/trunk/; revision=11301
2004-07-03 21:35:30 +00:00
Michael Tüxen
2648c77e57 Fixed a bug reported by Martin van der Werff.
svn path=/trunk/; revision=11300
2004-07-03 12:58:41 +00:00
Guy Harris
6123a85133 From Jouli Malinen: add parsing of PMKID for IEEE 802.11i (both in RSN
IE and in Key Data field of msg 1 of 4-Way Handshake).

svn path=/trunk/; revision=11299
2004-07-02 09:12:21 +00:00
Guy Harris
8509aa9e9e From Carles Kishimoto: fix some bugs.
svn path=/trunk/; revision=11298
2004-07-02 08:38:36 +00:00
Guy Harris
f9c56ec525 From Martin van der Werff: don't do "tvb_ensure_length_remaining()" to
create the parameter tvbuff, as that requires that there's at least one
byte of parameter data, and some messages have no parameters and would
cause an exception to be thrown in that case.

Just use -1 for the length parameters when creating the parameter
tvbuff, so that it includes the full reported length.

Don't put undissected parameter information into the protocol tree if
there aren't any parameters - and don't bother getting the number of
bytes of parameter information unless we're putting undissected
parameter information into the protocol tree and need it to see whether
there are any parameters.

svn path=/trunk/; revision=11297
2004-07-02 08:27:24 +00:00
Jörg Mayer
227ba2f04b Trivial warning fixes: () -> (void) and comma at end of enum
svn path=/trunk/; revision=11296
2004-07-01 09:35:33 +00:00
Guy Harris
56969d652b Update the URL of FRF 3.2.
Note that it's been claimed that an address field whose first byte has
the low-order bit not zero indicates Frame Relay fragmentation, FRF.12,
and that we should perhaps handle that.

svn path=/trunk/; revision=11295
2004-07-01 08:35:49 +00:00
Jörg Mayer
3fb5fcd13a Doxygen added
svn path=/trunk/; revision=11294
2004-07-01 08:07:07 +00:00
Jörg Mayer
65598a0e7f Doxygen filenames changed
svn path=/trunk/; revision=11293
2004-07-01 08:04:47 +00:00
Guy Harris
a199bf1454 From Ruud Linders: heuristic RTP dissector.
svn path=/trunk/; revision=11292
2004-07-01 06:59:38 +00:00
Guy Harris
90bde6fc1f Add a URL for the giFT project.
svn path=/trunk/; revision=11291
2004-07-01 06:30:29 +00:00
Guy Harris
504354fd2d From Jon Oberheide: giFT support.
svn path=/trunk/; revision=11290
2004-07-01 06:28:27 +00:00
Anders Broman
409da7b560 From Martin Mathieson - show setupframe in RTP and RTCP
svn path=/trunk/; revision=11289
2004-06-30 21:27:54 +00:00
Anders Broman
c33e85ae63 From Martin Mathieson: Show number of detected streams in RTP Analysis window
svn path=/trunk/; revision=11288
2004-06-30 21:17:55 +00:00
Anders Broman
0d1c590fa0 From Martin Mathieson: Fix it so "setup frame" is shown even if no filter applied at loading of capture.
svn path=/trunk/; revision=11287
2004-06-30 21:08:58 +00:00
Ulf Lamping
3c4e72e590 remove MSVC warning, as result of arithmetic expression is of type unsigned int,
but function expects guint8

svn path=/trunk/; revision=11286
2004-06-30 18:47:27 +00:00
Ulf Lamping
c6029c079a code cleanup
svn path=/trunk/; revision=11285
2004-06-30 18:24:56 +00:00
Guy Harris
bafd976873 Include "crc16.h" to handle "crc16_ccitt_tvb()".
svn path=/trunk/; revision=11284
2004-06-30 17:57:53 +00:00
Ulf Lamping
e26fa0cbbb bugfix to a bug reported by dave.nicoson@thomson.net:
if reopening the capture options dialog, use the same values as before and
don't mess them caused by the units used.

svn path=/trunk/; revision=11283
2004-06-30 17:53:52 +00:00
Michael Tüxen
42279a7088 get rid of data_handle decalriation, bacause it is
defined external in irda-appl.h which is included.

svn path=/trunk/; revision=11282
2004-06-30 15:42:24 +00:00
Guy Harris
6fda42b60c Add packet-sir.lo.
svn path=/trunk/; revision=11281
2004-06-30 08:23:24 +00:00
Guy Harris
6feb4e2751 Add "crc16_ccitt_tvb()" to the plugin API and the list of functions
exported from libethereal.dll.

svn path=/trunk/; revision=11280
2004-06-30 08:22:56 +00:00
Guy Harris
a9e9366b00 From Shaun Jackman: Serial Infrared support.
svn path=/trunk/; revision=11279
2004-06-30 07:34:53 +00:00
Guy Harris
9cff51ea78 Include <unistd.h>, if available, to declare "close()".
svn path=/trunk/; revision=11278
2004-06-30 07:12:25 +00:00
Guy Harris
99cec606fa Initialize "out_filename" to NULL, so it's set to NULL if it's not set
by a "-w" flag.

svn path=/trunk/; revision=11277
2004-06-30 07:04:42 +00:00
Guy Harris
272a2055ab On at least some platforms, a #define of O_BINARY is needed even if
<fcntl.h> is included, as <fcntl.h> doesn't define it.

svn path=/trunk/; revision=11276
2004-06-30 06:58:59 +00:00
Ulf Lamping
24527148ab close temporary merge output file, if merging failed
svn path=/trunk/; revision=11275
2004-06-30 05:49:30 +00:00
Ulf Lamping
14ef5684fa GTK2: convert character encoding from locale to UTF8
before displaying message

svn path=/trunk/; revision=11274
2004-06-29 22:21:04 +00:00
Ulf Lamping
19c7f04794 avoid using tmpnam() for security reasons.
instead of giving the merge stuff a filename,
give it an already opened file descriptor

svn path=/trunk/; revision=11273
2004-06-29 20:59:24 +00:00
Ulf Lamping
a24b176c32 define of O_BINARY not needed, if fcntl.h is included
other #include related cleanups

svn path=/trunk/; revision=11272
2004-06-29 20:51:26 +00:00
Anders Broman
a08161a110 Fixed a bug in instruction COMPARE dissection, added output of bytecode for all types
of operands, changed most values to be output as decimal.
Many thanks to Martin Regner for valuable ideas, reviewing the output and assisting in debuging the code.

svn path=/trunk/; revision=11271
2004-06-29 20:40:12 +00:00