Commit Graph

8672 Commits

Author SHA1 Message Date
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
Anders Broman fb3d2f316b Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25336
2008-05-21 05:52:12 +00:00
Anders Broman 45b3155321 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25335
2008-05-21 05:41:39 +00:00
Bill Meier 34b16e6223 Use the correct name for libwsutil
svn path=/trunk/; revision=25333
2008-05-20 23:41:10 +00:00
Ulf Lamping 27c176e4ff the define INET6_ADDRSTRLEN makes trouble with Microsoft Platform SDK: ws2tcpip.h and is used nowhere (with the exception of to_str.c which has it's own definition)
comment out this definition

If I made a mistake and it's really used somewhere, we could add #ifndef INET6_ADDRSTRLEN as it's done in to_str.c

svn path=/trunk/; revision=25331
2008-05-20 21:57:14 +00:00
Jeff Morriss 58459d3fba Create a new "Wireshark utility" library and move the mpeg-audio stuff from
wiretap to this new libwsutil.  This solves
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677 by making libwireshark
no longer depend on libwiretap.

svn path=/trunk/; revision=25330
2008-05-20 21:51:01 +00:00
Jaap Keuter 5364227de0 Fix for bug 2554:
Implement PIM-DM type 9 message.

svn path=/trunk/; revision=25329
2008-05-20 20:06:03 +00:00
Martin Mathieson 37217be839 When extending values, extra bits are always m.s.
svn path=/trunk/; revision=25328
2008-05-20 16:36:29 +00:00
Jeff Morriss 73c7570102 Undo rev 24518 and (re)fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2291 .
svn path=/trunk/; revision=25327
2008-05-20 14:30:01 +00:00
Martin Mathieson ec60070b2c Enable FP R7 support.
This commit adds a header file needed by my PDCP dissector.
(not yet ready to be added).

svn path=/trunk/; revision=25326
2008-05-20 10:08:28 +00:00
Martin Mathieson 6492c8e5d0 Minor formatting improvements.
svn path=/trunk/; revision=25324
2008-05-20 09:22:06 +00:00
Jaap Keuter de0c168cbf From Steve Karg:
Added src and dst to BACnet MS/TP WTAP dissector.  Added BACnet MS/TP summary
with src, dst, and frame type to tree.  Removed src and dst in column info text
since this was duplicated.  Changed field names for src, dst, hdr, and len to
be more consistent with other protocols.

svn path=/trunk/; revision=25323
2008-05-20 06:52:22 +00:00
Jaap Keuter d967c76c2f Add PTV cursor API to Win32 exported functions
svn path=/trunk/; revision=25322
2008-05-20 06:29:11 +00:00
Jaap Keuter 1fb551a7ba Clean up PTV cursor documentation.
svn path=/trunk/; revision=25321
2008-05-20 06:28:12 +00:00
Stephen Fisher 4d2bcc1af9 Fix bug #2531: UDP packet on port 8000 incorrectly dissected as OICQ protocol.
Changed OICQ dissector to be a new style dissector that checks to make sure
two of the fields match defined string values before continuing dissection.


svn path=/trunk/; revision=25317
2008-05-17 23:40:07 +00:00
Anders Broman d03fa8ee26 If H.248 is in otp internal format call the h248_otp dissector, work in progress.
svn path=/trunk/; revision=25310
2008-05-16 16:34:23 +00:00
Bill Meier b42aec2948 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25308
2008-05-15 13:22:06 +00:00
Bill Meier b3aa52f573 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25307
2008-05-15 12:54:27 +00:00
Bill Meier 558c1b5ee6 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25306
2008-05-15 12:08:20 +00:00
Bill Meier 931cc922a1 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25305
2008-05-15 01:44:53 +00:00
Anders Broman 3456e3bac6 Do not export the depreciated functions proto_tree_add_xx_hidden()
any more.

svn path=/trunk/; revision=25295
2008-05-14 08:01:33 +00:00
Anders Broman 2e0c1810e7 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25294
2008-05-14 07:35:52 +00:00
Jaap Keuter 23df06b7a6 From Steve Karg:
Added MS/TP decoding for the WTAP BACnet MS/TP datalink, and added decoding for
BACnet MS/TP datalink from a Cimetrics U+4 which spews SNAP protocol packets.

svn path=/trunk/; revision=25291
2008-05-14 05:44:42 +00:00
Bill Meier 44af6ef887 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25290
2008-05-14 01:47:41 +00:00
Sake Blok cae5293711 Fix the tcp reassembly routine in epan/follow.c :
- Don't do '<gulongvar>-<gulongvar> > 0' as it will always be true :-)
- Handle the case where a segment is partially retransmitted



svn path=/trunk/; revision=25289
2008-05-13 22:45:04 +00:00
Bill Meier 9ca142b160 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25282
2008-05-13 01:23:37 +00:00
Martin Mathieson aad8618736 HS-DSCH type 2 bug fix + prettification.
svn path=/trunk/; revision=25277
2008-05-12 16:25:49 +00:00
Bill Meier fe5c2d9820 g_string_sprintf --> g_string_printf and g_string_sprintfa --> g_string_append_printf
svn path=/trunk/; revision=25276
2008-05-11 18:33:49 +00:00
Bill Meier 61465d4141 Fix some of the Errors/warnings detected by checkapi
svn path=/trunk/; revision=25274
2008-05-11 17:27:41 +00:00
Bill Meier 392d7f7376 Convert C++ style comments ...
svn path=/trunk/; revision=25273
2008-05-11 17:18:59 +00:00
Martin Mathieson a807004fa9 Add define for new channel type.
svn path=/trunk/; revision=25272
2008-05-11 01:09:30 +00:00
Martin Mathieson ee26858622 Added HS-DSCH data frame type 2 (currently only compile-tested).
svn path=/trunk/; revision=25271
2008-05-11 00:46:25 +00:00
Jaap Keuter cacee64927 From Hans-Peter Bock:
Attached to this post you find a patch for integration into wireshark that adds
a dissector for SERCOS III, ethertype 0x88cd.

svn path=/trunk/; revision=25270
2008-05-10 14:44:32 +00:00
Jaap Keuter 098f95fad9 From Steve Karg:
Corrected decode of a BACnet ReadRange request with no range specified (i.e. all) 
which showed ‘malformed packet’ in the decoder.

svn path=/trunk/; revision=25269
2008-05-10 06:25:07 +00:00
Guy Harris 8d1a5fd0bd Redo the loops a bit; that fixes an uninitialized variable, and moves
the increments a bit closer to the point of use.

(XXX - is there more than one place where we turn a sequence of hex
digits into a string?  If so, we should make it a common utility.)

svn path=/trunk/; revision=25268
2008-05-09 18:45:22 +00:00
Martin Mathieson 275c415f7e Add a couple of missing HS-DSCH data frame fields.
svn path=/trunk/; revision=25267
2008-05-09 17:46:45 +00:00
Guy Harris 4567d72fdc Null-terminate the hex-to-text-converted string.
svn path=/trunk/; revision=25266
2008-05-09 16:30:05 +00:00
Guy Harris 69efaa363d sprintf() and strtoul() are massive overkill for turning a string of hex
digits into a string of characters; use g_ascii_xdigit_value() to
convert individual hex digit characters to their hex value - and check
whether it succeeds or not, so we catch invalid hex digits! - and just
append the resulting byte value to the string.

Handle the case where compute_ascii_key() fails.

svn path=/trunk/; revision=25265
2008-05-09 16:15:22 +00:00
Anders Broman e623809550 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25264
2008-05-09 13:59:10 +00:00