Commit Graph

9315 Commits

Author SHA1 Message Date
Guy Harris 0519141ac9 "proto_construct_dfilter_string()" can return a null pointer, e.g. for
protocol tree fields that don't have values and that are zero-length.

Combine the "if (fi->hfinfo->type != FT_PROTOCOL && fi->length > 0)"
stuff to show the raw value into the previous "if".

svn path=/trunk/; revision=9210
2003-12-08 21:57:25 +00:00
Guy Harris d06dc0727a From Michael Lum: support an AT_SS7PC address type for SS7 point codes,
and set the direction in pinfo for SS7 packets based on source and
destination addresses.

svn path=/trunk/; revision=9209
2003-12-08 21:36:53 +00:00
Guy Harris 556c517b88 From Jamie Fournier: don't show UNKUUID information for fragments for
known dissectors.

svn path=/trunk/; revision=9208
2003-12-08 20:58:01 +00:00
Guy Harris d70b1622b7 From Greg Morris: ecode the attribute structure instead of reporting a
really long undecoded string.

svn path=/trunk/; revision=9207
2003-12-08 20:50:02 +00:00
Guy Harris 4fd43bd166 From Lars Roland: fix a typo.
svn path=/trunk/; revision=9206
2003-12-08 20:43:59 +00:00
Guy Harris 2207d57087 From Lars Roland: fix the NSIS Makefile to handle PCRE.
svn path=/trunk/; revision=9205
2003-12-08 20:42:53 +00:00
Guy Harris a12371ae60 From Hannes Gredler:
- unify the IS-IS CLV space
  IS-IS uses a unified CLV space across all Level and PDU Types
  there is no need to define PDU- and Level- Specific CLV
  Types;

- clean up Authentication CLV
  TLV #10 is the official supported TLV for carrying authentication
  information- todays code displays TLV #10 as non-standard which
  is wrong;
  also the notion of "Domain" "Authentication" and "Link" password
  has disappeared from contemporary routing SW;

- add IP Authentication CLV dissector
  this CLV is depreciated - however it is using different semantics
  than TLV #10 so we need a dedicated dissector;

- add Checksum CLV dissector
  add support for RFC 3358 Checksum CLVs
  majority of code re-used from the LSP checksum verification
  dissector.

svn path=/trunk/; revision=9204
2003-12-08 20:40:33 +00:00
Olivier Biot 2b8a6c6f4d Get rid of the integer media type dissector table in WSP, WBXML and MMSE.
svn path=/trunk/; revision=9203
2003-12-08 20:37:15 +00:00
Guy Harris c468938693 From Didier Gautheron: check packet format in get_dsi_pdu_len.
svn path=/trunk/; revision=9202
2003-12-08 20:36:59 +00:00
Guy Harris ffef6b6077 From Didier Gautheron: add offset and size parameters in info colum for
read and write commands.

svn path=/trunk/; revision=9201
2003-12-08 20:36:40 +00:00
Guy Harris d5ba7b40eb From Anders Broman:
Call subdissectors regardless of whether we're building a
	protocol tree or not.

	Use the "media_type" dissector table to hand off to
	subdissectors, rather than wiring in SDP.

	Put the message body into a subtree of the SIP tree rather than
	at the top level.

svn path=/trunk/; revision=9200
2003-12-08 20:25:31 +00:00
Ulf Lamping 26ac41f3dd moved "File->Save Highlighted Data" to "File->Export->Raw Packet Data"
svn path=/trunk/; revision=9199
2003-12-08 19:25:01 +00:00
Ulf Lamping b71d959c7d updated to reflect the menu redesign changes
svn path=/trunk/; revision=9198
2003-12-08 17:54:32 +00:00
Ulf Lamping 32d83ab647 removed seperator between the two print menuitems
svn path=/trunk/; revision=9197
2003-12-08 17:49:20 +00:00
Olivier Biot 7baf316067 Update address of Johan Feyaerts. Dfilter matches operator.
svn path=/trunk/; revision=9196
2003-12-07 19:09:53 +00:00
Olivier Biot ff32acfa3d Clarify dfilter syntax (mainly the implicit exists operator), add subsections in syntax section, add description of new "contains" operator (and inform that it is only available if libpcre has been linked in).
svn path=/trunk/; revision=9195
2003-12-07 18:32:59 +00:00
Olivier Biot 3565f7da28 Remove the literal WSP content type dissector table, and replace it with the "media_type" table defined in the HTTP dissector.
svn path=/trunk/; revision=9194
2003-12-07 18:09:52 +00:00
Olivier Abad 96acd9f8bf Update various set_menu_object_data() calls to reflect recent menu
hierarchy changes. This avoids a crash when selecting "Folow TCP stream"
from the "Analyze" menu.

svn path=/trunk/; revision=9193
2003-12-07 09:43:53 +00:00
Guy Harris 0c23e1b4f8 Register the SDP dissector with the media_type dissector table with its
media type.

svn path=/trunk/; revision=9192
2003-12-07 03:46:04 +00:00
Guy Harris eb519c3e05 Use a cleanup handler to free the Content-Type header value, so it gets
freed even if we throw an exception after processing the Content-Type
header but before we call a subdissector.

svn path=/trunk/; revision=9191
2003-12-07 03:34:36 +00:00
Guy Harris a8f4f4b924 Change the name of the variable holding the dissector table pointer to
match the previous checkin.

svn path=/trunk/; revision=9190
2003-12-07 03:21:22 +00:00
Guy Harris 36d88b6618 Rename the "http.content_type" dissector table to "media_type", as it's
for use in any dissector that uses Internet media types.

svn path=/trunk/; revision=9189
2003-12-07 03:17:42 +00:00
Guy Harris e33adb1b38 Only check the destination address if it's AT_ETHER; otherwise, there's
no guarantee that "data[5]" exists or can be interpreted in that fashion.

svn path=/trunk/; revision=9188
2003-12-07 02:42:54 +00:00
Guy Harris 2b67aeedd8 From Devin Heitmueller: include the AES ciphersuites from RFC 3268.
svn path=/trunk/; revision=9187
2003-12-07 02:26:03 +00:00
Guy Harris 8dc6ccd87c Put the "-V" flag in boldface, so pod2man doesn't whine.
svn path=/trunk/; revision=9186
2003-12-07 02:23:04 +00:00
Gerald Combs 409948eced Add PCRE support to the Windows build.
svn path=/trunk/; revision=9185
2003-12-07 00:04:32 +00:00
Olivier Abad d9dec105d6 Check if pinfo->dl_dst.data is not NULL before accessing the data (it
was NULL in one of my "linux cooked" captures which contains no
destination address).

svn path=/trunk/; revision=9184
2003-12-06 19:26:04 +00:00
Jörg Mayer e1d6501129 Declaration included the line above
svn path=/trunk/; revision=9183
2003-12-06 19:14:30 +00:00
Gilbert Ramirez 55a6251e7c From Olivier Biot
New "matches" operater in display filter language. Uses PCRE.

If a "matches" operator is found in a dfilter
while libpcre has not been used to build the binary, then an
exception is thrown after using dfilter_fail() to set an apporporiate
error message.

svn path=/trunk/; revision=9182
2003-12-06 16:35:20 +00:00
Gilbert Ramirez 71c8b6077b slab.h needs to be in libethereal_a_SOURCES
svn path=/trunk/; revision=9181
2003-12-06 06:22:10 +00:00
Gilbert Ramirez 058ef64db8 Add the ability to print packet dissections in PDML (an XML-based format)
to tethereal. It could be added to Ethereal, but the GUI changes to
allow the user to select PDML as a print format have not been added.

Provide a python module (EtherealXML.py) to help parse PDML.

Provide a sample app (msnchat) which uses tethereal and EtherealXML.py
to reconstruct MSN Chat sessions from packet capture files. It produces
a nice HTML report of the chat sessions.

Document tethereal's PDML and EtherealXML.py usage in doc/README.xml-output

Update tethereal's manpage to reflect the new [-T pdml|ps|text] option

svn path=/trunk/; revision=9180
2003-12-06 06:09:13 +00:00
Guy Harris 33b25ac15e From Jeff Morriss: avoid at least some N^2 behavior when changing the
time stamp format.

svn path=/trunk/; revision=9179
2003-12-06 04:05:02 +00:00
Guy Harris a517aeb953 "hf_ccsds_secheader" is an FT_BOOLEAN; use "proto_tree_add_boolean()"
for it.

svn path=/trunk/; revision=9178
2003-12-05 22:33:11 +00:00
Gerald Combs c219943fc1 Switch over to Net-SNMP 5.1. A ZIP file of the Net-SNMP 5.1 sources plus
a static Windows library (netsnmp.lib) has been placed at

    http://www.ethereal.com/distribution/win32/development/

The Net-SNMP documentation recommends against using a DLL at the
present time.

svn path=/trunk/; revision=9177
2003-12-05 16:00:34 +00:00
Guy Harris 166d7e0e4c We have to parse the SDP packet even if we're not building a protocol
tree, as we might be setting up a conversation.

svn path=/trunk/; revision=9176
2003-12-05 09:34:16 +00:00
Guy Harris 3607851a8f Subdissectors must be called regardless of whether a protocol tree is
being built.

svn path=/trunk/; revision=9175
2003-12-05 09:33:27 +00:00
Guy Harris 1d4abd1568 Subdissectors must be called regardless of whether a protocol tree is
being built.

svn path=/trunk/; revision=9174
2003-12-05 09:25:41 +00:00
Guy Harris 2428266b1d From some reason, at least on Mac OS X 10.3, the change to have the
protocol tree stuff not use GNodes means that the ASN.1 plugin now needs
to be explicitly linked against GLib in order to get access to the GNode
routines, otherwise you get errors from the run-time linker.

svn path=/trunk/; revision=9173
2003-12-04 22:37:52 +00:00
Guy Harris fa1de9d824 It turns out the protocol tree parent link was used, so we need it in
our new scheme.

svn path=/trunk/; revision=9172
2003-12-04 19:53:54 +00:00
Guy Harris f0b9d12b6a Don't use GNodes for the protocol tree, put the sibling pointer, and
pointers to the first *and* last child, in the "proto_node" structure
itself.  That saves us one level of indirection and memory allocation,
and lets us append to a tree by appending to the last child directly,
rather than having to scan through the list of siblings of the first
child to find the end of that list.

svn path=/trunk/; revision=9171
2003-12-04 10:59:34 +00:00
Ronnie Sahlberg e83aeb6431 update to kerberos
if the kerberos blob contains a krb error, print the error string to COL_INFO

svn path=/trunk/; revision=9170
2003-12-04 08:15:20 +00:00
Ronnie Sahlberg 93ad968e12 update to ldap.
some implementations specify GSSAPI in the bind call.
the encapsulation seems to be the same as GSS-SPNEGO so handle it the same way

svn path=/trunk/; revision=9169
2003-12-04 08:13:27 +00:00
Gilbert Ramirez fca733dc44 Add {0, NULL} to the vals_wsp_reason_codes value_string array.
svn path=/trunk/; revision=9168
2003-12-04 06:02:45 +00:00
Gilbert Ramirez c8b1b1d80a Add {0, NULL} to all the value_string arrays.
svn path=/trunk/; revision=9167
2003-12-04 05:59:35 +00:00
Gilbert Ramirez ef43dca197 Add {0, NULL} to the reply_table_v5 value_string array.
svn path=/trunk/; revision=9166
2003-12-04 05:57:53 +00:00
Gilbert Ramirez 41489ffe4b ldp.msg.tlv.returned.msg.ubit needs to be an FT_BOOLEAN field, not
an FT_UINT8, since it is using a true_false_string struct to print its
values.
Add {0, NULL} to the fec_vc_interfaceparm value_string array.

svn path=/trunk/; revision=9165
2003-12-04 05:55:45 +00:00
Gilbert Ramirez f6bc4f4972 Add {0, NULL} to the isup_Pass_on_not_possible_indicator_vals and
ISUP_Broadband_narrowband_interworking_indicator_vals value_string arrays.

svn path=/trunk/; revision=9164
2003-12-04 05:47:38 +00:00
Gilbert Ramirez 5d1eca22d4 Add {0, NULL} to end of fc_swils_rscn_addrfmt_val value_string array.
svn path=/trunk/; revision=9163
2003-12-04 05:40:17 +00:00
Gilbert Ramirez 853ee7fe9d Add {0, NULL} to end of fcencap_proto_vals value_string array.
svn path=/trunk/; revision=9162
2003-12-04 05:38:05 +00:00
Guy Harris 64bc566ea8 In GTK+ 2.x, "gtk_entry_get_text()" returns a "const gchar *"; assign
its value to pointer-to-const variables.

svn path=/trunk/; revision=9161
2003-12-04 00:45:39 +00:00