Commit graph

6961 commits

Author SHA1 Message Date
Stig Bjørlykke
a904b55928 Removed a C++ style comment.
svn path=/trunk/; revision=26004
2008-08-13 14:57:21 +00:00
Guy Harris
7e4d12a120 PRI[duox]64 isn't being defined on all platforms, breaking the build,
and we don't want to use it in any case, as PRI[duox]64 might be
different from G_GUINT64_MODIFIER followed by [duox], and the latter is
what GLib's formatter supports, and that's the formatter we use.

svn path=/trunk/; revision=25996
2008-08-13 07:33:51 +00:00
Anders Broman
255d6b0af9 Fix:
packet-rtps.c:1462: warning: unused parameter 'label'
packet-rtps.c:2767: warning: unused parameter 'label'
packet-rtps2.c:1687: warning: unused parameter 'label'
packet-rtps2.c:3049: warning: unused parameter 'label'
packet-rtps2.c:3147: warning: unused parameter 'label'

svn path=/trunk/; revision=25995
2008-08-13 06:33:39 +00:00
Anders Broman
a143298812 From Fabrizio Bertocci:
- The RTPS packet dissector has been rewritten from scratch to dissect RTPS 1.0
- 1.2 packets

svn path=/trunk/; revision=25994
2008-08-13 06:09:54 +00:00
Anders Broman
9aa1b43f9c From Eric Travis:
Enhancement providing parsing capability for TCP Options 20 & 21 (IANA assigned).

svn path=/trunk/; revision=25991
2008-08-12 21:08:46 +00:00
Anders Broman
c1e67bc6d0 From Márton Németh:
Clean up the Linux USB pseudoheader dissection.

svn path=/trunk/; revision=25990
2008-08-12 20:24:50 +00:00
Anders Broman
3eadb385c3 From Alexey Neyman:
Implement dissector for IPMB (DLT_IPMB_LINUX, 209).

svn path=/trunk/; revision=25986
2008-08-12 04:44:35 +00:00
Anders Broman
8e032dbc87 From Darryl Champagne:
Add SyncML 1.2, and ActiveSync support to packet-wbxml.

svn path=/trunk/; revision=25984
2008-08-11 20:14:04 +00:00
Stig Bjørlykke
cb51efd25d From Roy Marples (bug 2781 and bug 2796):
Display FQDN binary encoded name as text
Ensure that get_dns_name does not cross packet sub boundry

From me:
Preserve the usage of bootp.fqdn.name as a display filter

svn path=/trunk/; revision=25981
2008-08-11 12:00:27 +00:00
Luis Ontanon
90b230cd1c Fix an se_leak
svn path=/trunk/; revision=25974
2008-08-09 20:19:52 +00:00
Stig Bjørlykke
165be68562 From Brooss (bug 2373):
Added TeamSpeak2 dissector

From me:
- Made all local functions static
- Renamed my_vals to conv_vals
- Call correct function to parse LOGINEND
- Fixed some obvious errors in typenames list
- Fixed some indentation

svn path=/trunk/; revision=25973
2008-08-09 18:36:22 +00:00
Stig Bjørlykke
9ef96188ee From Shinsuke SUZUKI (bug 2789):
Remove some non-ASCII characters.

svn path=/trunk/; revision=25972
2008-08-09 16:24:39 +00:00
Jaap Keuter
f9792481d2 Replace custom data presentation with native one.
svn path=/trunk/; revision=25965
2008-08-08 21:39:25 +00:00
Jaap Keuter
7acc2762e3 Fix for bug 2778:
Bye string is "null padded", not "null terminated". Change code to test for that fact.

svn path=/trunk/; revision=25964
2008-08-08 21:22:33 +00:00
Guy Harris
92f318bb83 Add Linux AF_ values to epan/aftypes.h; IAX2 implicitly uses them.
Have the IAX2 dissector include <epan/aftypes.h> and use the Linux AF_
values from it.  Point to the IAX2 I-D, and add some clarifying
comments.

svn path=/trunk/; revision=25962
2008-08-08 20:07:23 +00:00
Guy Harris
3cba46070c Add Winsock AF_ values to epan/aftypes.h; the DirectPlay and ActiveSync
Desktop Pass-Through protocols use them.

Use those values in the dissectors for those protocols.

In the Desktop Pass-Through dissector, define the Winsock SOCK_ values
ourselves, and get the IP protocol values from <epan/ipproto.h>.  Don't
include now-unnecessary system headers in that dissector.

svn path=/trunk/; revision=25959
2008-08-08 19:27:58 +00:00
Guy Harris
652343e2d1 Don't get AF_ values used in protocols from system header files -
they're not guaranteed to be the same in all OSes.  Define them
ourselves.

svn path=/trunk/; revision=25958
2008-08-08 18:15:24 +00:00
Jaap Keuter
9569e7a299 From Ryan Wamsley:
Add Ethernet Global Data (EGD) packet dissector.

svn path=/trunk/; revision=25954
2008-08-07 22:38:19 +00:00
Guy Harris
91407025b7 Put back the Intel URL for the IPMI specs.
svn path=/trunk/; revision=25952
2008-08-07 20:58:27 +00:00
Anders Broman
82ca2b89f0 Activate the IPMI changes
From    Alexey Neyman.

svn path=/trunk/; revision=25951
2008-08-07 19:33:40 +00:00
Anders Broman
46a26582ec From Alexey Neyman :
(Note just checking in the new files not yet added to the build process on purpose
the changes to packet-ipmi.c is also not done yet - Anders).

Generic changes:

- IPMI session wrapper dissection has been separated from the dissection of
  IPMI itself. This will allow for possible dissection of captures directly
  from IPMB (as the IPMB messages lack the IPMI session wrapper).
IPMI changes:

- Implemented request-response matching for IPMI sessions. This makes easy
  serves two purposes: first, it allows for easy location of response to a
  certain request and vice versa. Second, it allows for dissection of
  responses where response format depends on the request data.

- IPMI dissector can now dissect much broader set of commands.

- Command-specific completion codes are now handled.

- The dissector is able to parse IPMI commands embedded into other IPMI
  commands (for now, only Send Message; Get Message and Forward Message
  can be implemented later). Such embedded commands also matched with
  responses to them.

svn path=/trunk/; revision=25948
2008-08-06 20:51:02 +00:00
Anders Broman
07b1b848e0 From Hakim Bellam:
-Added support for aggregate frames
-Added correct decoding for most fields

svn path=/trunk/; revision=25945
2008-08-06 07:00:46 +00:00
Anders Broman
c0d6013845 From Kip McAtee:
Added a mask to drop the high order byte of a short to isolate the protocol ID.
Also lowered the length restriction to support shorter packets for PPPoEoA.

svn path=/trunk/; revision=25944
2008-08-06 06:55:53 +00:00
Ronnie Sahlberg
88d3b24a4e add initial dnsserver dcerpc implementation
svn path=/trunk/; revision=25943
2008-08-06 06:53:37 +00:00
Anders Broman
d261400dea From Gary Reynolds:
Extended the cldap desector to include all the current netlogon response data
types.  

Expanded the cldap netlogon ntver option to be a bit mask of the search flags

Updated the DS flags fields to include Windows 2008 options.

svn path=/trunk/; revision=25942
2008-08-06 06:53:04 +00:00
Ronnie Sahlberg
e0e1c45922 in nfs name to filehandle mappings
when we check and ignore the two names "." and ".."
we must do so for both methods a caller can provide the name :
offset into a tvb, as well as a char* to a string.

also add ->full_name in the dissection to the replies  so that fh 
matches
both request and reply and not ->name



svn path=/trunk/; revision=25941
2008-08-06 06:45:44 +00:00
Guy Harris
71a607d7e7 Fix some errors introduced when fixing Luis Ontanon's e-mail address.
svn path=/trunk/; revision=25938
2008-08-05 21:31:17 +00:00
Luis Ontanon
42c3239a1a luis.ontanon@gmail.com => luis@ontanon.org
svn path=/trunk/; revision=25937
2008-08-05 21:03:46 +00:00
Anders Broman
45b2e37a27 FromVincent Helfre:
A patch for the PS handover XID parameters Information element, which uses the sndcp-xid dissector.

svn path=/trunk/; revision=25934
2008-08-05 18:49:02 +00:00
Jeff Morriss
a330eaa8dc From Daniel Krueger:
The attached patch fixes a bug in the dissection of the StatusResponse,
where device-specific error code is only 6 Bytes long instead of 8 Bytes.

Additionally, I changed the spelling (i.e. the case) of "Ethernet
POWERLINK" to the new preferred one of the EPSG.

svn path=/trunk/; revision=25929
2008-08-05 13:59:27 +00:00
Bill Meier
6916eaf587 Keep the OSX compiler happy: initialize a variable (altho not really req'd)
svn path=/trunk/; revision=25926
2008-08-04 23:58:03 +00:00
Bill Meier
af00f796a0 Another temporary fix to prevent a build error
svn path=/trunk/; revision=25925
2008-08-04 23:50:11 +00:00
Luis Ontanon
fd2c4d0f83 if it's se allocated it needs to be filled only once.
svn path=/trunk/; revision=25924
2008-08-04 23:25:07 +00:00
Luis Ontanon
0177061bff Fix an ep memory corruption due to passing ep blocks into a se allocated structure.
far away from UAT...


svn path=/trunk/; revision=25923
2008-08-04 23:15:54 +00:00
Bill Meier
9ef15c9aa4 temp fix (until the proper fix) to handle buildbot errs;
svn path=/trunk/; revision=25922
2008-08-04 23:15:51 +00:00
Anders Broman
5cbe7f0f17 Fix packet-gsm_a_common.c:63: warning: assignment makes integer from pointer without a cast.
Assuming the default shouldn't occure and fix a copy past error.

svn path=/trunk/; revision=25918
2008-08-04 20:17:34 +00:00
Anders Broman
082a5aec04 From Neil Piercy:
All I've done in these is to split the 3 obviously distinct protocols (BSSMAP & RP) from the still-large (and wrongly-named) DTAP (really the whole of layer 3 - it includes RR and packet parts too).

So far I've only split in a "minimum change" manner - there is clearly some tidying and structure enhancement of how the common bits are used, removing the globals just added, and great scope for consistency of white space, improved naming etc. - but I thought it best to keep it very close to the original initially to establish the split.

With some changes to make it compile on Windows.

svn path=/trunk/; revision=25917
2008-08-04 19:44:03 +00:00
Anders Broman
96aa45646d First step to split the gsm_a dissector into several smaller ones ( done by Neil Piercy)
rename the "old" one to gsm_a_common.

svn path=/trunk/; revision=25915
2008-08-04 16:11:17 +00:00
Bill Meier
f4a7b39753 Print various uints with %u ...
svn path=/trunk/; revision=25914
2008-08-04 03:46:49 +00:00
Bill Meier
8f84b18945 Fix 2 bugs:
- Misplaced } resulted in incorrect program flow in switch statement;
- Invalid input caused "Dissector bug: infinite loop";

svn path=/trunk/; revision=25913
2008-08-04 02:56:47 +00:00
Bill Meier
1fc904c6be Adjust various indentation/spacing; Do some minor reformatting
svn path=/trunk/; revision=25911
2008-08-04 02:27:20 +00:00
Anders Broman
86e0bde995 packet-multipart.c:179: warning: unused parameter 'pinfo'
packet-multipart.c:179: warning: unused parameter 'name'
( restore a bit of previous code)
Move inclusion of tvbuff.h to base64.c

svn path=/trunk/; revision=25909
2008-08-03 15:44:26 +00:00
Anders Broman
2b9d63a4b5 Move common code to base64.c
svn path=/trunk/; revision=25908
2008-08-03 14:27:22 +00:00
Guy Harris
ea4fbda062 Don't fetch data until you need it.
svn path=/trunk/; revision=25907
2008-08-02 21:59:33 +00:00
Anders Broman
38ac851958 Fix packet-netflow.c:2666: warning: 'pen' may be used uninitialized in this function
and remove some C++ comments - some compilers don't allow them (at least not by default).

svn path=/trunk/; revision=25906
2008-08-02 16:13:40 +00:00
Anders Broman
7be2278d3c From Hitoshi Irino:
This patch
(1) fixes to decode IPFIX packets.
The revision 25601 warns and be not able to decodes IPFIX packets fully,
because the array "hf_register_info" does not have an entry
"hf_cflow_datarecord_length", and a length check for IPFIX packets is incorrect
in "dissect_netflow" function.
(2) is able to decode all Information Elements standardized by RFC 5102
(3) is able to decode IPFIX templates and data that contains PEN (Private
Enterprise Number) fields standardized by RFC 5101, and is able to decode
bi-directional flow standardized by RFC 5103.

svn path=/trunk/; revision=25905
2008-08-02 13:53:49 +00:00
Anders Broman
bb54e0bb03 From metatech:
- In DRDA the data is of different "nature" : EBCDIC vs ASCII, so I think they
deserve different field names.

svn path=/trunk/; revision=25902
2008-08-01 18:17:23 +00:00
Stig Bjørlykke
2f2a8edbd7 Regenerated to use the new decode function for UTCTime.
svn path=/trunk/; revision=25898
2008-08-01 16:45:30 +00:00
Stig Bjørlykke
d255e44bfa From Martin Peylo (bug 2507):
The attached patch enables asn2wrs.py and packet-ber.c to decode UTCTime
according to the definitions in X.680.

svn path=/trunk/; revision=25897
2008-08-01 16:44:06 +00:00
Anders Broman
1fa1d7736e packet-turnchannel.c:219: warning: passing argument 2 of 'register_dissector' from incompatible pointer type
A dissector returning int should return the length consumed of the tvb and be
registered with new_register_dissector();

svn path=/trunk/; revision=25896
2008-08-01 15:45:29 +00:00
Anders Broman
47aca4c30f From stéphane bryant:
STUN, STUN2 and TURN dissection enhancements.

svn path=/trunk/; revision=25895
2008-08-01 15:11:06 +00:00
Stig Bjørlykke
94d4e2c70a boolean -> gboolean
svn path=/trunk/; revision=25894
2008-08-01 14:26:48 +00:00
Anders Broman
b43d3c1380 fix packet-sndcp-xid.c:483: warning: unused parameter 'pinfo'
svn path=/trunk/; revision=25893
2008-08-01 12:42:38 +00:00
Anders Broman
2c4bdd2e82 From Bill Meier:
segmentation fault loading trace containing NCP packets.

svn path=/trunk/; revision=25892
2008-08-01 11:56:57 +00:00
Anders Broman
acd81d93f8 Fix packet-gprs-llc.c:413: warning: format '%lu' expects type 'long unsigned int', but argument 7 has type 'guint32' and the modified makfiloe.common missed in previous checkin.
svn path=/trunk/; revision=25891
2008-08-01 11:25:23 +00:00
Anders Broman
37969b91b1 From Yaniv Kaul:
( I edited the template files)
Failure to dissect long SASL wrapped LDAP response.

svn path=/trunk/; revision=25890
2008-08-01 11:20:50 +00:00
Anders Broman
21381b2f37 From Vincent Helfre:
Implementation of a dissector for SNDCP XID parameters

svn path=/trunk/; revision=25889
2008-08-01 11:08:21 +00:00
Anders Broman
baf9959afa From Alexey Neyman:
Fix proto_tree_add_*_format_value() operation on bitfields.

svn path=/trunk/; revision=25888
2008-08-01 10:16:52 +00:00
Jaap Keuter
fea73c637c From Joe Eykholt:
patch to fix misuse of format specifier %d for unsigned ints.

svn path=/trunk/; revision=25887
2008-08-01 06:13:25 +00:00
Gerald Combs
502524d7b3 Use guints for our tap array indices and use >= to make sure they wrap. This
works around bug 2758 (which is apparently a compiler bug).

svn path=/trunk/; revision=25886
2008-08-01 00:22:36 +00:00
Anders Broman
f330069fc4 Fix:
packet-gsm_a.c:13503: warning: unused parameter 'len'
packet-gsm_a.c:13548: warning: unused parameter 'len'
packet-gsm_a.c:13568: warning: unused parameter 'len'
packet-gsm_a.c:13610: warning: unused parameter 'len'
packet-gsm_a.c:13656: warning: unused parameter 'len'
packet-gsm_a.c:13690: warning: unused parameter 'len'
packet-gsm_a.c:13714: warning: unused parameter 'len'
packet-gsm_a.c:13736: warning: unused parameter 'len'
packet-gsm_a.c:13758: warning: unused parameter 'len'
packet-gsm_a.c:13807: warning: unused parameter 'len'
packet-gsm_a.c:13832: warning: unused parameter 'len'

svn path=/trunk/; revision=25885
2008-07-31 10:39:37 +00:00
Anders Broman
11c13bccb9 From Pascal Quantin:
Add Tests Procedures decoding to GSM A Interface (BSSMAP/DTAP) dissection.

svn path=/trunk/; revision=25884
2008-07-31 10:06:05 +00:00
Anders Broman
d0c26a3c21 From Alex <burlyga :
Better display of callback info for NFSv4 SETCLIENTID op

svn path=/trunk/; revision=25883
2008-07-31 09:32:03 +00:00
Anders Broman
b95bfb9503 From Erik Bray:
Incorrect dissasembly of IPv6 packets with extension headers after the fragment header

svn path=/trunk/; revision=25882
2008-07-31 09:22:22 +00:00
Anders Broman
6858fbdbf3 From Steve Karg:
BACnet MS/TP PDU Length is decoded incorrectly

svn path=/trunk/; revision=25881
2008-07-31 09:11:11 +00:00
Anders Broman
152973c876 From Gerhard Olsson:
X25 reassembly fragment table and dissected proto presented for all X25 packets

svn path=/trunk/; revision=25874
2008-07-30 14:50:17 +00:00
Anders Broman
28bb6da642 From didier:
Wireshark doesn't parse iSCSI PDUs that their header spans multiple TCP segments

svn path=/trunk/; revision=25873
2008-07-30 14:28:04 +00:00
Anders Broman
6444284b59 packet-megaco.c:2208: warning: unused parameter 'pinfo'
svn path=/trunk/; revision=25872
2008-07-30 13:38:31 +00:00
Jeff Morriss
82de0c8ee7 Register the FTP and ftp-data dissectors by name
svn path=/trunk/; revision=25871
2008-07-30 13:34:23 +00:00
Anders Broman
832a507988 From Gerhard Olsson :
tcp_dissect_pdus will not req one_more_segm when tvb<fixed_len

svn path=/trunk/; revision=25869
2008-07-30 12:23:18 +00:00
Anders Broman
68c6088a51 From Mike Davies:
The MEGACO dissector issues an error when a command "AuditValue" is captured
[Packet size limited during capture: MEGACO truncated], but the packet seems to
be OK. See the example attached.

svn path=/trunk/; revision=25868
2008-07-30 12:02:34 +00:00
Jaap Keuter
c3914ce6d5 From Ryan Wamsley:
For the EtherNet/IP protocol (ENIP), display text for Additional Status in the
Forward Open Response packet.

svn path=/trunk/; revision=25865
2008-07-30 06:07:47 +00:00
Anders Broman
91cd5cce23 Handle malformed SIP headers (empty header line missing) and add an expert
item explaining the fault.
Fixes bug
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2729

svn path=/trunk/; revision=25862
2008-07-29 18:02:09 +00:00
Gerald Combs
60851c5b71 Make sure a struct is completely initialized before we try to use it. Fixes
bug 2751.

svn path=/trunk/; revision=25861
2008-07-29 17:29:09 +00:00
Anders Broman
fec43e2350 Update mimetype_and_clock_map and ad samle rate to sdp.
svn path=/trunk/; revision=25860
2008-07-29 15:58:43 +00:00
Anders Broman
526725485e packet-gprs-llc.c:431: warning: 'ui_ti' may be used uninitialized in this function
svn path=/trunk/; revision=25856
2008-07-28 23:43:39 +00:00
Anders Broman
583d2e96e3 packet-gprs-llc.c:324: warning: unused parameter 'ui_ti'
svn path=/trunk/; revision=25855
2008-07-28 23:03:52 +00:00
Anders Broman
3ea9adb2ff From Vincent Helfre :
GPRS LLC CRC24 badly calculated for non protected frames
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2290

svn path=/trunk/; revision=25854
2008-07-28 19:32:59 +00:00
Anders Broman
e10027a87a Get rid of some unused code warnings.
svn path=/trunk/; revision=25853
2008-07-28 18:58:31 +00:00
Anders Broman
e1aa07c358 Get rid of some unused code warnings.
svn path=/trunk/; revision=25852
2008-07-28 14:39:22 +00:00
Anders Broman
a417d106a3 Get rid of some unused code warnings.
svn path=/trunk/; revision=25851
2008-07-28 14:31:35 +00:00
Anders Broman
c14166df83 Get rid of some unused code warnings.
svn path=/trunk/; revision=25850
2008-07-28 14:28:57 +00:00
Anders Broman
ee0a994407 Get rid of some unused code warnings.
svn path=/trunk/; revision=25849
2008-07-28 14:26:04 +00:00
Anders Broman
133671c781 Get rid of some unused code warnings.
svn path=/trunk/; revision=25848
2008-07-28 11:03:35 +00:00
Anders Broman
73c20a27d0 Regenerate FTAM with (almost) unchanged asn1 file.
svn path=/trunk/; revision=25847
2008-07-28 10:05:58 +00:00
Bill Meier
42a24b8c51 packet-ncp2222.obj depends upon packet-ncp2222.inc
svn path=/trunk/; revision=25846
2008-07-27 23:09:37 +00:00
Tomas Kukosa
5ad5441634 Once more warning removed
svn path=/trunk/; revision=25844
2008-07-26 22:44:15 +00:00
Anders Broman
228b16850c Get rid of some unused code warnings.
svn path=/trunk/; revision=25843
2008-07-26 22:39:32 +00:00
Anders Broman
b3e93c1391 Fix typo(s)
svn path=/trunk/; revision=25842
2008-07-26 22:38:53 +00:00
Anders Broman
2894d5c550 Fix unused code warings generated because some IE:s uses the same "value" for different
IE:s depending on message type.
(Thanks to Tomas Kukosa for helping to solve the problem).

svn path=/trunk/; revision=25841
2008-07-26 22:22:08 +00:00
Tomas Kukosa
7d1c30c417 Get rid of next few warnings (dissect_per_choice needs signed value parameter)
svn path=/trunk/; revision=25840
2008-07-26 19:07:04 +00:00
Tomas Kukosa
1644e4138a Get rid of few warnings (unused generated code, signed/unsigned mismatch)
svn path=/trunk/; revision=25839
2008-07-26 15:28:04 +00:00
Jeff Morriss
31d0fb16d7 From Neil Piercy via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2637 : Make the RANAP SSN configurable.
svn path=/trunk/; revision=25837
2008-07-26 02:04:19 +00:00
Guy Harris
5b836ec674 Fix typos, clean up a message.
svn path=/trunk/; revision=25835
2008-07-25 23:34:15 +00:00
Anders Broman
8db1e7a8b2 From David Aggeler:
Follow-up from SVN 25825 check in

The g_slist_free() is really needed in export_object.c, otherwise, the export
list has false (repetitive) entries in it, that cause a crash when selecting
them.

Whether false entries are in the list, only depends on the speed of the export
processing, since this tap is 

Replaced all guchar with gchar. This should eliminate the warnings on solaris. 
I guess I used the wrong reference.

Added patch for 'Authors' in case I need to add myself to the list.

svn path=/trunk/; revision=25834
2008-07-25 22:58:05 +00:00
Jeff Morriss
9bacbeceb5 static variable declarations don't belong in header files
svn path=/trunk/; revision=25830
2008-07-25 15:42:46 +00:00
Jeff Morriss
4e19755680 Remove an unused variable and cast a string constant into a guchar. Also add newline at the end of the file.
svn path=/trunk/; revision=25829
2008-07-25 15:06:52 +00:00
Martin Mathieson
d9f8023b63 Add a newline to the end of the file.
Still seeing these errors...

packet-dcm.c: In function `dcm_uid_or_desc':
packet-dcm.c:960: warning: pointer type mismatch in conditional expression
packet-dcm.c: At top level:
packet-dcm.c:229: warning: 'dcm_desegment_headers' defined but not used


svn path=/trunk/; revision=25828
2008-07-25 15:00:16 +00:00
Anders Broman
72c2f913e5 Try to fix some of the warnings.
svn path=/trunk/; revision=25827
2008-07-25 14:54:12 +00:00
Anders Broman
6dd20d987d Try to fix some of the warnings.
svn path=/trunk/; revision=25826
2008-07-25 14:19:36 +00:00
Anders Broman
e9a6106af5 From David Aggeler:
multiple PDV per PDU support
 - Support multiple PDVs per PDU
 - Better summary, in PDV, PDU header and in INFO Column, 
   e.g. show commands like C-STORE
 - Fixed Association Reject (was working before my changes)
 - Fixed PDV Continuation with very small packets. Reduced minimum packet
   length from 10 to 2 Bytes for PDU Type 4 
 - Fixed PDV Continuation. Last packet was not found correctly.
 - Fixed complilation warning (build 56 on solaris)
 - Fixed tree expansion (hf_dcm_xxx)
 - Added expert_add_info() for Assoctiation Reject
 - Added expert_add_info() for Assoctiation Abort
 - Added expert_add_info() for short PDVs (i.e. last fragment,
   but PDV is not completed yet)
 - Clarified and grouped data structures and its related code 
   (dcmItem, dcmState) to have consistent _new() & _get() functions 
   and to be be according to coding conventions 
 - Added more function declaration to be more consistent
 - All dissect_dcm_xx now have (almost) the same parameter order
 - Removed DISSECTOR_ASSERT() for packet data errors.
   Not designed to handle this.
 - Handle multiple DICOM Associations in a capture correctly, 
   i.e. if presentation contexts are different.

svn path=/trunk/; revision=25824
2008-07-25 13:36:58 +00:00
Anders Broman
4a233c45a7 From David Aggeler:
DICOM dissector bugfixes and features

svn path=/trunk/; revision=25823
2008-07-25 13:20:18 +00:00
Anders Broman
7c12f0438a From Alex Turbov:
Incorrect size for 'SSI Entry' in SNAC(0x13, 0x06) packet
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2721

svn path=/trunk/; revision=25822
2008-07-25 12:44:55 +00:00
Gerald Combs
5c4af7d6be Use tvb_format_stringzpad instead of tvb_memcpy to fetch the SAP server name.
svn path=/trunk/; revision=25821
2008-07-24 16:46:09 +00:00
Anders Broman
1de4da8343 Get rid of unused code warnings.
svn path=/trunk/; revision=25819
2008-07-24 12:32:00 +00:00
Anders Broman
22de14d9bf Get rid of unused code warnings.
svn path=/trunk/; revision=25818
2008-07-24 12:26:59 +00:00
Anders Broman
ece87c88fd Get rid of unused code warnings.
svn path=/trunk/; revision=25817
2008-07-24 10:58:23 +00:00
Tomas Kukosa
edbcca785f Fix TCP desegmentation when minimal header spans multiple segments.
svn path=/trunk/; revision=25814
2008-07-24 06:33:23 +00:00
Anders Broman
44e2eccb03 Get rid of unused code warnings.
svn path=/trunk/; revision=25813
2008-07-24 00:44:00 +00:00
Anders Broman
ff8291413a Get rid of unused code warnings.
svn path=/trunk/; revision=25812
2008-07-24 00:30:11 +00:00
Anders Broman
84bbe30340 Get rid of unused code warnings.
svn path=/trunk/; revision=25809
2008-07-23 21:55:56 +00:00
Jeff Morriss
a5c48c4c6f Don't use proto_tree_add_string_hidden() any more: it's deprecated.
svn path=/trunk/; revision=25808
2008-07-23 21:04:48 +00:00
Jeff Morriss
f97023f302 Don't use proto_tree_add_uint_hidden() any more: it's deprecated.
svn path=/trunk/; revision=25807
2008-07-23 20:35:28 +00:00
Jeff Morriss
d5aff45ab8 Don't split a value_string's string across multiple lines.
svn path=/trunk/; revision=25806
2008-07-23 19:54:17 +00:00
Anders Broman
89f82718ac Get rid of some unused code warnings.
svn path=/trunk/; revision=25804
2008-07-23 13:26:43 +00:00
Anders Broman
201b5205df Get rid of some unused code warnings and fix an Id marking and some indentation changes.
svn path=/trunk/; revision=25803
2008-07-23 12:45:24 +00:00
Anders Broman
ac5909c827 Get rid of some unused code warnings.
svn path=/trunk/; revision=25796
2008-07-22 18:55:49 +00:00
Bill Meier
3dd77dc972 Remove unnecessary comma from value_string initializer
svn path=/trunk/; revision=25795
2008-07-22 18:40:32 +00:00
Bill Meier
39b20c0081 Add NULL termination element to value_string arrays.
(Done for consistency although not strictly required in these cases);
(Also: so no kickouts on this file when doing automated checking
 for missing NULL termination elements in value-string arrays). 

svn path=/trunk/; revision=25794
2008-07-22 18:36:40 +00:00
Bill Meier
67559b7dfe Add NULL termination element to value_string arrays
svn path=/trunk/; revision=25793
2008-07-22 18:27:13 +00:00
Anders Broman
742ae8413d Get rid of some unused code warnings.
svn path=/trunk/; revision=25791
2008-07-22 17:28:38 +00:00
Anders Broman
c291bba21b Try again.
svn path=/trunk/; revision=25790
2008-07-22 15:56:26 +00:00
Anders Broman
04d6e5a47d Get rid of some unused code warnings...
svn path=/trunk/; revision=25789
2008-07-22 15:21:07 +00:00
Jeff Morriss
20193e363e From Abhik Sarkar via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2707
The SMPP dissector currently supports only version 3.4. The latest version of
the protocol is version 5.0 and it has been around for a while. However, the
usage of this version of the protocol is only now picking up. 

This patch adds basic support for SMPP 5.0. By basic I mean:
- New Operations and Responses.
- New TLVs.
- New Error codes.
- Any changes to earlier values. 

svn path=/trunk/; revision=25787
2008-07-22 12:13:38 +00:00
Anders Broman
29cee0856c See if this gets rid of some unused code warnings...
svn path=/trunk/; revision=25785
2008-07-21 22:00:00 +00:00
Anders Broman
4acc73af3a See if this gets rid of some unused code warnings...
svn path=/trunk/; revision=25784
2008-07-21 21:22:42 +00:00
Anders Broman
35919a142a See if this gets rid of some unused code warnings...
svn path=/trunk/; revision=25783
2008-07-21 20:26:37 +00:00
Anders Broman
c79cce34cb See if this gets rid of some unused code warnings...
svn path=/trunk/; revision=25782
2008-07-21 19:39:47 +00:00
Anders Broman
d37870e8a7 Fix compile error.
svn path=/trunk/; revision=25780
2008-07-21 18:34:04 +00:00
Anders Broman
4f7b352519 Update to version 7.9.0
svn path=/trunk/; revision=25779
2008-07-21 18:22:51 +00:00
Anders Broman
e711dad8e3 Try again ;)
svn path=/trunk/; revision=25776
2008-07-20 22:11:58 +00:00
Anders Broman
9431d15f5c Fix a warning.
svn path=/trunk/; revision=25775
2008-07-20 22:11:21 +00:00
Anders Broman
b303ab2b8d Will gcc be happy now?
svn path=/trunk/; revision=25774
2008-07-20 21:59:45 +00:00
Anders Broman
cbc3b42cec Fix a warning.
svn path=/trunk/; revision=25773
2008-07-20 21:59:06 +00:00
Anders Broman
6e0dc4349f Uggly hack to fix:
packet-gsm_a.c:4914: warning: comparison between signed and unsigned
packet-gsm_a.c:4944: warning: comparison between signed and unsigned

svn path=/trunk/; revision=25772
2008-07-20 21:32:59 +00:00
Anders Broman
e0ea11beee Fix a warning.
svn path=/trunk/; revision=25771
2008-07-20 21:31:49 +00:00
Anders Broman
4dfb4bd99c From Neil Piercy :
Addition dissection for packet-gsm_a.c

svn path=/trunk/; revision=25770
2008-07-20 20:45:18 +00:00
Jeff Morriss
6946f1878f From https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2723
Tigran Mkrtchyan: decode and display fattr4_fs_layout_types.

Thijs Stuurman: Synchronize names used by wireshark with those used in
latest pnfs draft.

J. Bruce Fields: Use large default max_rpc_tcp_pdu_size setting
The linux server will do up to 1M these days, so the current default is
very likely to discard all reads and writes from such a server.
Thanks to Jim Rees for catching this.

Jeff Morriss: limit the max_rpc_tcp_pdu_size increase to 4M instead of the 16M
proposed.  Memory is cheap but still not unlimited.

svn path=/trunk/; revision=25769
2008-07-19 20:17:42 +00:00
Jeff Morriss
1ddf33b720 From Edward J. Paradise via
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2693 :

The rfc4938bis draft extends the Point-to-Point over Ethernet (PPPoE) protocol
with an optional credit-based flow control mechanism and an optional Link
Quality Metric report.  These optional extensions improve the performance of
PPPoE over media with variable bandwidth and limited buffering, such as mobile
point-to-point radio links.

Support for rfc4938 already exists in wireshark, but rfc4938bis specifies a new
credit scale factor TLV and the use of the reserved field of the PADQ to
specify max and current data-rate scaling.

svn path=/trunk/; revision=25768
2008-07-19 15:04:20 +00:00
Jaap Keuter
d463253cc2 From Edward J. Paradise:
The #defines for PADG, PADC, and PADQ are incorrect and these packets are
showing up as unknown.
I would be happy to fix this bug as I would like to enhance the current support
for rfc4938 and rfc4938bis to include filtering and inband credit grant decoding.

svn path=/trunk/; revision=25766
2008-07-18 19:31:01 +00:00
Jeff Morriss
2e78900982 Remove an (unused) HAVE_ICONV reference.
svn path=/trunk/; revision=25764
2008-07-18 11:21:00 +00:00
Jeff Morriss
485110f241 We require GLIB-2 now so there's no need to attempt to use regular iconv: use
the GLIB version instead.

Reindent some (does someone have their tabstops set to 4?).

Create and use some #defines instead of hard-coded values. For example,
replace 0x00 with ANSI_X34 in both the value_string and the case statement.
(This file could use a lot more of such changes.)

packet-bacapp.c appears to compile cleanly now so move it to
CLEAN_DISSECTOR_SOURCE.

svn path=/trunk/; revision=25758
2008-07-17 13:53:26 +00:00
Jeff Morriss
52deed8edc ssl_hash() needs the StringInfo.data it is passed to be word aligned and it appears that it is (it is ep_malloc'd in ssl_save_session()). Add an intermediate cast to tell the compiler the alignment is okay and comments explaining the cast and warning anyone who might change how it is allocated to keep it aligned.
svn path=/trunk/; revision=25755
2008-07-16 14:21:14 +00:00
Jeff Morriss
a5ca07247b conv_frame_states is an array of pointers, make it a GPtrArray instead of a GArray with casts
svn path=/trunk/; revision=25754
2008-07-16 13:29:21 +00:00
Guy Harris
91aa5dcd21 The second argument to g_ptr_array_add() is the pointer to add, not a
pointer to that pointer - unlike g_array_append_vals, which takes a
pointer to an array of values and a count of the number of values in the
array.

svn path=/trunk/; revision=25753
2008-07-16 08:08:17 +00:00
Jaap Keuter
6198ef668f From Alex Turbov:
Function dissect_aim_tlv_value_uint32 have consumed 24 bits instead of 32 to
obtain a value.

svn path=/trunk/; revision=25752
2008-07-16 05:33:25 +00:00
Jaap Keuter
a338ee2d4d From Alex Turbov:
AIM 'New Connection' packet dissector have incorrect size for details pane of
TLV 0x14. Actual size is 4 (not 2).

svn path=/trunk/; revision=25751
2008-07-16 05:17:32 +00:00
Jeff Morriss
95352c8a04 isup_message_type_value is an array, there's no need to pass the address-of it to VALS
svn path=/trunk/; revision=25750
2008-07-15 21:35:58 +00:00
Jeff Morriss
d7ed3bf05a GArrays' data is properly aligned for whatever they are holding (despite
the fact that 'data' is a pointer to a char).  GLIB fixed this in their
accessor macro here:

http://svn.gnome.org/viewvc/glib?view=revision&revision=6092

The bug report confirms that the data is properly aligned:

http://bugzilla.gnome.org/show_bug.cgi?id=502927

So, add some intermediate (void *) casts to avoid "cast increases required
alignment of target type" on SPARC.  (No, we can't use the accessor macro
because we want to access the whole array not just the ith element.)

Since build_dict->ett is actually an array of pointers, change it to a
GPtrArray.

Reindent some.

svn path=/trunk/; revision=25749
2008-07-15 21:06:31 +00:00
Jaap Keuter
01c640d3e7 From Joe Eykholt:
FIP is the FCoE Initialization Protocol.  FCoE is Fibre-Channel over Ethernet.
FIP is being finalized in t11.org, and further changes are not expected.

svn path=/trunk/; revision=25748
2008-07-15 20:56:22 +00:00
Guy Harris
725f75caed Add registered fields for the transport class and option bits in
connection requests.

svn path=/trunk/; revision=25747
2008-07-15 18:47:11 +00:00
Guy Harris
85796b5506 Move the OSI transport protocol dissectors (ISO 8073/ITU-T X.224
connection-oriented transport protocol and ISO 8602/ITU-T X.234
connectionless transport protocol) out of packet-clnp.c into
packet-isotp.c.

svn path=/trunk/; revision=25746
2008-07-15 16:33:15 +00:00
Guy Harris
82177e1b32 Frame numbers are unsigned, so 0xffffffff isn't a special out-of-band
value.  They start at 1, though, so 0 *is* a special out-of-band value.

There is no guarantee that you can use a pointer as a 32-bit integral
value; the compiler warns if you do, at least on some platforms.

svn path=/trunk/; revision=25744
2008-07-15 07:08:30 +00:00
Jaap Keuter
e423151973 From Kip McAtee:
Added eth, PPP, and IP decodes to the ATM dissector.

svn path=/trunk/; revision=25743
2008-07-15 05:46:37 +00:00
Jaap Keuter
c20e5736de Fix for revision 25730:
Add packet-pw-eth.c to Makefile.common

svn path=/trunk/; revision=25742
2008-07-15 05:15:48 +00:00
Guy Harris
fd1c7ac1aa CTDB isn't an ASN.1-based protocol.
svn path=/trunk/; revision=25741
2008-07-15 01:46:52 +00:00
Guy Harris
2e18ba7873 Just have a scalar handle_t for the Infiniband handle, for now. (The
old code had the type value past the end of the array.)

Rename the handle variables.

svn path=/trunk/; revision=25739
2008-07-14 20:26:58 +00:00
Guy Harris
e95265b926 Rename the ERF "erfhdlc" preference to "hdlc_type" ("erf" is redundant,
and "hdlc" doesn't indicate that it's a protocol type), and, instead of
a "raw" option, have a "try to guess the traffic type" option - for now,
if the first byte is 0x0f or 0x8f, treat it as Cisco HDLC, otherwise
treat it as PPP.

svn path=/trunk/; revision=25737
2008-07-14 19:28:19 +00:00
Guy Harris
1349de5532 Replace the old "erfatm" preference for the ERF dissector with an
"aal5_type" dissector, which offers only "guess the traffic type" and
"LLC multiplexed" as options, defaulting to "guess the type".

Add a separate preference to control whether to treat single ATM cells
as raw data or as the first cell of an AAL5 PDU (and dissecting them as
short AAL5 PDUs).

Don't reach inside the tvbuff to get the data and the length; use
tvb_length() and tvb_get_ptr().

Pass the data *after* the AAL5 header to the "guess the traffic type"
routine.

svn path=/trunk/; revision=25736
2008-07-14 18:56:25 +00:00
Guy Harris
4c5cc4c5e1 List the ERF dissector as one of the "clean" dissectors, so that
warnings (such as the warning you get when you say
"prefs_register_boolean_preference" rather than
"prefs_register_bool_preference") show up as errors.

svn path=/trunk/; revision=25735
2008-07-14 18:55:57 +00:00
Bill Meier
27f79440f5 Fix declaration to match change in SVN #25731
svn path=/trunk/; revision=25734
2008-07-14 11:32:19 +00:00
Guy Harris
33c1d1206e The PPP protocol type of 0031 is for the PPP Bridging Control Protocol;
it's not the "Bridge Control Protocol", and the packets aren't "BPDU"s
in the sense of Spanning Tree Protocol packets.

svn path=/trunk/; revision=25732
2008-07-13 19:04:53 +00:00
Guy Harris
a985d71ec1 If we know that an Ethernet packet includes the FCS, remove the FCS from
the payload we hand to the next dissector.

Check whether the length field in an 802.3 header doesn't go past the
(presumed) end of the payload.

svn path=/trunk/; revision=25731
2008-07-13 18:56:54 +00:00
Jaap Keuter
e86825b8f8 From Francesco Fondelli:
Attached is a patch for:
- PW Associated Channel Header dissection as per RFC 4385
- PW MPLS Control Word dissection as per RFC 4385
- mpls subdissector table indexed by label value
- enhanced "what's past last mpls label?" heuristic
- Ethernet PW (w/o CW) support as per RFC 4448

svn path=/trunk/; revision=25730
2008-07-13 17:19:33 +00:00
Guy Harris
2509b0e0c9 Dissect the PPP Bridge Control Protocol header. Hand Ethernet packets
to the "no FCS" dissector if the "FCS present" flag isn't set.  Strip
off padding.  Don't hand non-Ethernet packets to the Ethernet dissector.

Update the RFC number for the PPP Multilink protocol.  Add a preference
for short sequence numbers.  Check only the "first fragment" and "last
fragment" flags when constructing the summary description for the flags
field.  Use the global "tfs_yes_no" true_false_string structure rather
than defining our own "Yes"/"No" true_false_string structure.

svn path=/trunk/; revision=25729
2008-07-13 17:11:02 +00:00
Stig Bjørlykke
1d4deb0f19 From Jess Balint (bug 2700):
Implement field decoding in mysql protocol dissector.

svn path=/trunk/; revision=25728
2008-07-12 20:02:10 +00:00
Stig Bjørlykke
963ed71cfc From J. Bruce Fields (bug 2634):
The attached patches bring the wireshark code up to date with the latest
NFSv4.1 protocol drafts (in ietf last call now, so hopefully not too much more
of this will be required).

They also cover more of the protocol, and do some minor cleanup (e.g. remove
some operations which were really only used by one prototype implementation,
and never part of the protocol.)

A few ops and attributes are still missing.

svn path=/trunk/; revision=25727
2008-07-12 19:53:53 +00:00
Guy Harris
f805676e19 Make erf.ethfcs a Boolean, with "FCS present" and "FCS not present" the
only options, and default to "FCS present".

svn path=/trunk/; revision=25724
2008-07-12 18:26:47 +00:00
Guy Harris
cb21120f17 Clean up indentation.
svn path=/trunk/; revision=25723
2008-07-12 17:37:22 +00:00
Jaap Keuter
445e2212b7 Move the registration for SSL sockets to the protocol dissectors themselves.
svn path=/trunk/; revision=25721
2008-07-12 14:42:14 +00:00
Guy Harris
a092f9857d Rename the preference values to something that leaves out the "eth" (as
it's redundant).

svn path=/trunk/; revision=25720
2008-07-12 02:42:33 +00:00
Guy Harris
6d0ad7e140 ERF Ethernet records always contain Ethernet packets, as the name
indicates; replace the "erf.eth" preference with an "erf.ethfcs"
preference, specifying whether the FCS is present in Ethernet frames,
and offer the options "present", "not present", and "maybe present" -
for "maybe present", call the regular Ethernet dissector, which tries to
figure out whether there's an FCS at the end of the packet or not.

svn path=/trunk/; revision=25719
2008-07-12 02:36:32 +00:00
Jeff Morriss
c50b4aec09 More (mostly stats tree) unsigned->signed char cleanup
svn path=/trunk/; revision=25717
2008-07-12 01:48:24 +00:00
Jeff Morriss
71c1e4faf0 Change the stats tree API to use signed chars instead of guint8s for all its
strings; this should fix a number of signed/unsigned char warnings.
Reindent a bunch, too.

svn path=/trunk/; revision=25716
2008-07-11 21:13:39 +00:00
Jeff Morriss
bde286846f Fix a couple gint/guint mismatches
svn path=/trunk/; revision=25715
2008-07-11 20:19:52 +00:00
Jeff Morriss
1944665283 tvb_format_text() returns a pointer chars, not guint8s
svn path=/trunk/; revision=25714
2008-07-11 20:15:52 +00:00
Jeff Morriss
8b4468cacd Fix a couple signed/unsigned char mismatches (still more here)
svn path=/trunk/; revision=25713
2008-07-11 20:12:22 +00:00
Jeff Morriss
2a89ea15d5 Cast away the unsignedness of a string (which has had EBCDIC_to_ASCII() run on it)
svn path=/trunk/; revision=25712
2008-07-11 20:05:44 +00:00
Jeff Morriss
83b913dd13 prefs_register_uint_preference() takes a pointer to a guint, not a pointer to gint.
svn path=/trunk/; revision=25711
2008-07-11 20:00:41 +00:00
Jeff Morriss
28426d27ff prefs_register_uint_preference() takes as its argument a pointer to a uint, not a pointer to a gboolean. Similarly prefs_register_enum_preference takes a pointer to a gint, not a guint.
svn path=/trunk/; revision=25710
2008-07-11 19:56:43 +00:00
Jeff Morriss
83ae90ae83 In a call to proto_tree_add_bytes_format(): actually pass a pointer to the start of the bytes
svn path=/trunk/; revision=25709
2008-07-11 19:48:30 +00:00
Jeff Morriss
bb72192654 Change a string's declaration from guint8 to a gchar
svn path=/trunk/; revision=25708
2008-07-11 19:30:10 +00:00
Jeff Morriss
9d67d57cad Change a guchar to gchar: it's used as a regular string
svn path=/trunk/; revision=25707
2008-07-11 19:18:54 +00:00
Jeff Morriss
19e29f228f Remove some dead (statement not reached) code (while trying to avoid any false control reaches end of non-void function warnings)
svn path=/trunk/; revision=25706
2008-07-11 18:56:03 +00:00
Jeff Morriss
0c18cbc98f (Finally) stop guint16s to access a string: just treat it as an array of chars and swap them "the hard way".
svn path=/trunk/; revision=25702
2008-07-11 15:16:03 +00:00
Guy Harris
b92594e56c ASCII (well, alphabetic, really) until proven otherwise; that fixes a
warning, which is a valid warning if the length is 0.

Clean up indentation a bit.

svn path=/trunk/; revision=25701
2008-07-11 03:16:54 +00:00
Guy Harris
2577fe6e01 Include <ctype.h> to define isalpha().
svn path=/trunk/; revision=25699
2008-07-10 18:35:11 +00:00
Jeff Morriss
7ab9808489 Cast that guint16 into a char before trying to NULL terminate the string (so that we only set 1 byte to 0, not 2).
svn path=/trunk/; revision=25697
2008-07-10 13:42:51 +00:00
Jeff Morriss
8580c6ab54 Don't declare a char[] then cast it into a guint16 to use it as both a guint16 and a char: the char[] alignment may not be correct for a guint16. Instead declare a guint16[] and cast it to char when needed. This is still weird but it fixes a Solaris/SPARC warning.
svn path=/trunk/; revision=25693
2008-07-09 21:22:00 +00:00
Jaap Keuter
0f199f4bff From Sven Eckelmann:
Just forgot to set inited variable in reg_handoff_bat_*().

svn path=/trunk/; revision=25689
2008-07-09 19:10:54 +00:00
Jaap Keuter
e957d8ad1a From Motonori Shindo:
Currently, sFlow dissector only recongnizes "Header" as the packet data type.
This patch enhances it to support "IPv4" and "IPv6" packet data type.

This patch seems to work well against sFlow packets exported from AlaxalA switch.

svn path=/trunk/; revision=25688
2008-07-09 18:37:50 +00:00
Martin Mathieson
f37686bc6f Initialise type to avoid warning.
I'm pretty sure that it won't be used uninitialised, and that the code could be more clearly arranged to make this obvious to the compiler too.

svn path=/trunk/; revision=25685
2008-07-09 14:50:05 +00:00
Jaap Keuter
b29e8aed10 From Paolo Abeni:
- the StringInfo allocator may fail when a 0 data length is requested
- many wrong values into the cipher_suites table
- duplicated code for ssl session state checking before each
  ssl_generate_keyring_material() call
- missing initialization of 'server_data_for_iv.data_len' and
  'client_data_for_iv.data_len' in ssl_session_init()

From Jaap Keuter:
- Some code rationalisation
- Gammatical/factual corrections in output and comments
- Whitespace cleanup

svn path=/trunk/; revision=25684
2008-07-09 07:24:13 +00:00
Bill Meier
c63145b3d9 Fix some spacing .....
svn path=/trunk/; revision=25683
2008-07-09 02:30:39 +00:00
Bill Meier
d0258115a6 Fix some mis-spellings
svn path=/trunk/; revision=25682
2008-07-09 01:30:30 +00:00
Bill Meier
65bcd0d67f Display "Decompression failed" when appropriate (& Fix some src spacing)
svn path=/trunk/; revision=25681
2008-07-08 22:36:35 +00:00
Sake Blok
feac4247db From Randy McEoin (bug 2654):
Avaya IPSI Control dissector



svn path=/trunk/; revision=25678
2008-07-08 21:44:05 +00:00
Martin Mathieson
6f286b94fb Register raw_sip.line with correct protocol, as noticed while testing
patch for 2581.
















svn path=/trunk/; revision=25676
2008-07-08 16:32:56 +00:00
Guy Harris
d1275537c0 Get rid of #defines that are no longer being used (we now have a port
range list preference for HTTP, which we initialize to the default list).

svn path=/trunk/; revision=25667
2008-07-03 19:50:15 +00:00
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
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
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
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
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
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
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
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
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