Commit Graph

9017 Commits

Author SHA1 Message Date
Anders Broman 9fc3601684 Revert previous change.
svn path=/trunk/; revision=25664
2008-07-02 18:11:27 +00:00
Anders Broman b17f41d62a See if this gets rid of some unused code warnings...
svn path=/trunk/; revision=25663
2008-07-02 16:32:48 +00:00
Guy Harris 35ce35ebf5 Include the new Makefile.common file.
svn path=/trunk/; revision=25659
2008-07-02 02:18:53 +00:00
Guy Harris a04774395f Add Makefile.common files for epan/dfilter and epan/ftypes.
Add checkapi rules to Makefile.am files.

svn path=/trunk/; revision=25656
2008-07-02 01:44:30 +00:00
Guy Harris b6e20d89be Put printf into a separate "termoutput" API group. For most files,
check for it - but not for TShark plugins, as they are expected to
print to the standard output.

svn path=/trunk/; revision=25653
2008-07-01 21:13:32 +00:00
Anders Broman df8081391b Fix bug "iax2 dissector always reports retransmission bit to be false"
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2666

svn path=/trunk/; revision=25652
2008-07-01 21:05:45 +00:00
Anders Broman 8a59a33405 Get rid of some unused code warnings. Hopefully without breaking anything.
svn path=/trunk/; revision=25651
2008-07-01 20:53:22 +00:00
Anders Broman f56f92673e Update the ASN.1 files.
svn path=/trunk/; revision=25648
2008-07-01 19:58:01 +00:00
Anders Broman 4cd09cde05 Get rid of some unused code warnings.
svn path=/trunk/; revision=25647
2008-07-01 19:57:03 +00:00
Anders Broman bd0598cc55 Get rid of some unused code warnings.
svn path=/trunk/; revision=25645
2008-07-01 12:55:08 +00:00
Anders Broman fbcb77edf8 Get rid of some unused code warnings.
svn path=/trunk/; revision=25644
2008-07-01 12:54:33 +00:00
Guy Harris 64aac645aa unicode-utils.h is in wsutil now.
svn path=/trunk/; revision=25643
2008-07-01 02:57:35 +00:00
Jeff Morriss 3a2848cf46 SET_ADDRESS should not be called with an address type of FT_IPv4 but rather AT_IPv4.
svn path=/trunk/; revision=25642
2008-06-30 18:57:13 +00:00
Jeff Morriss 8980883a4e Move privileges.c and unicode-utils.c symbols from epan to wsutil
svn path=/trunk/; revision=25641
2008-06-30 18:07:34 +00:00
Jeff Morriss 83f9ecf96f Move privileges.c and unicode-utils.c from epan to wsutil (so things like
capinfos and dumpcap don't need to depend on libwireshark nor directly pull
in those modules).  Because capinfos and editcap were only being linked with
privileges.c if we had plugins, this allows those programs to be linked when
someone is compiling --without-plugins.

svn path=/trunk/; revision=25640
2008-06-30 17:16:29 +00:00
Jeff Morriss e62c7c54d1 Create the MTP3 TVB (if any) with a reported length that mirrors the reported length of the frame. That way subdissector exceptions on short frames will (properly) show up as 'packet size limited during capture'.
svn path=/trunk/; revision=25637
2008-06-30 15:23:11 +00:00
Jaap Keuter 98899e9996 Fix for bug 2659:
Account for IPv6 addresses representation in Via header.

svn path=/trunk/; revision=25635
2008-06-30 06:35:22 +00:00
Michael Tüxen 5429cd6600 * Fix a bug reported by Peter Hertting: Handle more than one integer interface identifier.
* Call parameters parameter.
* List integer interface ranges in range parameters.


svn path=/trunk/; revision=25631
2008-06-29 10:15:41 +00:00
Bill Meier 33af75a599 Fix some warnings reported by gcc -Wshadow ...
svn path=/trunk/; revision=25628
2008-06-28 21:09:57 +00:00
Anders Broman d897f46ed2 Get rid of some unused code warnings.
svn path=/trunk/; revision=25627
2008-06-28 20:58:35 +00:00
Anders Broman c756e273f9 Get rid of some unused code warnings.
svn path=/trunk/; revision=25626
2008-06-28 20:53:13 +00:00
Anders Broman 36916d5ac5 Add som missing extension IE's and try to get rid of som unused code warnings.
svn path=/trunk/; revision=25625
2008-06-28 20:31:56 +00:00
Anders Broman 028c6a75bd To handle 64 bit constraints we also need to change FT_UINT32 to FT_UINT64
svn path=/trunk/; revision=25624
2008-06-28 19:25:15 +00:00
Anders Broman 09a741cb17 Add FT_INT64 to IS_FT_INT and FT_UINT_64 to IS_FT_UINT.
svn path=/trunk/; revision=25623
2008-06-28 17:23:07 +00:00
Guy Harris 8e03447dd4 Set the Info column.
svn path=/trunk/; revision=25622
2008-06-28 01:51:12 +00:00
Guy Harris 78f43162ad If we find an invalid version number, at least put something into the
Info column and protocol tree to indicate that.

If we find an invalid version number in the *second* switch statement,
don't bother spewing out a warning - that's a "cannot happen", so just
throw a dissector assertion.

svn path=/trunk/; revision=25621
2008-06-27 23:47:25 +00:00
Bill Meier f8e3822738 Fix some warnings reported by gcc -Wshadow ...
Fix some spacing in packet-dcom.c

svn path=/trunk/; revision=25618
2008-06-27 16:15:30 +00:00
Gerald Combs 09868c5db5 Fix some checkAPIs warnings.
svn path=/trunk/; revision=25617
2008-06-27 16:07:21 +00:00
Bill Meier 7aaadd9bec Fix some warnings reported by gcc -Wshadow ...
svn path=/trunk/; revision=25616
2008-06-27 04:52:56 +00:00
Gerald Combs 83aacf0a09 Add support for "API groups" in checkAPIs.pl. Make the "prohibited"
and "deprecated" groups the default. Add an "abort" group for code that
shouldn't exit the program. Update the makefiles to call "checkAPIs.pl
-g abort" for dissectors. Remove a dependency on "cat" in checkAPIs.pl.

svn path=/trunk/; revision=25614
2008-06-26 22:20:05 +00:00
Jeff Morriss 708fbadf26 Fix a comment: the subdissector won't /assert/ out it will /except/ out if the MSU is truncated.
svn path=/trunk/; revision=25613
2008-06-26 20:42:58 +00:00
Jeff Morriss 9bc8f579a1 From Abhik Sarkar via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2647 :
The syslog dissector could crash if the "packlog" MSU is truncated such that
the hex string ends in with a nibble.

From me: Check if that will happen and chop off the nibble before giving it to
convert_string_to_hex() so we'll dissect as much of the MSU as possible.

svn path=/trunk/; revision=25612
2008-06-26 20:40:30 +00:00
Guy Harris 3ac07269e6 Fix a missed "item" -> "item_local" in the previous checkin.
svn path=/trunk/; revision=25610
2008-06-26 02:29:13 +00:00
Guy Harris 18bc1a2fef Make the default for HDLC traffic "Raw data", just as it is for other
record types, so that people know they have to set the preference.

svn path=/trunk/; revision=25609
2008-06-26 01:47:59 +00:00
Guy Harris 1f08653d0e Make the preference settings for the dissector to use for various ERF
link-layer types static.

If the preference is set to "raw data" for any of those types, display
the raw data with an indication that the preference in question has been
set to "raw data", so people don't just wonder why ERF files aren't
working right any more.  (See bug 2641; I had the same surprise when I
tried it on some ERF captures I have.)

Pull the dissect_erf_header() code into dissect_erf() - it's dissecting
the *payload*, not the *header*.

Fill in the Info column with the record type.

When using tvb_new_subset() to chop a header off of a tvbuff, just
specify lengths of -1, so we go all the way to the end.

Clean up the Infiniband dissector call.

svn path=/trunk/; revision=25608
2008-06-26 01:38:38 +00:00
Bill Meier ceebccced4 Fix some warnings reported by gcc -Wshadow ...
svn path=/trunk/; revision=25607
2008-06-26 00:16:58 +00:00
Martin Mathieson dbfbb872ee Make sip.msg_hdr a string field instead of FT_NONE.
svn path=/trunk/; revision=25602
2008-06-25 12:40:15 +00:00
Guy Harris 83fc9d5e09 Constify a bunch of stuff, to squelch -Wwrite-strings warnings.
epan/dissectors/packet-ncp2222.inc is a bit hard to fix, so we're not
ready to enable that warning by default yet.

Throw in some casts to handle GLib routines that take arbitrary
non-const pointers (they can later return the pointers, and some
callers might want to modify or free up those pointers in cases where
they're known to be writable or allocated).

Use ep_tvb_memdup() rather than a combination of ep_alloc() and
tvb_memcpy().

Clean up some indentation.

svn path=/trunk/; revision=25601
2008-06-25 09:12:35 +00:00
Guy Harris 044e57c917 Clean up indentation.
Make build_expert_data() take the size of "buffer" as an argument, and
use that when doing g_snprintf() into the buffer, to ensure we don't
overflow the buffer.  Also, don't just assign to "buffer", as that
doesn't put anything *in* the buffer.

svn path=/trunk/; revision=25600
2008-06-25 09:10:50 +00:00
Jaap Keuter 4838e5d7f2 From Max Ivanov:
The destination unreachable indication for external IP routes is at offset 24, not 4 as in internal IP routes.

svn path=/trunk/; revision=25598
2008-06-25 06:18:23 +00:00
Guy Harris 9e6329860a Fix some warnings - declare some arguments, variables, and structure
members to be const pointers when that's possible, and throw in some
casts when the GLib API fails to have properly consted arguments.

Use ep_strdup_printf() in some cases.

svn path=/trunk/; revision=25596
2008-06-25 03:05:19 +00:00
Gerald Combs 48c21706f2 Add TurboCap-related changes from /trunk-1.0:
From Dustin Johnson: Add support for TurboCap.
  - packet-ppi.c: Add aggregation and 802.3 extended information.
  - capture-wpcap.c: Add support for pcap_list_datalinks and pcap_set_datalink.

Make pcap_list_datalinks and pcap_set_datalink mandatory on Windows.

svn path=/trunk/; revision=25593
2008-06-24 21:16:22 +00:00
Jeff Morriss b47985d13e Make inet_ntop fix work for out-of-tree builds
svn path=/trunk/; revision=25590
2008-06-24 20:09:43 +00:00
Guy Harris 22dbfc8181 Get rid of another unused variable.
svn path=/trunk/; revision=25588
2008-06-24 19:38:40 +00:00
Guy Harris 7445488cf2 Get rid of some code that fills in a string that's never used. Get rid
of the string, while we're at it.

svn path=/trunk/; revision=25587
2008-06-24 19:27:46 +00:00
Gerald Combs 015025b06f Highlight the whole hostname, even if we've truncated it in the display.
svn path=/trunk/; revision=25586
2008-06-24 19:18:21 +00:00
Gerald Combs 358abd9b50 Noam Rathus discovered that the RMI dissector was using g_strlcpy
incorrectly, which could lead to information disclosure or worse. Use
tvb_format_text instead. This lets us get rid of a character array and
avoids feeding raw packet data to the GUI.

svn path=/trunk/; revision=25584
2008-06-24 19:08:54 +00:00
Guy Harris 884a635762 Assign pointers to strings to a const pointer.
svn path=/trunk/; revision=25582
2008-06-24 18:22:26 +00:00
Guy Harris dc7ae72983 Fix another variable named "index".
svn path=/trunk/; revision=25581
2008-06-24 18:10:57 +00:00
Jeff Morriss 7eca9942fd Fix *NIX builds where we need our own inet_pton.c or inet_ntop.c . This should fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2607
svn path=/trunk/; revision=25579
2008-06-24 17:57:44 +00:00
Stig Bjørlykke 7f3ee01d41 Renamed some local variables to avoid name collisions.
svn path=/trunk/; revision=25565
2008-06-23 21:53:24 +00:00
Stig Bjørlykke a0bb456edd Renamed a local variable to avoid name collisions.
svn path=/trunk/; revision=25564
2008-06-23 21:43:00 +00:00
Stig Bjørlykke 7036a616a5 Renamed a local variable to avoid name collisions.
svn path=/trunk/; revision=25563
2008-06-23 21:40:40 +00:00
Stig Bjørlykke f00cd871fe Renamed a local variable to avoid name collisions.
svn path=/trunk/; revision=25562
2008-06-23 21:36:22 +00:00
Stig Bjørlykke cb43c90778 Renamed a local variable to avoid name collisions.
svn path=/trunk/; revision=25561
2008-06-23 21:34:40 +00:00
Stig Bjørlykke e2e09deeda Renamed index and ipv4_addr to avoid name collisions.
svn path=/trunk/; revision=25560
2008-06-23 21:31:47 +00:00
Guy Harris bb3ac49c2d Rename an argument to avoid colliding with a global variable.
svn path=/trunk/; revision=25559
2008-06-23 21:31:10 +00:00
Stig Bjørlykke 29adf5399a Removed argument names in function pointers to avoid shadowing warnings.
svn path=/trunk/; revision=25558
2008-06-23 21:28:44 +00:00
Stig Bjørlykke d881f0213b Renamed the global bit_mask to avoid collisions with the bit_mask used
in various functions.

svn path=/trunk/; revision=25557
2008-06-23 21:27:52 +00:00
Guy Harris 710ccf240c Rename a local variable in a macro to avoid collisions with regular
variables.

svn path=/trunk/; revision=25553
2008-06-23 21:08:58 +00:00
Guy Harris 11848b9efe Rename a variable to avoid collisions with the old V7 index() function,
still declared by <string.h> on some platforms (at least the way we
compile, with all sorts of non-ANSI C/non-POSIX stuff added).

svn path=/trunk/; revision=25551
2008-06-23 21:06:42 +00:00
Guy Harris 256552f6a3 Rename an argument to avoid collisions with a global variable name, as
noted by John Smith.

Fix indentation.

svn path=/trunk/; revision=25547
2008-06-23 20:31:21 +00:00
Stig Bjørlykke 0766be81b4 Rename some variables to avoid shadowing warnings.
svn path=/trunk/; revision=25544
2008-06-23 20:24:52 +00:00
Stig Bjørlykke dd6c6af3e4 Rename some variables to avoid shadowing warnings.
svn path=/trunk/; revision=25543
2008-06-23 20:23:29 +00:00
Guy Harris 4d879cd0b8 Rename arguments not to collide with function names, to avoid warnings
from -Wshadow, as noted by John Smith.

svn path=/trunk/; revision=25541
2008-06-23 20:17:08 +00:00
Guy Harris 094911ef4f Rename arguments not to collide with function names, to avoid warnings
from -Wshadow, as noted by John Smith.

svn path=/trunk/; revision=25540
2008-06-23 20:15:30 +00:00
Stig Bjørlykke 926e31da26 Don't call an argument "time", as this is a function.
svn path=/trunk/; revision=25538
2008-06-23 20:04:31 +00:00
Martin Mathieson 629c06eadb Save timestamp when updating entry for new request frames in existing call.
svn path=/trunk/; revision=25532
2008-06-23 17:04:52 +00:00
Martin Mathieson d25c57e884 Show short version of Content-Length header.
Fixes but 2635.














svn path=/trunk/; revision=25531
2008-06-23 14:58:17 +00:00
Stig Bjørlykke 1689ec6a8d Make the ACTRACE dissector give away the package if it knows its not a ACTRACE.
svn path=/trunk/; revision=25526
2008-06-22 18:42:37 +00:00
Stig Bjørlykke 03468a7b19 Make the MGCP dissector give away the package if it knows its not a MGCP.
svn path=/trunk/; revision=25525
2008-06-22 18:36:33 +00:00
Stig Bjørlykke 50e372dd66 Changes in B.A.T.M.A.N. dissector:
- Fixed last element in value_string arrays
- Fixed a possible bug in a loop making a currently unused string
- Changed preferences prefix to "batman"
- Added udp port preference in batman to be uniform
- Fixed some indents
- Added break in some switches
- Make it compile on win32

svn path=/trunk/; revision=25522
2008-06-22 10:59:08 +00:00
Stig Bjørlykke b17d12b64d Removed an unused static entry.
svn path=/trunk/; revision=25521
2008-06-22 00:50:29 +00:00
Stig Bjørlykke af6fa2004c From Sven Eckelmann (bug 2632):
Added B.A.T.M.A.N. dissector

svn path=/trunk/; revision=25520
2008-06-22 00:14:33 +00:00
Stig Bjørlykke 2443329e0c From Peter Hertting (bug 2633):
Added support for IUA carrying X.25.

svn path=/trunk/; revision=25518
2008-06-21 23:40:17 +00:00
Anders Broman e6694e15d8 From Alex Turbov :
Decode buddy name and reason message from 'Grant Future Authorization'
SNAC(13,14) and 'Future Authorization Granted' SNAC(13,15) packets.

svn path=/trunk/; revision=25512
2008-06-21 15:39:01 +00:00
Anders Broman 92c247f42e From Thomas Dreibholz:
- Made parameter naming consistent. Example: A Pool Handle Parameter is now
also named "Pool Handle Parameter" instead of "Pool handle" only, because it
contains a field "Pool Handle" which actually contains the PH byte vector. All
parameters are now named "<name> Parameter".
- Made other strings consistent, as in the Internet Drafts. Example: "Pool
element identifier" -> "Pool Element Identifier". Each word begins with
capitalized letter now.

svn path=/trunk/; revision=25511
2008-06-21 15:29:41 +00:00
Anders Broman 3e8a7bbfee From Thomas Dreibholz:
Improvements for the ASAP dissector:
- Support for the "Handle Resolution Option" defined in
draft-dreibholz-rserpool-asap-hropt-01.txt has been added. This option is used
in all ASAP Handle Resolution messages of the RSPLIB Open Source RSerPool
implementation (http://tdrwww.exp-math.uni-essen.de/dreibholz/rserpool/).
- Made parameter naming consistent. Example: A Pool Handle Parameter is now
also named "Pool Handle Parameter" instead of "Pool handle" only, because it
contains a field "Pool Handle" which actually contains the PH byte vector. All
parameters are now named "<name> Parameter".
- Made other strings consistent, as in the Internet Drafts. Example: "Pool
element identifier" -> "Pool Element Identifier". Each word begins with
capitalized letter now.

svn path=/trunk/; revision=25510
2008-06-21 15:26:57 +00:00
Sake Blok 058c5d0401 From David Moreau (bug 2621):
add support for MSDP protocol based on TFTP



svn path=/trunk/; revision=25500
2008-06-21 10:04:27 +00:00
Gerald Combs 8db852e950 Port over the composite tvbuff fixes from /trunk-1.0.
svn path=/trunk/; revision=25498
2008-06-20 20:33:38 +00:00
Anders Broman b961a1bbe4 Add a preference for SCTP port.
svn path=/trunk/; revision=25496
2008-06-20 16:20:10 +00:00
Anders Broman 50d0a1c95a If ENBname is a string append that string.
svn path=/trunk/; revision=25488
2008-06-19 16:03:15 +00:00
Anders Broman bc337f0845 Export the tvb_get_bits functions.
svn path=/trunk/; revision=25487
2008-06-19 14:39:43 +00:00
Anders Broman db62900421 Add an expert item warning if a full sequence isn't decoded. ( take 2)
svn path=/trunk/; revision=25486
2008-06-19 14:19:13 +00:00
Stig Bjørlykke db455a9899 Initialize new_offset.
svn path=/trunk/; revision=25485
2008-06-19 12:36:30 +00:00
Anders Broman a4614ab3ef Add an expert item warning if a full sequence isn't decoded.
svn path=/trunk/; revision=25484
2008-06-19 12:16:26 +00:00
Jaap Keuter 816a7f1cc8 Fix for bug 2618:
Add MS Time Zone interpretation.

svn path=/trunk/; revision=25478
2008-06-18 19:59:24 +00:00
Martin Mathieson 627bc2411a Show enhanced high speed channels more clearly.
svn path=/trunk/; revision=25472
2008-06-18 16:06:12 +00:00
Jaap Keuter b6b71035e4 Fix for bug 2616:
According to RFC 3720 the login command doesn't require either T or C, just (C => !T)

svn path=/trunk/; revision=25470
2008-06-18 06:27:02 +00:00
Gerald Combs d630c26a29 Fully implement Guy's suggested fix. Rename ADDRBUF_MAX_MESSAGE_SIZE to
MAX_ADDR_SIZE, to be more in line with a suggestion by Abhik Sarkar.

svn path=/trunk/; revision=25466
2008-06-17 19:05:48 +00:00
Gerald Combs a40cf08dda Fix an off-by-one bug reported by David Ceccanti, as suggested by Guy at
http://www.wireshark.org/lists/wireshark-users/200806/msg00077.html.
Add a comment about the usage of gsm_sms_char_7bit_unpack().

svn path=/trunk/; revision=25462
2008-06-16 21:55:37 +00:00
Jaap Keuter cbb9c534ac From Michael Adam:
This patch adds knowledge of the DFS server type to the SMB-BROWSE dissector.

svn path=/trunk/; revision=25460
2008-06-16 20:38:26 +00:00
Anders Broman a083f75acf Add missing IE id
svn path=/trunk/; revision=25453
2008-06-14 21:36:11 +00:00
Stig Bjørlykke c64847fe16 Update all time columns when changing the time precision.
Not implemented for conversation relative and delta time yet, because this
will need a reload as they are set by the dissectors and does not exist in
the frame data.

svn path=/trunk/; revision=25452
2008-06-14 16:51:11 +00:00
Anders Broman a1011ad64d Update to 3GPP TS 36.413 V8.2.0 (2008-06)
svn path=/trunk/; revision=25447
2008-06-12 19:18:06 +00:00
Martin Mathieson e5b6e5e8c2 Show correct seqno in info column.
svn path=/trunk/; revision=25446
2008-06-12 16:50:23 +00:00
Martin Mathieson d275348e20 Dissect BCH channels (expect control messages only).
svn path=/trunk/; revision=25445
2008-06-12 16:11:16 +00:00
Jeff Morriss 4a0826ef2f From yami via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2603 : register the SMB dissector by name.
svn path=/trunk/; revision=25444
2008-06-12 13:39:55 +00:00
Stig Bjørlykke 623602ba8b Return 0 if we don't dissect any bytes.
Set desegment_len = DESEGMENT_ONE_MORE_SEGMENT.

svn path=/trunk/; revision=25443
2008-06-11 20:10:19 +00:00
Jaap Keuter b34cd4d384 Fix for bug 2396:
Wireshark expects 802.1ah Instance tags to have ethernet type 0x88f0, but latest 
802.1ah draft 4.1 defines the 802.1ah Instance tag ethernet type to 0x88e7.

svn path=/trunk/; revision=25442
2008-06-11 18:20:02 +00:00
Jaap Keuter bfcdda1353 ptvcursor_subtree_set_item() does not need to be exported.
svn path=/trunk/; revision=25441
2008-06-11 18:16:04 +00:00
Jaap Keuter 927cbeb37c From Joe Eykholt:
The Fibre-channel FCP dissector shows the wrong byte as the response info
response code byte.  The byte with offset 2 in the FCP frame is shown
instead of byte 3 inside the response info.

svn path=/trunk/; revision=25439
2008-06-10 05:41:29 +00:00
Anders Broman 43d927f15e From Alex Badea:
Migrate ISAKMP packet decryption from libnettle to libgcrypt

svn path=/trunk/; revision=25438
2008-06-10 05:39:58 +00:00
Martin Mathieson 5106a3e5c8 Set release year and month for F7 FP (needed for correct EDCH no-of-subframes field).
svn path=/trunk/; revision=25436
2008-06-06 17:54:59 +00:00
Martin Mathieson a68f2a299a Fix RACH extended IE handling.
Flags have different meanings depending upon radio mode...

svn path=/trunk/; revision=25435
2008-06-06 09:09:00 +00:00
Martin Mathieson b48ef500ee Squash uninitialised use warning.
svn path=/trunk/; revision=25434
2008-06-05 21:39:06 +00:00
Jaap Keuter b8de267351 From SUZUKI, Shinsuke:
There are some non-ASCII characters in the following file.

svn path=/trunk/; revision=25433
2008-06-05 20:00:36 +00:00
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
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
Stig Bjørlykke 22ff43e0bd Fix a typo: strl -> strlen
svn path=/trunk/; revision=25263
2008-05-09 12:55:37 +00:00
Stig Bjørlykke 23b0a5d496 Include string.h
svn path=/trunk/; revision=25262
2008-05-09 12:54:49 +00:00
Anders Broman 1cc7c72db6 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25261
2008-05-09 11:59:44 +00:00
Martin Mathieson 693291377e Stop using deprecated functions identified by checkAPIs script.
svn path=/trunk/; revision=25258
2008-05-08 14:01:31 +00:00
Anders Broman f6d4cd9d86 Use PROTO_ITEM_SET_HIDDEN().
svn path=/trunk/; revision=25255
2008-05-08 05:42:59 +00:00
Bill Meier 6ae1343094 Fix a few typos ....
svn path=/trunk/; revision=25253
2008-05-07 17:57:45 +00:00
Martin Mathieson fbefbac6fa Select correct bytes range for Algorithms tree.
svn path=/trunk/; revision=25251
2008-05-07 10:22:48 +00:00
Michael Tüxen 607076675a Comment out condition which is always true (based on the
choosen data types).

svn path=/trunk/; revision=25250
2008-05-07 06:23:03 +00:00
Jaap Keuter 1cca1f8082 From Peter Kjellerstedt:
For some reason only the first eight interleaved RTSP channels are supported by 
epan/dissectors/packet-rtsp.c. This is a problem for us as one of our servers use 
the channel numbers in a round robin fashion and will thus use all 256 channels.

svn path=/trunk/; revision=25249
2008-05-07 05:58:42 +00:00
Stig Bjørlykke cf488b0fca From Peter Kjellerstedt (bug 2521):
Add MARKER_COM to vals_marker[].

svn path=/trunk/; revision=25246
2008-05-06 09:08:52 +00:00
Guy Harris 31cae6e4ef Require GLib 2.4 or later.
That means that G_GINT64_MODIFIER will be defined, so don't check
whether it's defined.

We don't use the PRI[douxX]64 macros, as we use the GLib print routines
and thus use G_GINT64_MODIFIER instead.  Get rid of the checks for
whether inttypes.h defines PRI[douxX]64; just check whether it exists at
all.

That means we don't set INTTYPES_H_DEFINES_FORMATS, so don't check for
it.

svn path=/trunk/; revision=25243
2008-05-05 22:47:32 +00:00
Anders Broman 9cc9c92e75 Fix some of the Errors/warnings detected by checkapi,
make non ASCII char a warning for now.

svn path=/trunk/; revision=25240
2008-05-05 20:38:27 +00:00
Anders Broman bf9ccab9cb Change depreciated function g_tree_traverse -> g_tree_foreach
svn path=/trunk/; revision=25239
2008-05-05 20:03:15 +00:00
Anders Broman 45b8ffd1ec Remove depreciated functions g_string_sprint, g_string_sprintfa.
svn path=/trunk/; revision=25238
2008-05-05 19:52:59 +00:00
Stig Bjørlykke f51d73bb5d Handle SSID as binary in WLAN Traffic Statistics.
svn path=/trunk/; revision=25237
2008-05-05 19:35:16 +00:00
Anders Broman 2db1a78da6 From Gerhard Olsson :
X25 reassembly when presenting out of order packets
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2091

svn path=/trunk/; revision=25229
2008-05-05 05:58:45 +00:00
Jörg Mayer c62680b8eb Fix a tpyo
svn path=/trunk/; revision=25227
2008-05-05 00:39:47 +00:00
Stig Bjørlykke c7bbc2a33a Added a hidden SSID (wlan_mgt.ssid) to be able to filter on the ssid.
svn path=/trunk/; revision=25224
2008-05-04 22:20:58 +00:00
Jaap Keuter 0d2fd70dc6 From Abhik Sarkar:
This patch adds basic support for stats to the UCP dissector using the Stats Tree API.

svn path=/trunk/; revision=25222
2008-05-03 09:49:10 +00:00
Jaap Keuter 13db732897 From Steve Karg:
Corrected packet-bvlc.c dissector which was not decoding BACnet BVLC NAK result
code text correctly.

svn path=/trunk/; revision=25221
2008-05-03 08:31:50 +00:00
Martin Mathieson 6036ca259e Initialise variable.
(sorry about the build breakage, these new message formats will be tested soon
and it looks like I forgot to compile-test the last change I made...).

svn path=/trunk/; revision=25220
2008-05-02 21:38:49 +00:00
Bill Meier 36121319b0 Fix (what I presume to be) a typo to prevent compile error.
svn path=/trunk/; revision=25219
2008-05-02 19:18:08 +00:00
Bill Meier a8cb768921 Fix crash in Bug #2410: restore saved 'packet_info.private_data' for two fail returns
svn path=/trunk/; revision=25218
2008-05-02 19:03:00 +00:00
Martin Mathieson c7640c39a5 More R7 additions.
Main missing part is new HSDSCH data frame type 2.



svn path=/trunk/; revision=25217
2008-05-02 15:27:00 +00:00
Martin Mathieson 7c25297f76 Updated common control messages to R7.
svn path=/trunk/; revision=25216
2008-05-02 14:50:23 +00:00
Jaap Keuter 2b04d42e4b From Shinsuke SUZUKI:
Since this leads to a compilation failure (Warning C4819: unexpected character
in the current code page) on non-european Windows, I'd like you to avoid using
non-ASCII characters in Wireshark code (even in comment).

svn path=/trunk/; revision=25214
2008-05-02 08:23:21 +00:00
Stig Bjørlykke 59d7093576 Removed a debug printf line.
svn path=/trunk/; revision=25213
2008-05-01 21:20:49 +00:00
Martin Mathieson b43f96c99e Try to track SIP responses back to their requests.
svn path=/trunk/; revision=25208
2008-05-01 15:23:54 +00:00
Guy Harris a6815b1070 All versions of GLib 2.x come with g_ascii_strcasecmp(), and we require
GLib 2.x; we don't have to check for its presence and supply a
replacement if it's missing.

Get rid of an unremoved reference in epan/dtd_parse.l.

svn path=/trunk/; revision=25197
2008-04-29 16:24:22 +00:00
Jeff Morriss 1c67ad6e2e Call se_free_all() in epan_cleanup() so that we will detect per-session (se_)
memory corruption in tshark (and Wireshark when exiting the program instead
of loading a new file?).

Why this wasn't always here I don't know.

This may give us a pile of buildbot fuzz failures but that's a Good Thing.

svn path=/trunk/; revision=25196
2008-04-29 15:29:02 +00:00
Jeff Morriss 66608e7880 Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1513 : don't tvb_memcpy() more bytes than are in the (se_alloc()'d) buffer. tvb_memcpy()ing more bytes than are the TVB is okay (it'll except out).
svn path=/trunk/; revision=25195
2008-04-29 15:20:19 +00:00
Martin Mathieson a91cce4b1f From Abhik Sarkar, fixed bug #2477.
Change ftype of ssh-padding-string to FT_BYTES.


svn path=/trunk/; revision=25194
2008-04-29 14:24:16 +00:00
Jeff Morriss 10a4936665 Move minimum byte count test from dissect_scsi_smc_element() up into the calling dissect_scsi_smc_elements() so we can break out of the loop if we're not advancing through the packet. This fixes the infinite loop reported in http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2508
svn path=/trunk/; revision=25193
2008-04-29 12:27:32 +00:00
Guy Harris 1ad79116ed Get rid of old GLib 1.2[.x] stuff, as we now require GLib 2.x.
svn path=/trunk/; revision=25192
2008-04-29 08:44:57 +00:00
Bill Meier e23d9e48b8 Fix minor typo in comment
svn path=/trunk/; revision=25189
2008-04-28 20:32:06 +00:00
Martin Mathieson 6d9fde71a6 Fix test for unlimited credits value in new alloc format.
svn path=/trunk/; revision=25185
2008-04-28 10:23:25 +00:00
Jaap Keuter ea13bae738 From Alon Tal:
RTP header extensions that are longer than 4 bytes (rtp.ext.len > 1)
get dissected incorrectly. The first 4 bytes of the header extension are
repeated rtp.ext.len times, and the remaining bytes are ignored.

svn path=/trunk/; revision=25184
2008-04-27 11:10:57 +00:00
Stig Bjørlykke a3e13c0e3a Register dissector by name.
svn path=/trunk/; revision=25180
2008-04-25 19:25:49 +00:00
Stig Bjørlykke 729cbe42a8 Register dissector by name.
svn path=/trunk/; revision=25179
2008-04-25 19:25:22 +00:00
Martin Mathieson 376058d201 Add comment explaining that case is safe.
svn path=/trunk/; revision=25178
2008-04-25 19:12:57 +00:00
Martin Mathieson c65e14ffa4 Add cast to avoid Windows warning.
svn path=/trunk/; revision=25177
2008-04-25 19:09:07 +00:00
Jaap Keuter da005d4aaf From Márton Németh:
Cleanup ident of epan/wslua/init_wslua.c: use spaces instead of tabs.
cleanup the ident of generator scripts and for template-init.lua
Spaces used instead of tabs for indent. Removed spaces placed by generator
script just before a newline.

svn path=/trunk/; revision=25176
2008-04-25 19:04:52 +00:00
Jaap Keuter a923b5491c From: Márton Németh:
The luaL_reg structure consists of two pointers: char* and a pointer to a function. 
The last entry should also reflect this: it should be { NULL, NULL } instead of { 0, 0 }.

svn path=/trunk/; revision=25175
2008-04-25 18:59:20 +00:00
Bill Meier 2bce8b248c Bug 2493: Fix (Part 3 of 3):
To prevent Windows compiler errors when using flex 2.5.35.
  Ignore 'signed /unsigned mismatch' warnings


svn path=/trunk/; revision=25174
2008-04-25 18:26:54 +00:00
Bill Meier 0d4b874b44 Bug 2493: Fix (Part 2):
To prevent Windows compiler errors when using flex 2.5.35.
 Fixes "missing unistd.h" and yywrap "mismatched parameter" warnings
 [Upcoming Part 3: ignore 'signed /unsigned mismatch' errors]

svn path=/trunk/; revision=25173
2008-04-25 17:40:29 +00:00
Martin Mathieson fbb23743d8 Fixed some old problems found while starting to add R7 support.
svn path=/trunk/; revision=25171
2008-04-25 17:20:28 +00:00
Stephen Fisher eedcd98bd2 Fix for bug #2480: Custom column, wrong display of 802.11 Sleep mode status
Changed the tfstring to use integer variable instead of value variable.  The
integer value has had its "irrelevant portions" masked out and has been bit-
shifted whereas value hasn't.  This led to unpredictable results when using
a true false string for a single bit of a byte. 


svn path=/trunk/; revision=25169
2008-04-25 05:16:23 +00:00
Guy Harris e0dab74b03 Get rid of CR's at the ends of lines, give it an NL at the end, and set
the svn:keywords and svn:eol-style properties appropriately.

svn path=/trunk/; revision=25167
2008-04-24 21:07:23 +00:00
Anders Broman 8b39ceb44e Add missing dissector from the makefile:
packet-gsm_bsslap.c
 Routines for Location Services (LCS) Serving Mobile Location Centre - Base Station System (SMLC-BSS) dissection - 3GPP TS 48.071 version 7.2.0 Release 7

svn path=/trunk/; revision=25166
2008-04-24 19:57:41 +00:00
Anders Broman 8fbe2f530a Use cairo-1.6.4-1 and pango-dev-1.20.2
svn path=/trunk/; revision=25165
2008-04-24 19:45:29 +00:00
Tomas Kukosa b7051d5fd6 remove superfluous declaration struct srtp_info *dummy_srtp_info
svn path=/trunk/; revision=25164
2008-04-24 06:36:42 +00:00
Jörg Mayer 0c2c313d8b Martin Peylo <wireshark@izac.de>:
PKIXCMP: fix new plain TCP transport style, add OID and preferences
    (The previous checkin forgot to check in the changed source files.)

Me:
- Fix a warning about an 'incompatible pointer type'

svn path=/trunk/; revision=25161
2008-04-23 23:15:00 +00:00
Jaap Keuter 2462cc82c3 Don't skip ahead in time when looking for a conversation.
svn path=/trunk/; revision=25158
2008-04-23 21:31:50 +00:00
Anders Broman 36b88b8e15 From : Martin Peylo:
PKIXCMP: fix new plain TCP transport style, add OID and preferences

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

svn path=/trunk/; revision=25157
2008-04-23 20:49:54 +00:00
Anders Broman 02353b11ce From bboissin:
fix RFC4191 handling
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2498

svn path=/trunk/; revision=25156
2008-04-23 20:42:02 +00:00