Commit Graph

8374 Commits

Author SHA1 Message Date
Ronnie Sahlberg 7789678033 step one in endpoint talkers cleanup
svn path=/trunk/; revision=8317
2003-08-30 00:47:43 +00:00
Guy Harris 9e7a9fb037 Give the name of the I-D for LWAPP.
svn path=/trunk/; revision=8316
2003-08-29 22:57:55 +00:00
Guy Harris a42fd8fa50 From David Frascone: LWAPP support.
svn path=/trunk/; revision=8315
2003-08-29 22:27:14 +00:00
Guy Harris c8ea407526 Set "addr" before using it, regardless of whether "ip_summary_in_tree"
is set or not.  Copy the destination address, not the source address,
when processing the destination address.

svn path=/trunk/; revision=8314
2003-08-29 22:15:19 +00:00
Guy Harris ebd1b7a744 From Matthijs Melchior: In "asn1_string_value_decode()", put in a
trailing '\0', to simplify use of the resulting data as a C string.

svn path=/trunk/; revision=8313
2003-08-29 19:13:28 +00:00
Ronnie Sahlberg 2475b0ed97 If something is a KeepAlive it is just a keepalive and not also a dup ack
svn path=/trunk/; revision=8312
2003-08-29 11:40:24 +00:00
Ronnie Sahlberg 431a30d061 If the FIN flag is set it is NOT a keepalive
fix small typo

svn path=/trunk/; revision=8311
2003-08-29 11:15:13 +00:00
Ronnie Sahlberg 4135309cbd Add endpoint talkers support for FDDI to ethereal and tethereal
Welcome FDDI into the endpoint talkers family.

Nobody gets left behind!

svn path=/trunk/; revision=8310
2003-08-29 10:59:12 +00:00
Ronnie Sahlberg 19a99f8a34 Make the hex to string conversion code in find_dlg.c handle ':' characters
such as you might find when doing "prepare" on a FT_BYTES field.

So one need not delete the ':' characters manually

svn path=/trunk/; revision=8309
2003-08-29 09:32:16 +00:00
Guy Harris 56664b9b77 Make the CList of character sets non-editable, so you only get to choose
from what we offer.  (XXX - should it be an option menu, instead?)

svn path=/trunk/; revision=8308
2003-08-29 04:56:46 +00:00
Richard Sharpe 625ce0f651 Make the configure flag --with-ucd-snmp consistent with --with-net-snmp.
That is, change it from --with-ucdsnmp.

svn path=/trunk/; revision=8307
2003-08-29 04:20:22 +00:00
Guy Harris 1cf6565adc Get rid of the EBCDIC stuff in the find dialog - it's not supported yet,
so we shouldn't torment the users by offering it.

Check the string type and convert it to an internal representation in
the GUI code; have the search code deal only with the internal
representation.

Save the case-sensitivity flag, and the indication of where string
searches look, along with other search parameters.

Upper-casify the string, for case-insensitive searches, in the GUI code;
don't save the upper-casified string, so it doesn't SHOUT at you when
you next pop up a "find" dialog.

Convert the hex value string to raw binary data in the GUI code, rather
than doing so in the search code.  Check that it's a valid string.

Connect the signals to the radio buttons after the pointers have been
attached to various GUI items - the signal handlers expect some of those
pointers to be attached, and aren't happy if they're not.

Have "find_packet()" contain a framework for searching, but not contain
the matching code; instead, pass it a pointer to a matching routine and
an opaque pointer to be passed to the matching routine.  Have all the
routines that do different types of searching have their own matching
routines, and use the common "find_packet()" code, rather than
duplicating that code.

Search for the Info column by column type, not by name (the user can
change the name).

When matching on the protocol tree, don't format the entire protocol
tree into a big buffer - just have a routine that matches the text
representation of a protocol tree item against a string, and, if it
finds a match, sets a "we found a match flag" and returns; have that
routine not bother doing any more work if that flag is set.
(Unfortunately, you can't abort "g_node_children_foreach()" in the
middle of a traversal.)

Free the generated display filter code after a find-by-display-filter
finishes.

svn path=/trunk/; revision=8306
2003-08-29 04:03:46 +00:00
Gerald Combs 6fc18311a6 From Vincent Jardin: Add support for Teredo
(draft-huitema-v6ops-teredo-00.txt).

svn path=/trunk/; revision=8305
2003-08-29 02:27:31 +00:00
Gerald Combs 9685960b40 Copy the source and destination addresses into a guint32, so that we don't
bus error on RISC systems.

svn path=/trunk/; revision=8304
2003-08-29 01:57:37 +00:00
Guy Harris 2af6770410 From Greg Morris: put borders around the options to delimit them and
indicate where they apply, and give tooltips to some of the options.
Disable the "Filter:" button unless we're searching with a display filter.

Use "Frame data" instead of "Hex" for the option to search the raw frame
data, use "Decoded packet" instead of "Decode" for the option to search
the strings in the protocol tree display, and use "Packet summary"
instead of "Summary" for the option to search the Info column in the
packet list display, to make it a bit clearer what's being searched.

svn path=/trunk/; revision=8303
2003-08-28 23:25:55 +00:00
Guy Harris 3a174693ba Clean up white space.
svn path=/trunk/; revision=8302
2003-08-28 22:51:07 +00:00
Olivier Abad 0c678f74c7 Marking packets with the middle mouse button works now with GTK2.
svn path=/trunk/; revision=8301
2003-08-28 20:33:14 +00:00
Gilbert Ramirez e2d7335584 Fix signed/unsigned comparison warning.
svn path=/trunk/; revision=8300
2003-08-28 17:26:15 +00:00
Ronnie Sahlberg de0002bbdf Fix small display bug. we returned the wrong value from dissect_per_choice and it made us display the wrong string sometimes
svn path=/trunk/; revision=8299
2003-08-28 14:41:20 +00:00
Ronnie Sahlberg 9c561b384a Update to H.225 when H.245 is tunneled in some octet strings,
call the h245 dissector instead of just showing the octet string content as some random hex bytes

svn path=/trunk/; revision=8298
2003-08-28 14:29:41 +00:00
Ronnie Sahlberg 9ce749fd8a update to h245 to decode the county codes
from anders broman

svn path=/trunk/; revision=8297
2003-08-28 12:57:24 +00:00
Guy Harris 6bbe0b5834 Update a comment.
svn path=/trunk/; revision=8296
2003-08-28 04:46:13 +00:00
Guy Harris a224698042 Make "process_reassembled_data()" do the check for fragmentation not
being complete and for fragmentation being trivial (i.e., the packet in
question is both the first and last fragment).  Have its callers *not*
do that check - this lets "process_reassembled_data()" put in the
"Reassembled in" item for fragments other than the last fragment.

Add a "Reassembled in" field to TDS.

svn path=/trunk/; revision=8295
2003-08-28 04:19:29 +00:00
Guy Harris f3d64a2c38 Add a "reassembled in" field.
svn path=/trunk/; revision=8294
2003-08-28 03:35:23 +00:00
Guy Harris 268b0adf6d It appears that TDS packets do have a sequence number; use that when
reassembling.

svn path=/trunk/; revision=8293
2003-08-28 02:19:00 +00:00
Guy Harris ada92eb7f4 Use "process_reassembled_data()"; this means we get to use common code,
and it means we only dissect the reassembled data for the last frame (so
code running through the packet list, and humans clicking on frames, see
only one instance of the reassembled data, not multiple instances that
might look like retransmissions).

svn path=/trunk/; revision=8292
2003-08-28 02:12:26 +00:00
Guy Harris 4059b02fe9 Add an API to let a dissector register a dissector table and field for a
given OUI; the field is used when the PID for that OUI is put into the
protocol tree, and the dissector table is used to find a dissector for
that PID.

Not yet used, thus not yet tested; API is subject to change.
(Eventually, several of the cases in the big switch statement in
"dissect_llc()" should be handled by registering information for those
OUIs.)

svn path=/trunk/; revision=8291
2003-08-28 01:29:16 +00:00
Guy Harris fadeb72b2e From Giles Scott: Nortel/SynOptics Network Management Protocol support.
svn path=/trunk/; revision=8290
2003-08-28 00:11:32 +00:00
Guy Harris c3d7c67df3 Make various lengths unsigned in "dissect_fhandle_data_unknown()", so
lengths > 2^31-1 get handled correctly.

svn path=/trunk/; revision=8289
2003-08-27 23:53:07 +00:00
Guy Harris dc05624d72 From Yaniv Kaul: fix the dissection of TDS7 login packets, and add
dissection for several fields in that packet.

svn path=/trunk/; revision=8288
2003-08-27 23:28:37 +00:00
Guy Harris 103e0f1402 The Fibre Channel dissector doesn't have any tables in which it
registers itself - it's just imported by name.  Get rid of the
"create_dissector_handle()" call, as the resulting dissector handle
isn't ever used.

svn path=/trunk/; revision=8287
2003-08-27 23:05:59 +00:00
Guy Harris 2d71f3589d Use "GPOINTER_TO_INT()" to convert the return value of
"gtk_clist_get_row_data()" to an "int", to squelch compiler warnings.

svn path=/trunk/; revision=8286
2003-08-27 23:01:10 +00:00
Guy Harris 115700bc62 From Richard Urwin:
use Export and Import for the buttons in GTK+ 2.x as well;

	get rid of a duplicate fclose;

	other fixes.

Update the description of color filters in the Ethereal man page to
reflect the change, clean up the formatting (use =item), and add the
global and personal color filters files to the FILES section; refer to
them as "color filters" files rather than "colorfilters" files, as the
FILES section gives the "colorfilters" file name so you don't have to
use that as the name.

Clean up white space.

svn path=/trunk/; revision=8285
2003-08-27 22:55:51 +00:00
Guy Harris 8bc3a1b51b Fix a typo.
svn path=/trunk/; revision=8284
2003-08-27 21:59:12 +00:00
Ronnie Sahlberg a7d0d4bf16 update to the talkers popup list.
hopefully it will now create the filter for the actual conversation
we selected.

add EP1 <-> ANY and EP2 <-> ANY fitlers

svn path=/trunk/; revision=8283
2003-08-27 21:54:36 +00:00
Guy Harris 14990641c3 From Jesper Peterson: fix a typo.
svn path=/trunk/; revision=8282
2003-08-27 21:12:27 +00:00
Guy Harris 92c530aced Include <string.h> to get "strlen()" declared.
svn path=/trunk/; revision=8281
2003-08-27 21:11:39 +00:00
Gilbert Ramirez 52338a3baf Add a "contains" operator for byte-strings, strings, and tvbuffs (protocols).
The search uses a naive approach; more work is required to add a
Boyer-Moore Search algorithm.

svn path=/trunk/; revision=8280
2003-08-27 15:23:11 +00:00
Ronnie Sahlberg d3562c0480 Updates for the endpoint talkers thing
The table now has a popup menu with
   Match display filter
         Selected
               EP1 <-> EP2
               EP1 --> EP2
               EP1 <-- EP2
               EP1 --> ANY
               EP1 <-- ANY
               EP2 --> ANY
               EP2 <-- ANY
          Not Selected
               ...
          ...
    Prepare Display Filter
          ...

Self explanatory.

Now the bad news.
I set the display filter box in the main window and i call redissect_packet
which redissects the packet list   but the displayfilter does not take
or affect the main window until i click  the apply button.

Some signal needs to be raised to some object me thinks.

Please feel free to fix it if you know what is missing.

svn path=/trunk/; revision=8279
2003-08-27 12:10:21 +00:00
Guy Harris 982ece89cf From Jesper Peterson:
use WTAP_ENCAP_ATM_PDUS as the default encapsulation for ATM;

	don't use ULL constants, as not all C compilers that support
	gint64 support them, and as there's no need to make them ULL
	constants.

svn path=/trunk/; revision=8278
2003-08-26 23:07:43 +00:00
Ronnie Sahlberg b91e76964d The definition of NonStandardParameter is different between H.225 and H.245
Create an alternative NonStandardParameter dissector that matches the
definition that H.225 needs.

svn path=/trunk/; revision=8277
2003-08-26 21:44:35 +00:00
Ronnie Sahlberg ec660f2051 From Anders Broman, updates and fixes to MEGACO
svn path=/trunk/; revision=8276
2003-08-26 21:36:17 +00:00
Ronnie Sahlberg ec66d01b58 Make the option to display the internal PER fields default to FALSE
svn path=/trunk/; revision=8275
2003-08-26 21:30:08 +00:00
Gerald Combs 6deb901e11 Fix macro logic to allow classical resolution even if we have HAVE_GNU_ADNS
defined.

svn path=/trunk/; revision=8274
2003-08-26 20:21:08 +00:00
Guy Harris e766fc1c2c Pass the pointer in the "data" field of the destination address, not a
pointer to that pointer, to "ip_to_str()".

svn path=/trunk/; revision=8273
2003-08-26 19:41:09 +00:00
Guy Harris 4ecb7cb4f2 From Jesper Peterson: support for Endace ERF file format.
svn path=/trunk/; revision=8272
2003-08-26 07:10:39 +00:00
Guy Harris 44eff3ce3b From Jesper Peterson:
Extract the FCS decoding section of the PPP_HDLC dissector to
	allow the CHDLC dissector to use the same routine.

	The ppp_options used for preferences has been renamed to
	fcs_options and exported via packet-ppp.h so CHDLC gets a
	separate (but identical) FCS preference.

	This means prefs.h has to be included before packet-ppp.h so a
	couple of ppp related files (packet-{gtp,null,raw,vj}.c) had
	their includes slightly re-arranged.

From me: make the PPP/CHDLC FCS code use "crc32()" to check the 32-bit
FCS.

svn path=/trunk/; revision=8271
2003-08-26 07:07:41 +00:00
Guy Harris 87f8ecdf33 Note that the SCTP CRC-32c is not the same as the AUTODIN/HDLC/802.x
CRC, as it uses a different polynomial.

svn path=/trunk/; revision=8270
2003-08-26 07:03:14 +00:00
Guy Harris 87d35a7c55 In "col_set_addr()", don't do anything other than clearing the column
expression information if the address type is AT_NONE -
"address_to_str_buf()" panics if passed an AT_NONE address, as there's
nothing sensible one can do with them.  (A null string wouldn't be
appropriate here, as a dissector might have set the address columns to a
string.)

svn path=/trunk/; revision=8269
2003-08-26 06:40:25 +00:00
Guy Harris b73e8138a8 Make the CRC-32 routines take a tvbuff and a length as arguments.
Rename "crc32()" so as not to collide with the one in zlib; rename
"crc32_802()" to match.

svn path=/trunk/; revision=8268
2003-08-26 06:18:18 +00:00