Commit Graph

8710 Commits

Author SHA1 Message Date
Graham Bloice 814535f788 Added decoding of object 110 (Octet string), fixed reassembly if transport frame doesn't start with 0.
svn path=/trunk/; revision=25431
2008-06-05 10:32:51 +00:00
Martin Mathieson 5b61d692ae Fix operator precedence problem.
svn path=/trunk/; revision=25430
2008-06-05 09:15:42 +00:00
Jeff Morriss cb5cae1eed Correct math for counting how many TSNs were GAP acknowledged
svn path=/trunk/; revision=25429
2008-06-05 01:29:58 +00:00
Guy Harris c35f2808b3 Get rid of unused variable.
svn path=/trunk/; revision=25428
2008-06-04 20:53:06 +00:00
Anders Broman 8b2750fbad A basic mp4v-es dissector.
svn path=/trunk/; revision=25427
2008-06-04 20:34:42 +00:00
Martin Mathieson acd6d3fb35 - Make FP radio division mode/speed explicit in struct for R7
- Various R7 fixes












svn path=/trunk/; revision=25425
2008-06-04 17:33:48 +00:00
Guy Harris 5d522be77d Get rid of one extra reference for our own g_ascii_strtoull().
svn path=/trunk/; revision=25424
2008-06-04 02:12:57 +00:00
Guy Harris 160a305efa g_ascii_strtoull() is in GLib 2.2 and later, and we require GLib 2.4 or
later, so there's no longer any need to have our own g_ascii_strtoull.

svn path=/trunk/; revision=25423
2008-06-04 01:30:40 +00:00
Guy Harris caa183b45b We require GLib 2.4 or later, and they define G_MININT32, G_MAXIN32,
G_MAXUINT32, and G_MAXUINT64; don't check whether we need to define them
ourselves.

svn path=/trunk/; revision=25420
2008-06-03 23:57:47 +00:00
Jaap Keuter 748437f43d From Frank Schorr:
The get_ifcp_pdu_len() call used for the tcp_dissect_pdus() call does not mask
off the frame length properly.  The result is that the "Flags" field
incorrectly becomes the high order part of the Frame Length.

svn path=/trunk/; revision=25416
2008-06-03 21:24:25 +00:00
Jaap Keuter c47e8dab0c From Frank Schorr:
RFC 4172 section 5.3.1 shows a chart of the iFCP encapsulated Header Format.
It says that bytes 4-7 MUST be zeros.  In reality most vendors are putting some
information in these 4 bytes, particularly Nishon. This caused almost all iFCP
packets to not be decoded for this vendor.

svn path=/trunk/; revision=25415
2008-06-03 20:41:12 +00:00
Anders Broman 2640b786f4 Fix run checkapi for more targets.
svn path=/trunk/; revision=25414
2008-06-03 05:35:19 +00:00
Stig Bjørlykke 561f66c1b8 Added an option to set default link-layer header type for each interface.
Set linktype history for each interface so we don't mix them.
Fixed some indents.

svn path=/trunk/; revision=25411
2008-06-02 17:45:03 +00:00
Stig Bjørlykke d58dd2088f From Rudolf Weidmann (bug 2583):
Fixed enumeration type for new-mode in change-of-life-safety.

svn path=/trunk/; revision=25409
2008-06-02 07:32:55 +00:00
Guy Harris f4cbe1fea9 Include <string.h> to declare strcmp().
svn path=/trunk/; revision=25403
2008-05-30 05:46:24 +00:00
Guy Harris a040608bbb g_strcmp0() only shows up on the Intarweb in documentation for some
testing version of GLib; it doesn't appear to exist in any current
versions.  There's no need to "gracefully" handle NULL (whatever
"gracefully" means in this context - NULL compares less than any real
string?), as we already checked whether mac_name is null, and we're
comparing it against a string constant; just use strcmp().

In ssh_gslist_compare_strings(), check for null pointers for now.

strcmp() (and strcmp-alikes) don't return a boolean, they return a value
such that comparing strings with a particular operator is done by
comparing the result of strcmp() with 0 using that operator; do that, to
make it clearer that the strings are being compared for equality.

svn path=/trunk/; revision=25402
2008-05-30 05:19:54 +00:00
Stephen Fisher 1fc6505fb8 From Kees Cook via bug #2577 (with minor modifications by me):
provide more detailed SSH dissection


svn path=/trunk/; revision=25397
2008-05-30 02:13:30 +00:00
Guy Harris aa7dfb40e0 A MAC address is a sequence of 6 8-bit unsigned values (guint8), not a
sequence of 6 ASCII characters (gchar).

svn path=/trunk/; revision=25395
2008-05-30 00:01:24 +00:00
Guy Harris ef86058bfe For a character string, use an array of char, not an array of guint8
(the characters are all digits), and, to point to it, use a pointer to
char rather than a pointer to guint8.

svn path=/trunk/; revision=25394
2008-05-29 23:53:19 +00:00
Guy Harris bdd6b807d7 Note underflow/overflow possibilities (there used to be checks that
clamped at TIME_T_MIN and TIME_T_MAX, but newer versions of GCC
"helpfully" warn that the usual checks for overflow or underflow "can't
fail").

svn path=/trunk/; revision=25391
2008-05-29 16:51:49 +00:00
Martin Mathieson c0353af700 Missed "bytes" -> "bits" changes.
svn path=/trunk/; revision=25387
2008-05-27 19:00:47 +00:00
Martin Mathieson f4981baf47 Type 2 hsdsch data is different (size in bytes and byte-aligned).
svn path=/trunk/; revision=25386
2008-05-27 16:08:08 +00:00
Martin Mathieson 44c5c69d04 Fix max pdu size in hsdsch alloc type 2.
svn path=/trunk/; revision=25385
2008-05-27 11:13:57 +00:00
Martin Mathieson 9fbeaf2d28 Enable R7 FP for UDP-based variants.
Correct interpretation of hs-dsch outhdr flag.









svn path=/trunk/; revision=25384
2008-05-27 10:58:15 +00:00
Jaap Keuter c5e9eb9df7 From Balint Reczey:
The attached patch extends LAPD dissector to handle LAPD frames sent as RTP payload.

svn path=/trunk/; revision=25381
2008-05-26 20:52:38 +00:00
Ronnie Sahlberg 861761ef7c dissect te lock structures in the LOCK request
svn path=/trunk/; revision=25378
2008-05-26 02:51:36 +00:00
Martin Mathieson fd6090cff6 Add these functions as requested in bug 2553.
svn path=/trunk/; revision=25377
2008-05-25 23:55:36 +00:00
Martin Mathieson dbb97069a4 More R7 tweaks and comment updates.
svn path=/trunk/; revision=25376
2008-05-25 23:12:56 +00:00
Jaap Keuter 734f20160a From Alex Turbov:
Show result code of last SSI operation with a human readable description.

svn path=/trunk/; revision=25375
2008-05-23 19:07:46 +00:00
Jaap Keuter 07f365a68d From Alex Turbov:
Dissector for given SNAC has a bug with actual sizeof of rate_class and
rate_group structure. So in UI clicking on 'Available Rate Classes' and
concrete 'Rate Group 0x??' items in decoded packet window higlight incorrect
bytes in hexdump window.

svn path=/trunk/; revision=25374
2008-05-23 19:06:16 +00:00
Ronnie Sahlberg bf7660d271 add more dissection of FIND infolevels
update the BREAK dissection


svn path=/trunk/; revision=25371
2008-05-23 11:31:01 +00:00
Anders Broman 7a57ee1f01 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25369
2008-05-23 06:06:33 +00:00
Anders Broman 36d89bb79c Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25368
2008-05-23 05:55:34 +00:00
Ronnie Sahlberg af748dc493 add dissectors for some more FIND info levels FileBothDirectoryInfo and
FileIdBothDirectoryInfo


svn path=/trunk/; revision=25366
2008-05-23 04:44:23 +00:00
Ronnie Sahlberg e98012570b enhance the FIND dissector
svn path=/trunk/; revision=25365
2008-05-23 04:20:54 +00:00
Ronnie Sahlberg 9aa916dc74 update the dissection of NOTIFY
svn path=/trunk/; revision=25364
2008-05-23 02:51:14 +00:00
Ronnie Sahlberg 60d4c486f9 updte the CLOSE dissector
svn path=/trunk/; revision=25359
2008-05-23 01:28:11 +00:00
Ronnie Sahlberg cdc9669337 update to the ioctl dissector
svn path=/trunk/; revision=25358
2008-05-23 01:07:22 +00:00
Bill Meier f572cd1a85 Set for automatic overwrite for xcopy of mkstemp.c, etc
svn path=/trunk/; revision=25356
2008-05-23 00:25:20 +00:00
Ronnie Sahlberg 425861d446 iupdates to the dissection of READ and LOCK for smb2
svn path=/trunk/; revision=25355
2008-05-23 00:21:58 +00:00
Jeff Morriss a5cee04fad Move the file utility functions from wiretap to libwsutil so that
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.

While doing that, rename the eth_* functions to ws_*.

svn path=/trunk/; revision=25354
2008-05-22 15:46:27 +00:00
Stig Bjørlykke 3e7bca5b71 Initialize response_time.
svn path=/trunk/; revision=25350
2008-05-22 09:36:01 +00:00
Martin Mathieson 4cbc427bb6 Calculate and display SIP response time.
svn path=/trunk/; revision=25349
2008-05-22 09:29:29 +00:00
Jeff Morriss 35ff3c851b A slightly more complicated have_postdissector() (missed in my previous checkin--thanks Bill) which also checks if the postdissectors are enabled.
svn path=/trunk/; revision=25347
2008-05-21 20:20:37 +00:00
Bill Meier fd245e378f Reword comment a bit ...
svn path=/trunk/; revision=25345
2008-05-21 18:08:43 +00:00
Bill Meier 59d2c9eb92 boolean -> gboolean
svn path=/trunk/; revision=25344
2008-05-21 16:56:50 +00:00
Bill Meier bf018e2a96 Fix for bug #2470; (don't memcmp past end of g_malloc'd buffer).
svn path=/trunk/; revision=25343
2008-05-21 16:53:07 +00:00
Bill Meier ad761ed3fd Add missing have_postdissector(); (Hopefully what was intended).
svn path=/trunk/; revision=25342
2008-05-21 16:40:15 +00:00
Jeff Morriss a2ab3791f4 Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2549 : make the frame dissector catch exceptions generated by post dissectors.
svn path=/trunk/; revision=25339
2008-05-21 14:18:37 +00:00
Anders Broman 8a1e393ce4 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25337
2008-05-21 06:10:27 +00:00