Commit Graph

8510 Commits

Author SHA1 Message Date
Anders Broman 48c58e1b63 Put names on some more options solves part of bug
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2284

svn path=/trunk/; revision=24444
2008-02-23 19:17:23 +00:00
Stig Bjørlykke 51b26f95f3 Improved custom columns with custom title.
Fixed a crash when adding an empty custom field.

svn path=/trunk/; revision=24438
2008-02-22 22:47:19 +00:00
Jeff Morriss 1b71f5f0ff From Evan via bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2293 : In
epan/dissectors/packet-bacapp.c the BACnetErrorCode array contains incorrect
enumeration mappings for BACnet error codes.  Attached is a version of the file
with the mappings straightened out.

svn path=/trunk/; revision=24435
2008-02-22 21:39:40 +00:00
Jeff Morriss 146d642ebe From Balint Reczey via http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2264 : fix IPv4 handling
svn path=/trunk/; revision=24433
2008-02-22 21:02:10 +00:00
Stig Bjørlykke 3ebc2a4d00 Check for existing cinfo in have_custom_cols().
This fixes the latest buildbot fuzz failures.

svn path=/trunk/; revision=24421
2008-02-22 13:41:25 +00:00
Stig Bjørlykke a50f232cac Print integer values according to hfinfo->display.
svn path=/trunk/; revision=24420
2008-02-22 13:27:46 +00:00
Stig Bjørlykke 20ed60cf1f Added FT_ABSOLUTE_TIME and FT_RELATIVE_TIME to custom columns.
svn path=/trunk/; revision=24419
2008-02-22 12:28:41 +00:00
Stig Bjørlykke 33524cdd48 Some custom column enhancements:
Use the value_string if defined for integer and boolean values.

svn path=/trunk/; revision=24418
2008-02-22 12:06:29 +00:00
Stig Bjørlykke 67aa6856de Some custom column fixes:
- In proto_tree_set_uint and proto_tree_set_int use value adjusted for bitmask.
- Removed col_custom_set_fstr in proto_tree_set_boolean to get a correct
  adjusted value in proto_tree_set_uint.
- Set a default column width shorter than COL_INFO. 

svn path=/trunk/; revision=24417
2008-02-22 11:32:36 +00:00
Stephen Fisher 2a8e74cedc Add ability to make more field types into custom columns: FT_ETHER & FT_BYTES.
Also change display of FT_STRING(Z) to turn non-printable characters into
backslash + number values. 


svn path=/trunk/; revision=24415
2008-02-22 03:44:08 +00:00
Stephen Fisher c7d656555a Use custom column check function for custom columns to make sure the dfilter
is always primed when needed.  This ensures more than just the first row
has a custom column's information in it.


svn path=/trunk/; revision=24413
2008-02-22 01:25:45 +00:00
Anders Broman 1c5dddbd68 Unkomment the now fixed value string...
svn path=/trunk/; revision=24412
2008-02-21 23:08:19 +00:00
Guy Harris 63c7c6d476 Put back the use of g_ascii_strcasecmp(), so we don't get rudely
surprised by, for example, "i" not comparing equal to "I" in Turkish
locales.

Make gMessageType local - it's not used as a global variable.  Also,
make it a pointer to const, so that we don't have to cast away the
constness.

dissect_giop_fragment() doesn't use the "header" argument, so get rid of
it.

Clean up indentation a bit.

The first element of a value_string is the value, and the second
argument is the string; fix up the initialization of the table of code
set values.

Fix a proto_tree_add_text() call to match the format and the arguments.

svn path=/trunk/; revision=24411
2008-02-21 22:11:08 +00:00
Anders Broman 39f12ecc1d From Wolf Neumann:
GIOP reassembly fails when first packet of a PDU is received Out-of-Order

http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1453

The patch changed to use value_string but not all values included in the current value_string.

svn path=/trunk/; revision=24410
2008-02-21 20:45:09 +00:00
Anders Broman 85c51a72a0 Fix Bug Enable int64, uint64 and ipv4 type fields for the Lua dissectors
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2264

svn path=/trunk/; revision=24408
2008-02-21 19:58:09 +00:00
Jaap Keuter 89d7589f60 From Karl Heinz Wolf:
This patch decodes the Civic Address Types (CATypes) for Civic Addresses
Configuration Information. This GEOCONF_CIVIC DHCP option number 99 is defined
in RFC 4776.

svn path=/trunk/; revision=24406
2008-02-21 07:05:44 +00:00
Jörg Mayer 9bd9942aab Fix some unused warnings
svn path=/trunk/; revision=24397
2008-02-19 22:13:53 +00:00
Jörg Mayer 317605de9a Use the right 4 bits and avoid the overflow of an 8 bit value
svn path=/trunk/; revision=24396
2008-02-19 22:09:38 +00:00
Jörg Mayer 0fbcd0e4d1 Update todo section
svn path=/trunk/; revision=24395
2008-02-19 22:08:11 +00:00
Bill Meier 936381623d Add 'executable' property to a few .pl and .py files
svn path=/trunk/; revision=24390
2008-02-19 13:44:02 +00:00
Bill Meier 1cd76ad66a Remove svn:executable property
svn path=/trunk/; revision=24384
2008-02-18 23:58:45 +00:00
Bill Meier 5b8da491d7 Add $Id$
svn path=/trunk/; revision=24382
2008-02-18 22:39:03 +00:00
Bill Meier 2f9f8d7df8 Fix some some properties
svn path=/trunk/; revision=24380
2008-02-18 21:01:11 +00:00
Anders Broman fe620c9d12 Add an expert item about AVP:s without "data".
svn path=/trunk/; revision=24377
2008-02-18 19:10:50 +00:00
Stig Bjørlykke 43272f9435 Added an option to Conversations and Endpoints to limit the list to match
the current display filter.

Some Hosts -> Endpoints cleanup.

svn path=/trunk/; revision=24368
2008-02-17 00:35:55 +00:00
Anders Broman 3a130af51b Add map operation 49.
svn path=/trunk/; revision=24360
2008-02-16 17:04:59 +00:00
Gerald Combs ba7aec84a8 Format our text before displaying it. This keeps Wireshark from crashing on
Ubuntu 7.10 and possibly other platforms.

svn path=/trunk/; revision=24341
2008-02-16 01:33:48 +00:00
Gerald Combs 6537c76fb6 Extend the UAT and preferences code so that you can use the "-o" flag
to override UAT entries from the command line, e.g.

  -o "uat:user_dlts:\"User 0 (DLT=147)\",\"http\",\"0\",\"\",\"0\",\"\""
  
Fix up white space.

svn path=/trunk/; revision=24338
2008-02-15 22:36:24 +00:00
Gerald Combs eba80d5c38 Add fvalue_string_repr_len.
svn path=/trunk/; revision=24337
2008-02-15 22:35:09 +00:00
Ashok Narayanan 51c90d25e6 Added RTCP Feedback NAK PLI dissectors.
svn path=/trunk/; revision=24336
2008-02-15 17:18:29 +00:00
Gerald Combs 5b522888dd Initialize a tvb, so that we don't crash. Fix up whitespace.
svn path=/trunk/; revision=24332
2008-02-14 23:10:29 +00:00
Bill Meier 718b14c7ce Glib >= 2.14.5 does not require iconv
svn path=/trunk/; revision=24330
2008-02-14 17:16:12 +00:00
Stephen Fisher b0a09b3c8b Add/fix a few calls to col_custom_set_fstr() for custom columns.
svn path=/trunk/; revision=24328
2008-02-14 06:10:54 +00:00
Ronnie Sahlberg d426498171 fixup and improve create
svn path=/trunk/; revision=24327
2008-02-14 06:08:11 +00:00
Ronnie Sahlberg 2d63ba2674 fixum tree disconnect
svn path=/trunk/; revision=24326
2008-02-14 05:15:20 +00:00
Ronnie Sahlberg f8660c6806 fixup tree connect
svn path=/trunk/; revision=24325
2008-02-14 05:13:29 +00:00
Ronnie Sahlberg eb2f7475f2 fixup sessionlogoff
svn path=/trunk/; revision=24324
2008-02-14 04:19:51 +00:00
Ronnie Sahlberg 0d97477e6d fixup sessionsetup
svn path=/trunk/; revision=24323
2008-02-14 04:16:11 +00:00
Ronnie Sahlberg bb9f7a373e update dissection of negprot
svn path=/trunk/; revision=24322
2008-02-14 03:38:29 +00:00
Ronnie Sahlberg d399fc0a1f fixup SMB2 header and decode async commands correctly
svn path=/trunk/; revision=24321
2008-02-14 02:36:43 +00:00
Jaap Keuter bd83d8a864 Add SERCOS ethertype for upcoming dissector.
svn path=/trunk/; revision=24320
2008-02-13 17:34:05 +00:00
Stephen Fisher 8f3a1b0d16 Check in changes originally checked in as SVN revision 24308 (new column
type: Custom) that were backed out in SVN revision 24309.

Changes since that revision include a reworking of the handling of the
cfile/cinfo variables in epan/column-utils.c, addition of three new
functions to libwireshark.def and a bug fix to prevent a crash when no
custom columns were not in use.

Compilation verified locally on MacOS X, Linux and Windows.


svn path=/trunk/; revision=24317
2008-02-13 05:05:33 +00:00
Gerald Combs 7a6d8d7955 Replace a g_snprintf() with a strncpy(). Fixes bugs 2260 to 2262.
svn path=/trunk/; revision=24316
2008-02-13 04:10:20 +00:00
Stig Bjørlykke a356f552b4 Added WLAN Traffic Statistics dialog.
svn path=/trunk/; revision=24310
2008-02-12 14:17:18 +00:00
Stephen Fisher 5e893a8b1c Revert commit 24308 until I can get it to compile on Windows/Linux/Solaris
(strangely, it compiled fine on my MacOS X machine).


svn path=/trunk/; revision=24309
2008-02-12 08:09:22 +00:00
Stephen Fisher 0a85a9e4c6 Introduce a new column type called custom, which lets you put any display
filter name in the description field and it will display that field in the
packet list if it occurs in that packet.  Note that the more common fields
are implemented, but a number of them remain to be implemented in
epan/proto.c.  I will work on these other fields as I have time.


svn path=/trunk/; revision=24308
2008-02-12 03:16:09 +00:00
Gerald Combs 152b28477a Windows (confirmed with Vista, XP, and 98) sends the "secs" value as a
little-endian value. Add a check and format the value accordingly. Fix up
whitespace.

svn path=/trunk/; revision=24303
2008-02-11 19:18:02 +00:00
Bill Meier 980b393d0d A few more pedantic fixes ...
svn path=/trunk/; revision=24302
2008-02-11 18:43:15 +00:00
Bill Meier b25aa005c1 A few minor pedantic fixes ....
svn path=/trunk/; revision=24301
2008-02-11 17:04:51 +00:00
Bill Meier 2078ed4a5f Fix one add'tl warning as reported by David Kirkby
svn path=/trunk/; revision=24298
2008-02-11 01:41:49 +00:00
Guy Harris 6dd81aa615 The type field of an mtp3_addr_pc_t is a "which SS7 standard is this?"
type, not a "how do I format addresses?" type; declare it as such, and
remove the comment that pointed out that the type field had the wrong
(C) type.

svn path=/trunk/; revision=24297
2008-02-10 21:38:52 +00:00
Bill Meier bad9f18d33 Fix (Sun) compiler warnings as reported by David Kirkby: Part 1
svn path=/trunk/; revision=24295
2008-02-09 23:35:28 +00:00
Anders Broman d6aea2d0a1 - Add application Id:s to Diameter
- Further dissect 3GPP Radius AVP:s.

svn path=/trunk/; revision=24293
2008-02-08 16:32:12 +00:00
Stig Bjørlykke 71ad1e38f8 Add get_sctp_port to libwireshark.def
svn path=/trunk/; revision=24292
2008-02-08 14:47:21 +00:00
Stig Bjørlykke 42fe2398b9 Added missing "svn:keywords Id" and "svn:eol-style native" for some
c and h files.

svn path=/trunk/; revision=24290
2008-02-08 09:45:36 +00:00
Ronnie Sahlberg 4284906aba based on the novell idllib sources :
add dissection of the 16 byte header prior to the NDR data when NDR is 
transported as a blob ontop of !dcerpc
like the LOGON_INFO in the PAC in kerberos


svn path=/trunk/; revision=24289
2008-02-08 09:20:02 +00:00
Stephen Fisher a97304bd26 Fix typo in comment
svn path=/trunk/; revision=24288
2008-02-08 05:45:46 +00:00
Stig Bjørlykke 28ae535b00 Removed even more "statement not reached" warnings.
svn path=/trunk/; revision=24286
2008-02-07 15:44:45 +00:00
Stig Bjørlykke 36431783b7 Removed a break which disabled some code.
svn path=/trunk/; revision=24285
2008-02-07 15:12:50 +00:00
Stig Bjørlykke 64d9306f29 Rewrote some "if(tree)" code inside a switch-case to avoid unused code
(which did not work as expected).

switch(type) {
  case 1:
    ...
    break;
  if(tree) {
    case 2:
      ...
      break;
  }
}

svn path=/trunk/; revision=24284
2008-02-07 15:05:42 +00:00
Stig Bjørlykke c6af1bfdd4 Removed some "statement not reached" warnings.
svn path=/trunk/; revision=24282
2008-02-07 12:14:40 +00:00
Stig Bjørlykke 609bb57097 Corrected some types.
svn path=/trunk/; revision=24280
2008-02-07 11:42:11 +00:00
Stig Bjørlykke 138381e214 From Thomas Dreibholz (bug 2248):
Add a dissector for the Scripting Service Protocol provided as part of the
RSPLIB package.  RSPLIB is an Open Source implementation of the upcoming
Reliable Server Pooling standard.  The scripting service is an application
for load distribution, based on Reliable Server Pooling.

From me:
Shorten the protocol name to SSP.

svn path=/trunk/; revision=24276
2008-02-06 14:28:30 +00:00
Anders Broman d1c0ab9ab0 Update gsm map asn1 files to latest version.
svn path=/trunk/; revision=24270
2008-02-05 06:10:34 +00:00
Stig Bjørlykke ceca9ab2e9 From Shane Kearns (bug 2242):
1) update SDP dissector with new IDs from assigned numbers document
   https://www.bluetooth.org/apps/content/default.aspx?doc_id=49709
2) decode attribute IDs in an "attribute ID list" parameter (previously it
   showed raw number only)
3) removed some duplicate entries in vs_service_classes

svn path=/trunk/; revision=24267
2008-02-04 11:56:30 +00:00
Martin Mathieson 0c700edaba Add mapping for s1ap_r8.
svn path=/trunk/; revision=24264
2008-02-03 23:04:04 +00:00
Stig Bjørlykke ef625890aa From Shane Kearns (bug 2237):
Added support for Symbian OS btsnoop.

The bluetooth HCI layer in Symbian OS can be configured to log all packets to a
file.  The log format, "btsnoop" is based on the RFC1761 "snoop" format - but
differences in the header make it incompatible.

The btsnoop format supports logging of these formats:
"H1" (raw HCI packets without framing)
"H4" (HCI UART packets including packet type header)
"H5" (HCI 3 wire UART packets including framing)
"BCSP" (HCI bluecore serial protocol including framing)

"H1" and "H4" are section numbers in the original v1 bluetooth specifications,
but still used colloquially - wireshark's existing support for Linux bluez HCI
logs uses the "H4" name.

In practice, the "H1" format is used for H5,BCSP and USB HCI logs, as the HCI
packet logs are mainly useful for debugging higher layers, bluetooth profiles
and bluetooth applications.

From me:
Deleted some unused prototypes.
Mark an unused parameter.

svn path=/trunk/; revision=24263
2008-02-03 21:11:53 +00:00
Stig Bjørlykke a341198859 From Shane Kearns (bug 2239):
L2CAP dissector is missing retransmission & flow control modes (these were
introduces in BT 1.2 specification)
Configuration commands were not fully decoded because of a bigend/littleend
issue
L2CAP commands had the wrong length set to the protocol tree by reading from
the wrong buffer offset
Also the dissect_options() function consumes all remaining data in the L2CAP
packet, which prevents decoding of other commands which follow a config
request/config response in the same packet.

From me:
Mark an unused parameter.

svn path=/trunk/; revision=24262
2008-02-03 21:04:01 +00:00
Stig Bjørlykke b715bd28d2 Ups, fix a typo from last checkin.
svn path=/trunk/; revision=24259
2008-02-03 15:49:22 +00:00
Stig Bjørlykke 47d744b59d More rewrite of prohibited APIs (sprintf, strcpy, strcat).
svn path=/trunk/; revision=24258
2008-02-03 15:38:20 +00:00
Anders Broman 2ab56c11e8 Update asn1 files to 3GPP TS 25.433 V7.7.0 (2007-12)
svn path=/trunk/; revision=24256
2008-02-03 13:47:50 +00:00
Anders Broman 2942ff4d5b Get rid of some warnings.
svn path=/trunk/; revision=24251
2008-02-03 10:07:42 +00:00
Anders Broman 3ead3cd279 Update asn1 files to GPP TS 25.413 V7.8.0 (2008-01).
svn path=/trunk/; revision=24250
2008-02-03 09:51:57 +00:00
Stig Bjørlykke 677eb18d20 Rewrote some prohibited APIs in epan/dissectors/ (sprintf, strcpy, strcat).
If we get some truncated strings we probably overwrote some buffers...

svn path=/trunk/; revision=24249
2008-02-02 17:25:40 +00:00
Stig Bjørlykke f4871e6269 Fixed a possible buffer overflow in dissect_fmp_flushCmd() when cmd has
all bits set.

svn path=/trunk/; revision=24248
2008-02-02 17:17:16 +00:00
Stig Bjørlykke dc1f6dc424 Rewrote strcat -> strncat, and fixed to show more than the last remaining
Cmd_Argv value for Remote Command.

svn path=/trunk/; revision=24247
2008-02-02 17:13:30 +00:00
Jaap Keuter 1c2f043913 From Peter Kjellerstedt:
I was capturing an RTP stream the other day which contained JPEG images
streamed according to RFC 2435. However, Wireshark reported them as malformed.
After some debugging of the Wireshark code it turned out that the decoding of
JPEG images which contain a quantization table was incorrect. I have attached a
patch to correct the decoding.

svn path=/trunk/; revision=24246
2008-02-02 16:41:12 +00:00
Jaap Keuter 1a9aa1ae62 From Alan McBride:
The decoding of a SubscribeCOVProperty packet is not properly decoding the
Monitored Property Identifier field. It leaves a number of decoded bytes at the
end as data.

svn path=/trunk/; revision=24245
2008-02-02 16:30:46 +00:00
Sake Blok 0446fc0d94 Fix for bug 2202, when an ethernet frame with padding is encountered, the
reported length is 46, so there was a one-off error in the code.


svn path=/trunk/; revision=24244
2008-02-02 09:21:09 +00:00
Stig Bjørlykke ee8b8b0ad7 Hmmm. Second try to fix the const problems.
svn path=/trunk/; revision=24238
2008-01-31 23:10:09 +00:00
Stig Bjørlykke dc5b4a8239 Removed a const to make it compile.
svn path=/trunk/; revision=24237
2008-01-31 22:31:01 +00:00
Gerald Combs a4a1f2a69e Make the "!="/"ne" change compile under Windows.
svn path=/trunk/; revision=24234
2008-01-31 20:18:07 +00:00
Gerald Combs 9703c2bb75 If "!=" or "ne" are used in a display filter, warn the user that the results
may be unexpected.

svn path=/trunk/; revision=24232
2008-01-31 19:50:38 +00:00
Stig Bjørlykke f3747bf637 Hide hidden devices in "Capture Interfaces" dialog.
Added a function to check for hidden devices, which also work correctly
for plumbed devices on solaris.

svn path=/trunk/; revision=24231
2008-01-31 16:47:05 +00:00
Stig Bjørlykke 1efb7e3627 Add Luis' uat_get_table_by_name() to fetch SMI uat tables.
svn path=/trunk/; revision=24229
2008-01-30 22:50:55 +00:00
Anders Broman df0e82fa10 Dissect the FLUTE "data".
svn path=/trunk/; revision=24228
2008-01-30 22:34:17 +00:00
Jeff Morriss 8ba9f2d3a4 Move glib-2 specific code out of gsmmap.cnf (where we can't #ifdef around
it--asn2wrs doesn't understand #ifdef's) to packet-gsm-template.c

svn path=/trunk/; revision=24227
2008-01-30 17:11:06 +00:00
Mike Duigou 136e5c2e1f cleanup initial comment. fix urls and email addresses.
svn path=/trunk/; revision=24224
2008-01-29 23:28:10 +00:00
Bill Meier fcff7d7613 Add missing 'static int' for dissect_diameter_3gpp_tmgi(...)
svn path=/trunk/; revision=24223
2008-01-29 20:33:43 +00:00
Anders Broman 9e03164d14 Dissect 3GPP AVP Code: 900 TMGI
svn path=/trunk/; revision=24222
2008-01-29 20:05:02 +00:00
Stig Bjørlykke 70d1699bb2 SSI dBm signal is signed.
svn path=/trunk/; revision=24218
2008-01-29 09:56:11 +00:00
Anders Broman dd1ae8f4f7 Dissect Vendor id and Auth-application Id.
svn path=/trunk/; revision=24216
2008-01-28 19:55:20 +00:00
Stig Bjørlykke dc3900dc00 Make use of an unused value.
svn path=/trunk/; revision=24213
2008-01-27 23:33:09 +00:00
Anders Broman 39b64a4d6c Add the forgotten file.
svn path=/trunk/; revision=24212
2008-01-27 23:18:57 +00:00
Anders Broman ce40fc22a4 Make it possible to do subdissection of Diameter AVP:s and add dissection
of some 3GPP AVP:s.

svn path=/trunk/; revision=24211
2008-01-27 21:06:33 +00:00
Stig Bjørlykke 45572b611c Do not change profile if directory creation failed, and change to default
profile if existing profile was deleted.

svn path=/trunk/; revision=24208
2008-01-27 14:45:31 +00:00
Anders Broman c3fa6a267c Uncomplete code change.
svn path=/trunk/; revision=24207
2008-01-27 14:27:11 +00:00
Anders Broman 1144c36b11 Fix reassembly.
svn path=/trunk/; revision=24205
2008-01-27 11:03:56 +00:00
Stig Bjørlykke 8d512b51d2 From Peter (bug 2224):
Patch to fix compile with glib-1.2.

svn path=/trunk/; revision=24199
2008-01-26 15:28:37 +00:00
Graeme Lunt bf8ce12ca3 Use the standard X.402 module as a separate file rather than as cut/paste into the ACP133 module.
svn path=/trunk/; revision=24197
2008-01-26 10:18:10 +00:00
Graeme Lunt 2f97f065ff Remove "LDAP over SSL" registration as now handled by the LDAP dissector.
svn path=/trunk/; revision=24196
2008-01-26 10:14:26 +00:00
Graeme Lunt fcef5823db 1) Support for configurable LDAP over SSL port
2) Support for RFC 3909 - cancelRequest extendedOperation
3) Support for RFC 3062 - passwordModify extendedOperation
4) Column information for ExtendedRequest, SearchResultRef and AbandonRequest
5) Column information for multiple LDAP operations in the same packet (uses " | " separator)


svn path=/trunk/; revision=24195
2008-01-26 10:12:22 +00:00
Graeme Lunt b3e2ef167b 1) Correct attribute name.
2) Add subtreespecification attribute.
3) Label each attribute in the tree with the attribute type.


svn path=/trunk/; revision=24194
2008-01-26 10:05:13 +00:00
Jaap Keuter c944d49dd6 From Bill Florac:
Corrected ATTRRPLY dissection. 
Removed a few unnecessary semi-colons.

svn path=/trunk/; revision=24193
2008-01-25 21:31:50 +00:00
Anders Broman f0582373ef Decode som more MBMS elements. Diameter XML fixes.
svn path=/trunk/; revision=24192
2008-01-25 17:27:54 +00:00
Jeff Morriss 98ae26105c Add tvb_free (as per the request in http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2219)
svn path=/trunk/; revision=24191
2008-01-25 15:34:55 +00:00
Jaap Keuter bfdf65c9ff From Thomas Morin:
I have written the attached patch to improve the userfriendly-ness of the
summary displayed in the last column of the packet list for IGMP packets.

The current code only tells the user the type of packet (REPORT, LEAVE, QUERY),
but doesn't include any information about what multicast group is joined to or
left.   Worse, for IGMPv3 Reports the user cannot tell quickly if the multicast
group is joined-to or left, without having to look at the inside of the packet
to know the type of report (include all, include none, exlude none, exclude
all, etc.).

svn path=/trunk/; revision=24190
2008-01-25 06:32:53 +00:00
Jaap Keuter 139b0e041c From Bill Florac::
Corrected display of attributes from previous patch (24165)
For V2, if field length was 0, do not display the empty field. This makes it
easier to read. I only did V2 as I do not have means to test V1.

svn path=/trunk/; revision=24189
2008-01-25 06:23:28 +00:00
Stig Bjørlykke 2df21cb1b7 Fixed some strcpy -> strncpy/g_snprintf cleanups.
Removed a debug printout in t38.

svn path=/trunk/; revision=24188
2008-01-24 23:01:37 +00:00
Stig Bjørlykke c2f444f656 Added some parantheses to avoid a warning.
svn path=/trunk/; revision=24187
2008-01-24 22:51:17 +00:00
Stig Bjørlykke c785bbf558 Removed even more C++ style comments.
svn path=/trunk/; revision=24186
2008-01-24 22:33:49 +00:00
Bill Meier e923010814 Fix various small memory leaks & 1 invalid g_free (airpcap_gui_utils.c)
svn path=/trunk/; revision=24185
2008-01-24 22:26:05 +00:00
Anders Broman f67a7818b0 Decode som MBMS elements.
svn path=/trunk/; revision=24184
2008-01-24 22:21:13 +00:00
Jeff Morriss 75849c12f1 s/%ll/%" G_GINT64_MODIFIER "/g
svn path=/trunk/; revision=24181
2008-01-24 21:57:13 +00:00
Stig Bjørlykke d5d2e97b47 Fixed some more malloc -> g_malloc, free -> g_free, strdup -> g_strdup.
svn path=/trunk/; revision=24180
2008-01-24 19:30:43 +00:00
Stig Bjørlykke 51060a1b5c Removed C++ style comment.
svn path=/trunk/; revision=24178
2008-01-24 18:51:54 +00:00
Stig Bjørlykke 6a31f43f8b Always return a valid profile name from get_profile_name().
svn path=/trunk/; revision=24175
2008-01-24 17:06:22 +00:00
Guy Harris fb32ed8812 Get rid of non-ASCII characters.
svn path=/trunk/; revision=24171
2008-01-23 20:15:13 +00:00
Guy Harris cc793a8230 Get rid of non-ASCII characters.
svn path=/trunk/; revision=24170
2008-01-23 20:12:23 +00:00
Guy Harris f4aacac2d8 Get rid of non-ASCII characters.
svn path=/trunk/; revision=24169
2008-01-23 19:47:40 +00:00
Jaap Keuter 8cd88c8912 From Bill Florac:
Patch in revision 24163 is missing same fix needed for "case SRVREG", at line 1156.

svn path=/trunk/; revision=24165
2008-01-22 18:20:00 +00:00
Jeff Morriss 227f4e78f8 Don't update COL_INFO at all if not claiming the packet as CMPP. Add a (guessed) upper-size limit on the heuristics and take out a check that the tvb length matches the protocol length--that would essentially disable TCP reassembly of this protocol
svn path=/trunk/; revision=24164
2008-01-22 18:05:45 +00:00
Jaap Keuter 1c512cc373 From Bill Florac:
The displaying of attribute-lists in an "Attribute Reply" (ATTRRPLY) seems to
be written to display some special non-conforming attributes.  Conforming
attributes are either displayed wrong or not displayed at all.

When displaying an attributes-list in a "Service Registration" (SRVREG), the
attribute list is only displayed as a single string (and usually truncated).
While this is not wrong, it should be broken up into the comma separated
attributes as "Attribute Requests" tries to do.

svn path=/trunk/; revision=24163
2008-01-22 07:36:33 +00:00
Jaap Keuter 17a358e19c From Bill Florac:
When dissecting any message containing a "transport layer address", if the
address was NULL (which is valid), the offset pointer was not incremented by 1
and the remaining fields would not be dissected correctly.

svn path=/trunk/; revision=24162
2008-01-22 06:49:49 +00:00
Jörg Mayer bbf0b3f351 Add another vendor id
svn path=/trunk/; revision=24160
2008-01-22 02:05:21 +00:00
Stig Bjørlykke a88efc9325 From Douglas Pratley (bug 1445):
Add a "subnets" file defining a named list of subnets.

svn path=/trunk/; revision=24154
2008-01-21 21:44:34 +00:00
Anders Broman bc944d8fff Add a preferense to decode a dynamic payload type as H263-1998/H263-2000
svn path=/trunk/; revision=24153
2008-01-21 20:49:15 +00:00
Anders Broman 176925fe02 Remove duplicated OID entries and add text "(single NAL unit mode)"
to 0.0.8.241.0.0.0.0.
This time with the updated packet-h245.c

svn path=/trunk/; revision=24151
2008-01-21 06:46:58 +00:00
Anders Broman d691ac08f2 Remove duplicated OID entries and add text "(single NAL unit mode)"
to 0.0.8.241.0.0.0.0.

svn path=/trunk/; revision=24150
2008-01-21 06:28:23 +00:00
Stig Bjørlykke 86358dc032 From Olivier Montanuy (bug 2198):
Fix the bug related to Option template:
- System scope (check that options scope size is == 4, not <= 4)
- Interface scope (same)
Same fix for fields BytesExported PacketsExported FlowsExported.
Also fix some tabulations in a previous patch related to IPv6 Addresses.

svn path=/trunk/; revision=24138
2008-01-19 10:46:13 +00:00
Stig Bjørlykke 1621224a86 Free allocated data in prefs_reset, removed need for uat_reload_all and
made some cleanups in profile_dlg.

svn path=/trunk/; revision=24136
2008-01-19 01:18:35 +00:00
Stig Bjørlykke ce9142ead7 Added smi_modules_uat and smi_paths_uat to libwireshark.def.
svn path=/trunk/; revision=24134
2008-01-18 16:13:48 +00:00
Jaap Keuter 44ea74a5da Move libsmi settings from virtual mibs protocol page to name resolution page.
svn path=/trunk/; revision=24131
2008-01-18 07:18:32 +00:00
Anders Broman 6e0a5815e3 Correct a typo.
svn path=/trunk/; revision=24130
2008-01-18 05:55:58 +00:00
Anders Broman 14756d9e5d Let epan/asn1.c handle real type.
svn path=/trunk/; revision=24129
2008-01-18 05:55:24 +00:00
Jeff Morriss a07aa79b6b Strengthen heuristics a little bit, remove a useless variable, put COL_INFO check in the right place
svn path=/trunk/; revision=24126
2008-01-17 22:05:06 +00:00
Jeff Morriss f136a90eff Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2206 : don't write into COL_INFO unless we've checked that it's there first.
svn path=/trunk/; revision=24125
2008-01-17 21:40:33 +00:00
Jeff Morriss 9b495c1007 epan (libwireshark) uses getservbyport() which, at least on Solaris, is in libsocket so add libsocket (and libnsl) to libwireshark_la_LIBADD
svn path=/trunk/; revision=24121
2008-01-17 18:42:19 +00:00
Jeff Morriss ed88c589b0 Add support for DLT_SCCP (SCCP without MTP2, MTP3, or any pseudo-header).
svn path=/trunk/; revision=24119
2008-01-17 17:55:38 +00:00
Stig Bjørlykke 7fc046ab67 Hmmm. The previous ansi_tcap.cnf did not make valid code.
I hope this fix is correct...

svn path=/trunk/; revision=24118
2008-01-17 09:20:17 +00:00
Stig Bjørlykke 15a5557a3d Changed some variable types to make it compile.
svn path=/trunk/; revision=24117
2008-01-16 20:49:50 +00:00
Stig Bjørlykke 7629966a00 - Removed some unused variables in asn1 dissectors
- Fixed last parameter to cry_cipher_open() in pkcs12

svn path=/trunk/; revision=24116
2008-01-16 20:41:23 +00:00
Stig Bjørlykke 3590fc0713 Changed to checksum_good and checksum_bad to align with other dissectors.
svn path=/trunk/; revision=24115
2008-01-16 19:16:30 +00:00
Jaap Keuter 90674d7c9e Print the string to STDOUT regardless of the value of tree.
svn path=/trunk/; revision=24114
2008-01-16 18:39:32 +00:00
Martin Mathieson 511197bf71 - Display some sctpprim parameters
- Parse sctpprim v3 properly now
- Add wtp protocol name

svn path=/trunk/; revision=24113
2008-01-16 14:19:45 +00:00
Jaap Keuter 2e0f8088c3 From Jim Young:
This patch provides a new RTP Player preferences dialog.  It allows one to
select the maximum number of visable channels in the RTP Player window.  The
default is four (4) channels which is the maximum number of usable channels 
that the RTP Player can display and still have access to the bottom row buttons 
on a 1024*768 resolution display.  Specifying a value less than 1 or greater than 
10 will be result in the RTP Player displaying the default 4 channels.

svn path=/trunk/; revision=24112
2008-01-16 07:36:34 +00:00
Bill Meier c0ef7ab1ad Add ':' to some labels to prevent assembler warning messages
svn path=/trunk/; revision=24110
2008-01-16 04:04:24 +00:00
Stig Bjørlykke f60062dccc Call post dissectors with call_dissector_only() to avoid an extra Data entry
if post dissectors are disabled, as pointed out by LEGO.

svn path=/trunk/; revision=24109
2008-01-15 23:31:37 +00:00
Stig Bjørlykke 01b304a6b7 Moved a G_GINT64_CONSTANT to a more correct position.
svn path=/trunk/; revision=24108
2008-01-15 23:25:40 +00:00
Stig Bjørlykke c6ac2fd721 Fixed a small issue reporting corresponding package num for retransmitted
reports and notifications.

svn path=/trunk/; revision=24107
2008-01-15 22:32:34 +00:00
Anders Broman 5bbef7d0c0 Use G_GINT64_CONSTANT(hope it makes the OS X build bot happy).
Unused variables fix to camel.

svn path=/trunk/; revision=24106
2008-01-15 22:23:57 +00:00
Anders Broman 7e572a34c0 Use G_GINT64_CONSTANT(hope it makes the build bot happy).
svn path=/trunk/; revision=24105
2008-01-15 22:07:29 +00:00
Anders Broman a49fc8640c Use G_GINT64_MODIFIER hope it makes the build bot happy.
Probbably needed in x2ap as well (needs asn2wrs support or .cnf magic).

svn path=/trunk/; revision=24104
2008-01-15 21:57:50 +00:00
Jeff Morriss fdfaebccd1 Include dirent.h if we have it (to fix glib-1 compile: it needed DIR).
svn path=/trunk/; revision=24100
2008-01-15 19:39:31 +00:00
Jeff Morriss b128029ac4 Oops, glib's iconv stuff is in glib >= 2, not just glib > 2
svn path=/trunk/; revision=24099
2008-01-15 19:24:27 +00:00
Jeff Morriss 5ebba98529 The glib iconv routines are new to glib-2 so #ifdef around them to get glib-1 builds going again. I started to merge in using the regular iconv routines (if we don't have glib-2 but we HAVE_CONV) but the code rapidly got ugly with all the #ifdef's; it could be done but it's probably not worth the effort/ugliness.
svn path=/trunk/; revision=24098
2008-01-15 18:37:48 +00:00
Anders Broman 6cb56fba71 make per_constrained_integer handle 64bits needed for X2AP.
svn path=/trunk/; revision=24097
2008-01-15 17:59:43 +00:00
Anders Broman 0c454791f5 From Neil Piercy:
Dissect RRC NAS Message PDUs.

svn path=/trunk/; revision=24095
2008-01-15 06:54:30 +00:00
Stig Bjørlykke a2d1e9005d This patch adds support for configuration profiles, which can be used to
configure and use more than one set of preferences and configuration files.

This can be found in the "Configuration Profiles..." menu item from the Edit
menu, or by pressing Shift-Ctrl-A.  It's also possible to start wireshark
and tshark with a named profile by using the "-C ProfileName" option.
A new status pane in the main window will show the current profile.

The configuration files currently stored in the Profiles are:
- Preferences
- Capture Filters
- Display Filters
- Coloring Rules
- Disabled Protocols
- User Accessible Tables

The recent data are by design not added to the profile.

Planned future enhancements:
- make a more convenient function to switch between profiles
- add a "clone profile" button to copy an existing profile
- make the profiles list active and accept return as OK
- save users "Decode as" in the profile
- make new, clone and deletion of profiles more secure
- make some of the recent values available in the profile

This patch also fixes:
- setting default status pane sizes
- a bug setting status pane for packets when not having main lower pane.

svn path=/trunk/; revision=24089
2008-01-14 16:40:23 +00:00
Stig Bjørlykke b0c8583de7 Fixed a guint64 compile issue with a Sun C 5.8 compiler.
Fixed a tree placement.

svn path=/trunk/; revision=24086
2008-01-14 09:51:22 +00:00
Stig Bjørlykke 8b4e80384a Fixed a few "statement not reached" warnings and a "assignment type mismatch" warning.
svn path=/trunk/; revision=24085
2008-01-14 09:39:55 +00:00
Tomas Kukosa 2df94e1092 add ssl_debug_flush() at the end of initialization
svn path=/trunk/; revision=24084
2008-01-14 09:34:26 +00:00
Anders Broman aa81806094 Update package name from IANA's list.
svn path=/trunk/; revision=24078
2008-01-13 17:03:06 +00:00
Anders Broman 02c27c89f0 transactionId wasn't processed for:
SegmentReply/transactionId
TransactionReply/transactionId
TransactionPending/transactionId
Fixes bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2165

svn path=/trunk/; revision=24077
2008-01-13 16:07:52 +00:00
Graeme Lunt 8563c02137 Basic support for the LDAP start_tls extended operation and fix to match up extended operation arguments and results.
svn path=/trunk/; revision=24076
2008-01-13 14:12:47 +00:00
Graeme Lunt abdadc9eae Support for keylists for protocols that use start_tls - where SSL is negotiated at some point during a conversation and cannot be assumed on the basis of the port number alone.
Also dissection of Distinguished Names.


svn path=/trunk/; revision=24075
2008-01-13 14:10:02 +00:00
Jaap Keuter e7f4e2d6e5 From Michael Earnhart:
Patch to add cdp Power_request and Power_available fields
This added the support for the 0x0019 and 0x001a power_request and power_available fields.

Submitted patch slightly modified to present summary line and make more robust.

svn path=/trunk/; revision=24074
2008-01-13 11:56:39 +00:00
Sake Blok 6ff98095fe From Martin Peylo (bug 2184), fix for:
The current dissection of GeneralizedTime in packet-ber does not consider all
the possibilities how this field can be constructed.

According to ITU-T X.680 this field can be encoded as
YYYYMMDDhhmmss([\.,]f{1,3})?(([+-]hhmm)|Z)?
This is a regex-like expression where each letter except the literal 'Z'
represents an ASCII encoded digit.

So far only the first 14 digits are dissected and the 15th character is put
into parentheses. This may not show all available information.



svn path=/trunk/; revision=24071
2008-01-12 12:06:56 +00:00
Stephen Fisher aee504c8f5 Fix Windows warning/error: integral size mismatch
Then fix comparison of signed/unsigned warning/error


svn path=/trunk/; revision=24070
2008-01-12 06:38:09 +00:00
Jeff Morriss 01df06d697 The Windows compiler thinks that doing return(func_that_returns_void()) in a function that itself returns void is "'void' function returning a value". So don't do that.
svn path=/trunk/; revision=24068
2008-01-11 21:06:00 +00:00
Anders Broman 0b28f14940 Fix up some display filter names:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1852

svn path=/trunk/; revision=24065
2008-01-11 07:29:27 +00:00
Jaap Keuter 7def8e7b3e From Yukiyo Akisada:
This modifications are for the new protocol support.
HSE protocol was defined at Fieldbus Foundation <http://www.fieldbus.org/>.

svn path=/trunk/; revision=24064
2008-01-11 07:28:01 +00:00
Jeff Morriss d7fb23f849 Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2111 : After verifying that there's enough TVB for the smallest possible message, also verify that the length parameter in the message is at least that big.
svn path=/trunk/; revision=24063
2008-01-10 23:16:59 +00:00
Jaap Keuter 3bca993c0b Fix for bug 2187.
Don't cast so rigorously that you loose the mantissa.

svn path=/trunk/; revision=24062
2008-01-10 22:27:28 +00:00
Jeff Morriss 3be6284ef3 From Andy Chu: A dissector for China Mobile Point to Point (cmpp) protocol,
it's the SMS protocol used in China.

From me: some code cleanup and convert it from a plugin to a regular
dissector.

svn path=/trunk/; revision=24060
2008-01-10 21:23:53 +00:00
Richard van der Hoff c7f1d0b579 add some comments re desirability of renaming fields
svn path=/trunk/; revision=24059
2008-01-10 16:43:48 +00:00
Richard van der Hoff 1350d63c1e From Chris Maynard (bug 1852):
These packet-g*.c files all have display filter issues:

1) packet-gryphon.c: PROTOABBREV is "gryphon", but display filter fields are
prefixed with only "gryph".

2) packet-gmrp.c: PROTOABBREV is "gmrp", but display filter fields are prefixed
with "garp".

3) packet-gssapi.c: PROTOABBREV is "gss-api", but display filter fields are
prefixed with "gssapi".

4) packet-gvrp.c: PROTOABBREV is "gvrp", but display filter fields are prefixed
with "garp", most of which conflict with packet-gmrp.c's display filter fields.




svn path=/trunk/; revision=24058
2008-01-10 16:35:54 +00:00
Bill Meier addba66749 Use glib equivalent of ntohs
svn path=/trunk/; revision=24056
2008-01-10 14:42:55 +00:00
Guy Harris aa2d38ffb3 pinfo->pseudo_header can and should be assumed to be non-null by a
dissector.  This fixes Coverity CID 238 (as we *were* assuming it was
non-null in one statement, and then only checking it later).

Set pinfo->p2p_dir to one of P2P_DIR_RECV or P2P_DIR_SENT, as it's
supposed to be, not to a Boolean value, and explain the basis on which
it's being set.

svn path=/trunk/; revision=24055
2008-01-10 09:40:15 +00:00
Ronnie Sahlberg 7e919ef623 add support for qpi level 516 : posix acl
svn path=/trunk/; revision=24052
2008-01-09 23:10:17 +00:00
Jeff Morriss d06b283bb9 dissect_e164_cc(): when the address is BCD coded, don't increment cc_offset just to get the 2nd octet of the address (because cc_offset is used later as the offset where the CC starts).
svn path=/trunk/; revision=24050
2008-01-09 22:25:47 +00:00
Jeff Morriss 52fcbb6ed8 Display the Country Code information in a subtree of the digits (to make it obvious that it's a subfield). Add #defines for the NAI and NP values and use them rather than hex values. Initial the 'np' variable to clean up a warning.
svn path=/trunk/; revision=24049
2008-01-09 22:01:57 +00:00
Anders Broman 1b73351c8d From Shmulik Bezalel:
Present the country code description gsmmap and SCCP.
Added small ASN1 bugfix - missing EXPORTS used by gsmmap.asn(Handle older ver).

svn path=/trunk/; revision=24048
2008-01-09 21:14:01 +00:00
Anders Broman 555355cef3 In case of QoS Information, Length field is missing.
svn path=/trunk/; revision=24047
2008-01-09 20:49:33 +00:00
Jeff Morriss db8bae4fb2 When searching for EOC (because we have an indefinite length) don't stop searching just because we ran out of TVB (thus assuming that the EOC is just beyond the end of the message). Instead, try to keep going which will throw an exception (ReportedBoundsError). I had a packet which was missing the EOC (probably programmer error) and Wirshark was reporting BoundsError (Packet size limited during capture) instead of ReportedBoundsError (Malformed Packet); this patch fixes that.
svn path=/trunk/; revision=24046
2008-01-09 17:06:25 +00:00
Martin Mathieson d786333ab2 #ifdef DEBUG around left-over printfs. Should these just be deleted?
svn path=/trunk/; revision=24045
2008-01-09 16:21:03 +00:00
Tomas Kukosa 27a531e06a more sophisticated H245 OLC handling focusing on more reliable T.38 establishment
svn path=/trunk/; revision=24043
2008-01-09 13:30:31 +00:00
Martin Mathieson 4dd5de365b Explicitly check for missing NULL terminator on RTCP BYE reason string (this bug has been seen on 2 stacks now...).
Fixes bug 2180.

svn path=/trunk/; revision=24042
2008-01-09 12:39:14 +00:00
Jaap Keuter ddc87cf31b From Steve Karg:
Wireshark decodes a BACnet ReadRange Ack packet as malformed. The packet itself
is valid as checked with the BACnet 135-2004 specification.

svn path=/trunk/; revision=24039
2008-01-09 09:34:19 +00:00
Anders Broman 196fcc1932 Make ANSI IS-637-A Teleservice - "ansi_637_tele" and
ANSI IS-637-A Transpor t- "ansi_637_trans" callable by name.

svn path=/trunk/; revision=24037
2008-01-09 06:45:32 +00:00
Stig Bjørlykke 6d4a2e7ebf Changed email address for Gerald from zing.org to wireshark.org
in a lot of files, which I suppose is correct.

svn path=/trunk/; revision=24034
2008-01-08 22:54:51 +00:00
Anders Broman 785913fff3 From Shmulik Bezalel:
Add support for ucs2 on ussd string.
(Changing the font from Lucida console to Arial dissplaed all chars correctly).

svn path=/trunk/; revision=24030
2008-01-08 05:29:38 +00:00
Anders Broman 48d17b4c2f From Shmulik Bezalel:
Add support for ucs2 on ussd string.
(Changing the font from Lucida console to Arial dissplaed all chars correctly).

svn path=/trunk/; revision=24029
2008-01-08 05:18:36 +00:00
Stig Bjørlykke e63c643cb2 Add a cast.
svn path=/trunk/; revision=24028
2008-01-07 23:00:09 +00:00
Stig Bjørlykke 8959e6f766 From Balint Reczey (bug 2146):
Make it possible to write Lua dissectors that use TCP reassembly.

svn path=/trunk/; revision=24026
2008-01-07 21:24:23 +00:00
Stig Bjørlykke e14c703106 From Jim Young (bug 2162):
Patch for epan/emem.c functions ep_strndup() and se_strndup() to stop valgrind
message "invalid read of size 1".

svn path=/trunk/; revision=24023
2008-01-07 20:44:32 +00:00
Anders Broman 6bcc12eabb More Generic parameters.
svn path=/trunk/; revision=24022
2008-01-07 19:16:26 +00:00
Anders Broman 95f17aafe0 Fix Missing -z proto,colinfo,ip,gtp.teid_cp and -z proto,colinfo,ip,gtp.teid_data
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2136
Copy paseto..

svn path=/trunk/; revision=24021
2008-01-07 19:15:43 +00:00
Anders Broman 8a9aa4642b Clear up the decoding of
"USSD-DataCodingScheme ::= OCTET STRING (SIZE (1))
	-- The structure of the USSD-DataCodingScheme is defined by
	-- the Cell Broadcast Data Coding Scheme as described in
	-- TS 3GPP TS 23.038 [25]"
Partly in responce to
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2158

svn path=/trunk/; revision=24019
2008-01-06 21:55:30 +00:00
Jaap Keuter e2ca71beae Allocate enough space to make proper NULL terminated string in uat_unesc (bug 2169) and uat_unbinstring,
svn path=/trunk/; revision=24017
2008-01-06 13:09:33 +00:00
Jaap Keuter d3b3178186 Fix for bug 2026:
Clean up RTP header extension code. Remove duplicate raw presentation.

svn path=/trunk/; revision=24016
2008-01-06 11:49:32 +00:00
Anders Broman de16039c51 Get rid of dissect_ber_boolean_value() and change the signature of
dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature.
Regenerate all BER dissectors.

svn path=/trunk/; revision=24015
2008-01-04 16:21:07 +00:00
Anders Broman 73fee653de Get rid of ber_last_created_item(). (Final?)
svn path=/trunk/; revision=24010
2008-01-04 13:39:24 +00:00
Anders Broman bf7150a834 Get rid of ber_last_created_item().
svn path=/trunk/; revision=24009
2008-01-04 12:53:29 +00:00
Anders Broman a6d82ae12e Get rid of ber_last_created_item().
svn path=/trunk/; revision=24008
2008-01-04 12:39:52 +00:00
Anders Broman a67838484c Get rid of ber_created_item().
svn path=/trunk/; revision=24007
2008-01-03 17:49:59 +00:00
Anders Broman 370f87d9be Build x2ap and s1ap - needs more work, untested as no traces available yet.
svn path=/trunk/; revision=24006
2008-01-03 14:45:36 +00:00
Anders Broman f437f27567 Add s1ap - needs more work, untested as no traces available yet.
svn path=/trunk/; revision=24005
2008-01-03 14:44:26 +00:00
Tomas Kukosa 3523d6c825 get rid of get_ber_last_created_item()
svn path=/trunk/; revision=24002
2008-01-03 13:20:10 +00:00
Tomas Kukosa e6e926d5f1 get rid of get_ber_last_created_item()
svn path=/trunk/; revision=24001
2008-01-03 13:07:17 +00:00
Anders Broman d38d7348e0 Wrong string used in g_hash_table_lookup().
Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2154

svn path=/trunk/; revision=24000
2008-01-03 13:00:56 +00:00
Anders Broman 99946861ca - MAP-MS-DataTypes.asn Add Id
- Camel fix bug "bug in CAMEL ApplyCharging message."
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1719
- get rid of ber_last_created_item()
- add decoding of ServiceInteractionIndicatorsTwo items

svn path=/trunk/; revision=23999
2008-01-03 11:12:38 +00:00
Tomas Kukosa 5c4f961f6e fix warning: mark unused parameter
svn path=/trunk/; revision=23998
2008-01-03 10:07:14 +00:00
Tomas Kukosa dbd3a37c8c fix error if GNUTLS is not available
svn path=/trunk/; revision=23997
2008-01-03 09:32:12 +00:00
Martin Mathieson e7b7a51f0f Fix warnings (seen under linux + GCC 3.4.6)
svn path=/trunk/; revision=23996
2008-01-03 09:01:17 +00:00
Tomas Kukosa b762ddcf7b From Ales Kocourek
- add ability to read server private key from encrypted PKCS#12 file
- use 0.0.0.0|any|ANY as a wildcard IP address (e.g. if one certificate is used in more servers)

svn path=/trunk/; revision=23995
2008-01-03 08:24:33 +00:00
Tomas Kukosa f5614d71cd set actx->created_item for object identifier type
svn path=/trunk/; revision=23994
2008-01-03 08:19:27 +00:00
Tomas Kukosa 0d9cbb0384 register into h245.gef.name table which is already implemented
svn path=/trunk/; revision=23993
2008-01-03 08:18:11 +00:00
Tomas Kukosa a8e80e0cc9 put capability parameters into a table
svn path=/trunk/; revision=23992
2008-01-03 08:14:28 +00:00
Jaap Keuter 870c4f0dcb Fix for Bug 2156:
Correct T bit mask.

svn path=/trunk/; revision=23991
2008-01-03 07:29:34 +00:00
Anders Broman fe35806343 Add decoding of most of the generic parameters from H.241 and 3gpp.
svn path=/trunk/; revision=23987
2008-01-02 14:05:16 +00:00
Stig Bjørlykke 1bdcd82f19 Mark some unused parameters with _U_.
Added a missing return value.

svn path=/trunk/; revision=23986
2008-01-02 11:34:35 +00:00
Tomas Kukosa b1e1b232aa dissect some capability parameters
svn path=/trunk/; revision=23985
2008-01-02 11:09:36 +00:00
Tomas Kukosa 884e30a0ed update Generic Extensible Framework in H.245
- call subdissector for parameter names
- call subdissector for booleanArray and unsignedMin values

svn path=/trunk/; revision=23984
2008-01-02 11:07:44 +00:00
Martin Mathieson ee8673b457 Also show duplicate IP address in info column.
svn path=/trunk/; revision=23983
2008-01-02 10:35:20 +00:00
Graeme Lunt c68b8c3d6f An X.420 message store attribute and an X.420 heading extension.
svn path=/trunk/; revision=23982
2008-01-02 09:36:38 +00:00
Graeme Lunt 0c7876ca39 Revised X.420 dissector using separate ASN.1 modules and making the bare minimum changes to those modules that asn2wrs requires.
Also supports the X.420 message store attributes, used over P7.


svn path=/trunk/; revision=23981
2008-01-02 09:34:34 +00:00
Graeme Lunt 8a0e3ffb37 Additional EXPORTS for X.420 attributes and general fixes.
svn path=/trunk/; revision=23980
2008-01-02 09:30:45 +00:00
Graeme Lunt cad42d9103 Additional EXPORTS (for X.420 dissector) and a message store (P7) attribute.
svn path=/trunk/; revision=23979
2008-01-02 09:29:04 +00:00
Anders Broman 6f5a53b789 Add more debug info.
svn path=/trunk/; revision=23977
2007-12-30 00:03:10 +00:00
Anders Broman 88b269d724 Fix indentation somewhat.
svn path=/trunk/; revision=23976
2007-12-30 00:02:25 +00:00
Stig Bjørlykke 74f01ee7c6 Initialize se_value to avoid a warning.
svn path=/trunk/; revision=23972
2007-12-29 11:29:36 +00:00
Anders Broman 779e204759 Handle se(v) encoding and minor bug fixes.
svn path=/trunk/; revision=23971
2007-12-29 09:55:02 +00:00
Anders Broman afbb9dd6d1 Make dplay compile on Windows.
svn path=/trunk/; revision=23970
2007-12-29 09:53:48 +00:00
Sake Blok 173fe99eb5 Fix for bug 2068 from Jim Young:
After a new display filter macro (dfmacro) has been defined, the first attempt
to use the dfmacro will result in a crash of Wireshark when the closing "}"
character is entered into the "Filter:" text entry field.


svn path=/trunk/; revision=23969
2007-12-29 09:12:29 +00:00
Stephen Fisher 3f944ed30b Add preliminary dissector for network protocol used by Microsoft DirectPlay.
From Kai Blin via bug #2134.


svn path=/trunk/; revision=23968
2007-12-29 05:40:43 +00:00
Guy Harris 9a9dd48fa2 According to draft-ietf-pce-pcep-09, the LOAD-BALANCING object has no
TLVs, and has a fixed length; fix the dissector for it to check for an
exact length and not to look for TLVs.

svn path=/trunk/; revision=23967
2007-12-29 00:57:51 +00:00
Jaap Keuter 3f431f9dfb Have a filled COL_INFO, even if tree is NULL
svn path=/trunk/; revision=23966
2007-12-29 00:55:01 +00:00
Guy Harris 39dfc7b4db Rename packet-pce.c to packet-pcep.c to match the protocol name.
svn path=/trunk/; revision=23965
2007-12-28 23:08:48 +00:00
Guy Harris a930d7df28 The protocol is the "Path Computation Element communication Protocol",
or PCEP; use that rather than PCE, as per a suggestion in bug 1870.

svn path=/trunk/; revision=23964
2007-12-28 23:05:22 +00:00
Stig Bjørlykke 3fe2bbe38f Fetch ObjectName and its relative oid_info before handling an eventual error
value, so we have valid values to put in the VarBind entry.  Include the error
note text as the label.

This should fix bug 2144.

svn path=/trunk/; revision=23962
2007-12-28 22:19:33 +00:00
Tomas Kukosa 487792b348 save RTP in 16-bit linear PCM instead of 8-bit G.711 u-Law
(preparation for more codecs support via codec plugins)

svn path=/trunk/; revision=23961
2007-12-28 13:01:55 +00:00
Guy Harris 3963febfa1 Clean up indentation some more.
Don't pass an argument if the argument is overwritten before being used;
make it a local variable instead.

Combine the header and contents of an object into a single tree, as per
a suggestion in bug 1870.

Clean up some flag displays, and put fields into the protocol tree in
the order in which they appear in the packet.

svn path=/trunk/; revision=23960
2007-12-28 11:23:23 +00:00
Tomas Kukosa 7529f33437 support for additionally SIZE constrained Typereference
the support is only semiautomated as this feature does not occur very often
use this feature for the TBCD-STRING in the H.225 dissector

svn path=/trunk/; revision=23958
2007-12-28 10:42:44 +00:00
Jaap Keuter cec1f884e9 Add submission port dissection.
svn path=/trunk/; revision=23957
2007-12-28 09:09:09 +00:00
Guy Harris 773e1d9b3f Indicate what the current versions of the I-Ds for PCE are; also point
to some RFCS.

Get rid of an unused dissector table and unused dissector handle.

Add #defines for the object header length and the minimum lengths of
various objects.

Don't use DISSECTOR_ASSERT() to check the contents of a packet - it is
by definition a bug in a dissector if DISSECTOR_ASSERT() is called, and
making a dissector call DISSECTOR_ASSERT() if a value that could
conceivably appear in a packet does appear in a packet is introducing a
known bug into a dissector.

Add more length checks - and use checked lengths for items rather than
updating lengths incrementally.

Clean up indentation and a bunch of other stuff.

svn path=/trunk/; revision=23955
2007-12-28 03:06:30 +00:00
Sake Blok 64e951145e Preserve can_desegment status when passing the decrypted ssl-data to a subdissector
svn path=/trunk/; revision=23954
2007-12-28 01:23:01 +00:00
Guy Harris f004da7b19 Fix a comment to reflect two possible reasons for a bogus PDU length.
svn path=/trunk/; revision=23953
2007-12-27 21:06:47 +00:00
Jaap Keuter 551f6f475a Fix for bug 2141:
Based on the analysis from Jim Young added some DISSECTOR_ASSERT calls to make sure
the dissection will procede through the packet data.

svn path=/trunk/; revision=23951
2007-12-27 12:00:45 +00:00
Jaap Keuter 7e262d1ccb From Francis Dupont:
DHCPv6 dissector is pretty old, i.e., it needs some updates (provided in the patch).
For instance, RFC 5007 (leasequery) is not taken into account.

svn path=/trunk/; revision=23950
2007-12-27 10:38:03 +00:00
Sake Blok 9ad27ce239 Fix for bug 1586: When proxying a tcp connection (mostly used with ssl over an
http proxy), let the proxied protocol take care of reassembly itself.


svn path=/trunk/; revision=23949
2007-12-26 18:28:31 +00:00
Anders Broman 6fbf8be77d Build with assembler support (NASM).
svn path=/trunk/; revision=23947
2007-12-25 15:55:19 +00:00
Jaap Keuter 05b530033e Defining INTERFACE causes a clash with Win32 defines. Moving to ATTR_*
svn path=/trunk/; revision=23946
2007-12-24 16:27:27 +00:00
Jaap Keuter c84621caba From Abhik Sarkar:
In packet-gsm_sms.c, in function dis_field_ud_iei, it is assumed that the UDHL
must be greater than 2 (because it is expected that IEIa and IEIDLa will be 
one byte each and the rest will be IEIDa). 
However, there are some cases in which UDHL can be 2. For example, in 3GPP 23.048.

svn path=/trunk/; revision=23945
2007-12-24 11:16:06 +00:00
Jaap Keuter 93ef681227 From Andreas St:
In our communication systems, we make use of the RTP header extension to encode
signalling information in the form of a bit mask. To improve our debugging, we
extended the default RTP dissector to call back any subdissector registering
for a particular RTP payload type string. This allows to render the value of
the header extension in a different, more flexible way compared to the default
numeric representation, such as in form of a subtree.

svn path=/trunk/; revision=23943
2007-12-23 20:10:57 +00:00
Stephen Fisher 6b15e7971f Fix warning/error on Windows buildbot with conversion from unsigned short to
unsigned char at line 1958.


svn path=/trunk/; revision=23942
2007-12-23 19:32:08 +00:00
Jaap Keuter 68e1ecc758 From Silvia Cristina Tejedor:
New dissector for the protocol PCE

svn path=/trunk/; revision=23941
2007-12-23 14:19:48 +00:00
Jaap Keuter f37c29c2f5 Use proto functions i.s.o. manipulating node data directly.
svn path=/trunk/; revision=23940
2007-12-23 14:18:27 +00:00
Michael Tüxen dc167cef52 Add handling of "Rejected due to security considerations" error cause.
Reported by Holger Epper.

svn path=/trunk/; revision=23939
2007-12-22 20:30:23 +00:00
Jaap Keuter abe4e72137 Describe text only field as "Text Item", shown in status bar.
Improve documentation headers.

svn path=/trunk/; revision=23938
2007-12-22 10:47:26 +00:00
Stephen Fisher 9f3a1c549c From Peter via bug #1689:
Patch to fix problem where compilation fails if you have libgcrypt installed
without gnutls.


svn path=/trunk/; revision=23937
2007-12-21 23:02:00 +00:00
Stig Bjørlykke 382bedb6ca Added type=value to BuiltInDomainDefinedAttributes items.
svn path=/trunk/; revision=23933
2007-12-21 13:23:52 +00:00
Michael Tüxen ec06660011 Fix the handling of error parameters. Reported by Holger Eppert.
svn path=/trunk/; revision=23932
2007-12-21 11:06:21 +00:00
Jaap Keuter 7a76c45b04 From Abhik Sarkar:
This patch adds initial support for statistics to the SMPP dissector using the Stats Tree API.

svn path=/trunk/; revision=23931
2007-12-21 08:16:47 +00:00
Gerald Combs 7a3bc302d9 Fix some casts.
svn path=/trunk/; revision=23930
2007-12-20 17:34:39 +00:00
Stig Bjørlykke 1dbf329466 Added Precedence and Importance to COL_INFO.
svn path=/trunk/; revision=23929
2007-12-20 14:18:38 +00:00
Stig Bjørlykke 1c68fd7a75 Added total retransmission time analysis field.
svn path=/trunk/; revision=23924
2007-12-19 11:25:47 +00:00
Martin Mathieson 2346d8280c Report duplicate IP addresses based on observed ARP requests & responses.
Turned on by default (otherwise no-one will find it).

svn path=/trunk/; revision=23923
2007-12-19 10:49:22 +00:00
Stig Bjørlykke 6f9241bca7 - Added first version of P_Mul sequence analysis.
- Added expert info for Discard_Message_PDU.

svn path=/trunk/; revision=23922
2007-12-19 10:05:42 +00:00
Stig Bjørlykke 88216b4940 Added total retransmission time analysis field.
svn path=/trunk/; revision=23920
2007-12-19 09:38:03 +00:00
Jaap Keuter 0eb257e087 No extended characters here please.
svn path=/trunk/; revision=23918
2007-12-18 22:43:29 +00:00
Jaap Keuter 38f3dff73b From Alex Burlyga:
When parsing nfsv4 GETATTR reply in attribute fs_location wireshark displays incorrect content for the attribute value. It looks like instead of parsing as rpc arrays, value gets parsed as 
rpc linked list. This patch which fixes the problem
I also noticed that FATTR4_MOUNTED_ON_FILEID attribute is not getting parsed, so I added parsing for that as well.

svn path=/trunk/; revision=23917
2007-12-18 22:41:25 +00:00
Tomas Kukosa 48eb58a0d4 do not align before enumerated extension
svn path=/trunk/; revision=23916
2007-12-18 10:15:31 +00:00
Tomas Kukosa 2dbe8bb2ac fix bug 2112
svn path=/trunk/; revision=23915
2007-12-18 09:51:49 +00:00
Guy Harris 255f856ec1 It appears that some fields in the Prism header might have a DID value
of 0, and that appears to mean that they're not present.  Check for
that, as well as the status.

svn path=/trunk/; revision=23914
2007-12-18 09:31:54 +00:00
Guy Harris d51919864f Put radio information from a pseudo-header into its own protocol tree
item, as is done for radio information in a Prism, AVS, or radiotap
header.

svn path=/trunk/; revision=23913
2007-12-18 09:22:17 +00:00
Guy Harris 2def545803 Interpret the signal and noise values in an AVS header appropriately, as
per the signal type (and as per a noise value of 0xffffffff meaning no
noise value was provided).

svn path=/trunk/; revision=23912
2007-12-18 08:57:17 +00:00
Guy Harris 9198a2a166 Fold the Prism and AVS header dissectors into packet-ieee80211.c, and
have them use least some of the radio-information fields, so that the
same field name can be used for multiple radio header types.  The AVS
header can supply the data rate in bits/second, so have that field be in
those units, and make it 64 bits to leave room for the future, Just In
Case.  Display it as Mb/s, however.

svn path=/trunk/; revision=23911
2007-12-18 08:01:11 +00:00
Jörg Mayer c2390c4ef7 Bugfix: Array overflow (found by gcc43)
svn path=/trunk/; revision=23907
2007-12-18 00:44:49 +00:00
Sake Blok 1d52172cd4 Bug 2116 - From Lawrence Reisler :
During a regular Wireshark trace of UCP packets running over ethernet, I noted
that Wireshark said the login packet was malformed, even though it looked OK
and the server responded correctly.  After looking at the UCP protocol, it
became clear that Wireshark was parsing a type 60 message which only has one
Reserverd field (RES1) and expecting it to have two Reserved fields (RES1 and
RES2) like a type 61 message.  This is because it is using the same function to
parse both messages, and does not have a conditional for the type 60 field.



svn path=/trunk/; revision=23903
2007-12-17 23:11:04 +00:00
Stephen Fisher d00059d2bc From metatech:
New dissector for RTMP(T) protocol

via bug #2078


svn path=/trunk/; revision=23902
2007-12-17 20:43:38 +00:00
Jeff Morriss 407007d14a From Kaul: s/SERIAL_NUMBER_LENGTH/SCTP_SERIAL_NUMBER_LENGTH to fix a duplicate definition on Windows (not sure why Kaul is seeing that but oh well).
svn path=/trunk/; revision=23899
2007-12-17 19:25:16 +00:00
Tomas Kukosa b433163b3f - use structure instead of many global variables for channel setup
- move channel setup code to one function
- support RFC2198 dynamic payload type setup

svn path=/trunk/; revision=23898
2007-12-17 12:16:38 +00:00
Stig Bjørlykke 3d7d0393b2 From RuudS:
Patch to LUA to implement byte arrays.

This fixes bug 2110.

svn path=/trunk/; revision=23896
2007-12-17 09:00:45 +00:00
Guy Harris 80039e2976 For captures on a Linux GRE interface, put a field into the protocol
tree with the GRE protocol type value.

svn path=/trunk/; revision=23894
2007-12-16 22:46:42 +00:00
Stig Bjørlykke e29ba5decf From Timo Teras:
The attached patch checks sll_hatype field type and if suggest capture on GRE
interface, the packet will be dissected using GRE dissector table. Also prints
physical addresses with length 4 as IPv4 addresses.

This fixes bug 2105.

svn path=/trunk/; revision=23892
2007-12-16 21:04:08 +00:00
Stig Bjørlykke 67261c278c Comment out unused code.
svn path=/trunk/; revision=23891
2007-12-16 20:27:55 +00:00
Anders Broman 8b342ea896 Update comments.
svn path=/trunk/; revision=23889
2007-12-16 17:43:10 +00:00
Anders Broman e39e24d262 Add a few more bits.
svn path=/trunk/; revision=23888
2007-12-16 17:42:35 +00:00
Stig Bjørlykke fa34d46851 From Fulko Hew:
1/ patches to support the libpcap/SITA format 'WTAP_ENCAP_SITA'.
2/ patches to the LAPB dissector to accept MLP (Multi-link protocol)
   (although MLP dissection has _not_ been added (yet)).
3/ New protocol dissectors for:
   a) SITA's WAN layer 0 status header,
   b) An airline protocol ALC,
   c) An airline (and other industry) protocol UTS.

These patches are submitted as a set since the new protocol dissectors are not
useful without the libpcap/SITA related changes, and there is no point in
having those changes without the additional dissectors.

This fixes bug/enhancement 2016.

svn path=/trunk/; revision=23885
2007-12-16 14:21:37 +00:00
Stig Bjørlykke 0238daecf6 From Jim Young:
Fixed reading uat personal files before global files.

This fixes bug 2070.

svn path=/trunk/; revision=23883
2007-12-16 13:17:37 +00:00
Sake Blok 4f05930abe Big 2104 - From Benn Bollay:
This patch adds a heuristic dissector to the ethernet trailer under the
keystring "eth.trailer".  This allows for other protocol plugins which coopt
the ethernet trailer for their own devices to register for trailer traffic
without requiring any further changes to the executable.


svn path=/trunk/; revision=23880
2007-12-16 00:35:34 +00:00
Sake Blok 8f7d4aff96 Fixes the "follow tcp stream" output when there are frames missing in the
capture file that were actually on the wire. The reassembly code waited for 
the gaps to be filled in by retransmissions, which would never come.

With this fix all acknowledged data will be output with "[xxx bytes missing in 
capture file]" inserted in every gap.


svn path=/trunk/; revision=23878
2007-12-15 23:25:05 +00:00
Guy Harris 4b2ce71547 Get rid of another non-ASCII character.
svn path=/trunk/; revision=23877
2007-12-15 19:36:25 +00:00
Martin Mathieson b54b6b4af0 Fix preference text (SDP isn't only carried over SIP).
svn path=/trunk/; revision=23876
2007-12-15 18:26:21 +00:00
Graeme Lunt 9c6ac3835f Revised DAP dissector using latest asn2wrs features (requiring fewer changes the ASN.1 module) and table-driven operations.
svn path=/trunk/; revision=23875
2007-12-15 15:21:25 +00:00
Graeme Lunt 7a5f960bb7 Add missing proto_get_id
svn path=/trunk/; revision=23874
2007-12-15 15:17:07 +00:00
Jaap Keuter 4c8455b1fd Clean up header field info comments.
svn path=/trunk/; revision=23872
2007-12-15 13:21:05 +00:00
Jaap Keuter 74cf6511fb Cleanup call_dissector / call_dissector_only
svn path=/trunk/; revision=23871
2007-12-15 13:20:17 +00:00
Anders Broman 16341e7365 - Add col info.
- Small bugfix (duplicated tree info).
- Dissect first few bits for more NAL units

svn path=/trunk/; revision=23870
2007-12-15 13:06:35 +00:00