Commit Graph

8557 Commits

Author SHA1 Message Date
Guy Harris dca567002e From Lo�c Minier: information on how to do reassembly of PDUs atop TCP.
svn path=/trunk/; revision=8651
2003-10-09 21:18:41 +00:00
Guy Harris 33d2ce9a74 Prefix OPTIONAL and NOT_OPTIONAL with ASN1_, to avoid collisions with
other definitions of OPTIONAL (such as the one in Windows).

svn path=/trunk/; revision=8650
2003-10-09 20:52:57 +00:00
Guy Harris 23f4abb9f9 Add an item about prefixing #define names and enum names with a prefix
to avoid name collisions.

svn path=/trunk/; revision=8649
2003-10-09 18:57:37 +00:00
Guy Harris 98b0611239 From Biot Olivier:
Rename WSP defines to avoid collisions with Windows defines.

	Rename WSP dissector table for integer-value content types.

	Add WSP dissector table for literal content types.

	Add WSP dissection registration for literal content types.

	Register literal and extra WBXML content types to WSP dissector.

	Register textual MMS content type to WSP dissector.

svn path=/trunk/; revision=8648
2003-10-09 18:54:06 +00:00
Ronnie Sahlberg e140f2858c Change dissect_deferred_pointer()
from being Ordo(n^2) into being Ordo(n)

Makes it slightly faster when n (the number of pointers) is >10.000

The mother of all dcerpc packets (containing one array of >10.000 pointers)
was a bit slow.

It is still slow but at least completes in out lifetime.

svn path=/trunk/; revision=8647
2003-10-08 12:29:52 +00:00
Jörg Mayer fe0ee6ad14 use g_htonl instead of htonl
svn path=/trunk/; revision=8646
2003-10-08 11:33:19 +00:00
Guy Harris 41440d30e5 0x81fd and 0x81ff appear to be for the Cabletron Interswitch Message
Protocol, although the packets I've seen with 0x81fd don't look like the
ISMP packets described in RFC 2641/2642/2643.

svn path=/trunk/; revision=8645
2003-10-08 06:44:15 +00:00
Guy Harris 4d8d3073fc Dissect NAT-Discovery and NAT-Original Address payloads, and just use
the version-independent part of the draft ID for "Negotiation of
NAT-Traversal in the IKE" rather than giving a URL for the draft (the
URL in question was out-of-date, and a future one runs the risk of
becoming out of date, given that the -07 draft expired a few days
ago...).

svn path=/trunk/; revision=8644
2003-10-08 05:36:19 +00:00
Guy Harris 96886bd8a0 Get rid of an out-of-date comment.
svn path=/trunk/; revision=8643
2003-10-07 21:15:00 +00:00
Olivier Abad 7144508132 Put the "X.264 protocol identifier" and "X.264 sharing strategy" fields
in the "User data" subtree.

svn path=/trunk/; revision=8642
2003-10-07 18:19:59 +00:00
Guy Harris b93c394c98 From Anders Broman:
change some variable names to conform to abbreviations used in
	the specs;

	added+dissection of some more BAT ASE elements;

	fixed some minor bugs.

svn path=/trunk/; revision=8641
2003-10-07 17:43:52 +00:00
Guy Harris 73d12ae94f From Taisuke Sasaki: put in missing {} in an "if".
svn path=/trunk/; revision=8640
2003-10-07 17:36:37 +00:00
Guy Harris e779676e07 Include "gtk/color_dlg.h" to declare "color_display_with_filter()", and
include "color.h" to declare "color_filter_t", which "gtk/color_dlg.h"
requires.

svn path=/trunk/; revision=8639
2003-10-07 17:29:45 +00:00
Guy Harris fdec490df8 From Hans Viens: add an H.221 manufacturer code for Mediatrix, and tweak
white space.

svn path=/trunk/; revision=8638
2003-10-07 17:21:04 +00:00
Ronnie Sahlberg 0897a7cfbb Update to endpoint talkers,
endpoint talkers now have an extra submenu on the popup where one can select :
Colorize Conversation.
This opens up the create color filter dialog with the filter preset to the
selected conversation.

svn path=/trunk/; revision=8637
2003-10-07 10:07:47 +00:00
Ronnie Sahlberg fcee96aa69 Forgot to update a prototype in previous patch
svn path=/trunk/; revision=8636
2003-10-07 09:50:41 +00:00
Ronnie Sahlberg d6a720dd17 Add Find Next/Find Previous submenu to conversation lists.
By using Find Next/Previous you will jump to the next/previous matching packet in the ethereal main window.

I could not get CTRL-N / CTRL-B to work and was too lazy to research.
It would be nice if CTRL-N / CTRL-P would invoke the same thing as selecting
/Find Frame/Find Next/EP1 <-> EP2
or
/Find Frame/Find Previous/EP1 <-> EP2
from the menu.
I could not figure out how to get gtk to do this.
The person that adds CTRL-N/CTRL-B here will be a hero.

svn path=/trunk/; revision=8635
2003-10-07 09:30:34 +00:00
Guy Harris cace3b6df9 Make the window geometry information static - it's not used outside this
file.

Fetch the geometry information whenever we get a configure_notify event,
i.e. if it actually changes, rather than doing so when we get asked to
delete the main window or we exit.  Don't save the geometry if we've
never gotten such an event, as it presumably means the size and position
haven't changed.

svn path=/trunk/; revision=8634
2003-10-07 04:36:36 +00:00
Guy Harris 28c9c2f46d From Giles Scott: put the IP address and port number in PORT requests
and PASV responses into the protocol tree, and, for PASV responses,
create a conversation for the future FTP data conversation and make the
FTP data dissector be the dissector for it.

svn path=/trunk/; revision=8633
2003-10-07 03:35:42 +00:00
Guy Harris 546484336d From Gisle Vanem: if WIN32_LEAN_AND_MEAN is defined, <windows.h> doesn't
include <commdlg.h>, but "print_mswin.c" needs it, so include it
explicitly.

svn path=/trunk/; revision=8632
2003-10-07 03:09:50 +00:00
Guy Harris 3a0d0dcbc1 Rename "max_tick_values" to "tick_interval_values", to make it clearer
what it is.

svn path=/trunk/; revision=8631
2003-10-06 22:13:36 +00:00
Guy Harris 1d27a3d370 Make the "needs_redraw" flag a gboolean, as it's a Boolean flag.
Rename "max_count_types and "max_calc_types" to "count_type_names" and
"calc_type_names", to make it clearer what they are.

For the advanced statistics, give different error messages for the case
where no field name was specified and where an invalid field name was
specified.

Give better error messages for the cases where the calculation type
isn't supported for a particular field.

Initialize the calculation type for a given field.

svn path=/trunk/; revision=8630
2003-10-06 22:10:42 +00:00
Guy Harris af5b47a0c2 When registering a field, make sure its ID is -1 or 0 - if it's not,
that probably means you've registered two fields with the same field ID
variable, which is an error.

Fix the bugs doing so found.

svn path=/trunk/; revision=8629
2003-10-06 20:46:52 +00:00
Guy Harris 7183be72b2 From Michael Lum:
IS-637-A (SMS) support
	IS-683-A (OTA) support
	ANSI MAP updates

Fix a typo in the previous checkin.

svn path=/trunk/; revision=8628
2003-10-06 19:25:21 +00:00
Guy Harris b7183b32b9 Add One More Item to the list of things not all compilers can handle.
svn path=/trunk/; revision=8627
2003-10-06 19:11:41 +00:00
Jörg Mayer 7a593c3d3c check in the following comment:
/* XXX This code is neither Endianess independent, nor will it work
     * on platforms that do not support the *optional* guin64 type
     */

svn path=/trunk/; revision=8626
2003-10-06 15:41:53 +00:00
Jörg Mayer f7e5d494a2 Replace the forward declaration of msg_parm_strings by moving the real
declaration from the middle of the file to the place of the forward
declaration. This should make MSVC happy.

Spotted and proposed fix by Ulf Lamping.

svn path=/trunk/; revision=8625
2003-10-06 14:48:00 +00:00
Guy Harris 1de3e07891 From Michael Lum: ALCAP (Q.2630.1) support.
svn path=/trunk/; revision=8624
2003-10-06 09:18:07 +00:00
Guy Harris 6f69928703 From Lars Roland: not all compilers like static const arrays with
unknown size, so don't use them.

svn path=/trunk/; revision=8623
2003-10-06 09:08:06 +00:00
Guy Harris 489f13fcf7 (Based on a patch from Lars Roland.)
Use "gtk_dialog_new()" to create the window - that doesn't create a
"dialog box" in the sense of a transient-for window, but it does create
a window with a button vbox that the code expects to be present.

svn path=/trunk/; revision=8622
2003-10-06 08:58:00 +00:00
Guy Harris e53d7ed5ed From packet steve: get rid of some duplicate field definitions (some
aren't exactly duplicates, but they both set the same hf_ variable).

svn path=/trunk/; revision=8621
2003-10-06 08:35:30 +00:00
Guy Harris 16d0331e43 Fix the handling of padding bytes.
svn path=/trunk/; revision=8620
2003-10-06 08:10:32 +00:00
Guy Harris e9490132bb Update a URL.
svn path=/trunk/; revision=8619
2003-10-06 07:26:10 +00:00
Jörg Mayer e5a9846c56 Fix 4 warnings in case of strict-aliasing by declaring timestamp as time_t
instead of int.

svn path=/trunk/; revision=8618
2003-10-06 02:01:47 +00:00
Jörg Mayer 803dc3a339 Another strict-aliasing warning fix - I hope I got this right :)
svn path=/trunk/; revision=8617
2003-10-05 23:27:24 +00:00
Jörg Mayer 5f6ae451e5 variable.type is of type u_char, so use 0 instead of NULL
svn path=/trunk/; revision=8616
2003-10-05 23:09:59 +00:00
Jörg Mayer 5d089f9ea9 Fix 3 strict-aliasing warnings:
Use TFS(&var) instead of VALS(&var) in case var is a true-false-string

svn path=/trunk/; revision=8615
2003-10-05 22:44:24 +00:00
Jörg Mayer e9d78990ce Get rid of another strict-aliasing warning:
verify_tfs is a true-false-string : dereference it accordingly

svn path=/trunk/; revision=8614
2003-10-05 22:38:09 +00:00
Jörg Mayer a4e0c4855a Fix warning about strict-aliasing
svn path=/trunk/; revision=8613
2003-10-05 21:57:36 +00:00
Richard Sharpe 6ab786f254 Further updates on mkcap.c
svn path=/trunk/; revision=8612
2003-10-05 14:58:11 +00:00
Richard Sharpe db59657f56 Add mkcap.c, a little utility to generate reasonable looking TCP capture
files for pedagogic use.

svn path=/trunk/; revision=8611
2003-10-05 05:04:32 +00:00
Guy Harris 26d64e0587 If a payload type doesn't have a dissector function, don't crash by calling
through the null dissector pointer, just dissect it as "Payload".

svn path=/trunk/; revision=8610
2003-10-04 16:44:34 +00:00
Ronnie Sahlberg 3ef7004826 Fix to IO-Stat.
IO-Stat failed to produce Advanced/COUNT(*) statistics for fields of type FT_NONE.
Fixed.

Now it is possible to do :
Advanced/COUNT(*)  Filter:tcp.analysis.retransmission  Field:tcp.analysis.retransmission
Advanced/COUNT(*)  Filter:tcp.analysis.duplicate_ack  Field:tcp.analysis.duplicate_ack

And it will plot the number of Retransmissions and Duplicate ACKs seen in each time interval.

svn path=/trunk/; revision=8609
2003-10-04 03:10:18 +00:00
Guy Harris 75872d85d3 From Michael Lum:
support for Global RNC ID;

	fixed some typos

	added push of 'NAS PDU' so that a GSM 24.008 (DTAP) dissector
	can be added.

svn path=/trunk/; revision=8608
2003-10-03 23:31:05 +00:00
Guy Harris 8b34a7f4ba From Steve Limkemann:
Added two new "well known destinations": SD_IOPWR AND SD_UTIL.

    Added logic to dissect the CMD_SET_TIME command.

    Added an alterate destination for the CMD_PGM_START command.

    Added logic to dissect the CMD_SCHED_MSG_REPLACE command.

    Added logic to dissect the CMD_USDT_REGISTER command.

    Added logic to dissect the CMD_USDT_SET_FUNCTIONAL command.

    Added logic to dissect the following commands
       CMD_IOPWR_GETINP
       CMD_IOPWR_GETLATCH
       CMD_IOPWR_CLRLATCH
       CMD_IOPWR_GETOUT
       CMD_IOPWR_SETOUT
       CMD_IOPWR_SETBIT
       CMD_IOPWR_CLRBIT
       CMD_IOPWR_GETPOWER
       CMD_UTIL_SET_INIT_STRATEGY
       CMD_UTIL_GET_INIT_STRATEGY

    Added the ability to recongnize more IOCTLS.  (For the SJA1000 driver, LIN
        and power drivers.)

    Added the ability to recognize more card types.

    Added dissection of more fields for CMD_SCHED_TX command.

    Bug fixes and general updating.

svn path=/trunk/; revision=8607
2003-10-03 23:22:12 +00:00
Guy Harris 65ff0561a2 From Michael Lum: ANSI MAP support.
svn path=/trunk/; revision=8606
2003-10-03 23:10:00 +00:00
Guy Harris 1904d3498f Include "mkstemp.h" only if we're including our own "mkstemp()".
svn path=/trunk/; revision=8605
2003-10-03 22:38:56 +00:00
Jörg Mayer e2fe785941 Graham Bloice: Add missing #include mkstemp.h
svn path=/trunk/; revision=8604
2003-10-03 21:19:10 +00:00
Jörg Mayer 391152faa5 Use #ifndef HAVE_UNISTD_H instead of #ifdef _WIN32
svn path=/trunk/; revision=8603
2003-10-03 21:12:49 +00:00
Guy Harris 6f1da2e1b2 From Graham Bloice: define YY_NO_UNISTD_H on Win32, so that if Flex was
a UNIX version generating code that, by default, assumes you have
<unistd.h> (as might be the case with recent versions of Cygwin, which I
assume *does* supply <unistd.h>), but you're building on a platform that
lacks <unistd.h> (e.g., building with MSVC++ or MinGW), you can still
compile.

svn path=/trunk/; revision=8602
2003-10-03 21:03:00 +00:00