Commit Graph

28319 Commits

Author SHA1 Message Date
Guy Harris db0698fd0a Fix warnings:
the behavior of x = x++ is undefined by the ANSI C standard -
	they obviously just meant x++;

	get rid of unused variables.

svn path=/trunk/; revision=29248
2009-07-30 21:40:22 +00:00
Anders Broman 532f424f33 From swapnil:
Packet-gtpv2.c dissector extended to support more IE's.

svn path=/trunk/; revision=29247
2009-07-30 21:11:26 +00:00
Gerald Combs 6c99cf5519 From Kovarththanan Rajaratnam via bug 3506:
The exception throwing code in except.c/h should be annotated with
"noreturn" to indicate that they never return. Running static analysis
on Wireshark without this annotation causes a lot of false positives
since these analyzers assume that the exception handling code are
ordinary functions that will eventually return.

svn path=/trunk/; revision=29246
2009-07-30 17:54:58 +00:00
Gerald Combs b249ff0487 Remove a couple of unused variables.
svn path=/trunk/; revision=29245
2009-07-30 17:22:00 +00:00
Martin Mathieson 0abc55b7fc Show backoff indicator value in subheader tree root.
svn path=/trunk/; revision=29244
2009-07-30 16:53:33 +00:00
Gerald Combs e951661130 Remove some unused variable assignments.
svn path=/trunk/; revision=29243
2009-07-30 16:17:46 +00:00
Gerald Combs 0cceb40317 Remove some unused variables.
svn path=/trunk/; revision=29242
2009-07-30 00:40:32 +00:00
Bill Meier 89a44fcd36 Fix a typo
svn path=/trunk/; revision=29241
2009-07-29 23:18:34 +00:00
Bill Meier 62a8504eda Function dissect_zcl_attr_data_type() unused: comment it out
svn path=/trunk/; revision=29240
2009-07-29 22:54:28 +00:00
Bill Meier 6de62aee00 Fix a potential crash and do various other minor changes:
- Fix an hf[] entry which had an invalid "strings" field which could cause a crash;
- Remove unneeded #includes;
- Make most functions & etc static;
- Remove declarations for functions never defined;
- Fix certain comments to refer to the correct function names;
- Change global variable to be local to proto_reg_handoff...
- ...

svn path=/trunk/; revision=29239
2009-07-29 22:33:08 +00:00
Anders Broman 3ec8398f16 From Kovarththanan Rajaratnam:
This patch fixes the "Decode as" crash. We now freeze the packetlist before
attempting to clear it. This way we don't have to issue a row deleted signal
either.

svn path=/trunk/; revision=29238
2009-07-29 21:32:49 +00:00
Anders Broman 26d1dfcf4c Add pinfo to new_packet_list_append() this should give us the abillity
to store (most) of the underlying data rather than the strings in the store and render it when we need it, thuss saving storage space and loading time.

Idealy we should not store the complete fdata or pinfo structures
but rather just the data relevant to the currently selected/used columns. I'm not entierly sure how to accomplish that however.

Dynamically allocated array to hold pointers to the actual data?

svn path=/trunk/; revision=29237
2009-07-29 20:58:47 +00:00
Bill Meier ad74edb139 From Chris Costa: Fix Bug 3786: "NDMP fragmentation fails when final fragment is very small".
(See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3786)

svn path=/trunk/; revision=29236
2009-07-29 20:24:10 +00:00
Guy Harris 512a32889c Add packet-zbee-zcl.h to the source tarball.
svn path=/trunk/; revision=29235
2009-07-29 19:39:17 +00:00
Jaap Keuter d779b4f96f From Neil Piercy:
The Cert Authority hashes in the IKEv2 Cert Request are not dissected properly:
the display offset is not correctly moved on, so the same info is displayed for
all Cert Authority fields.

svn path=/trunk/; revision=29234
2009-07-29 18:26:55 +00:00
Stig Bjørlykke 0660822311 Mark an unused argument.
svn path=/trunk/; revision=29233
2009-07-29 15:31:25 +00:00
Ronnie Sahlberg 148263ebf0 zigbee cluster dissector,
modified from entry in bug 3765 so it compiles cleanly


svn path=/trunk/; revision=29232
2009-07-29 11:29:53 +00:00
Ronnie Sahlberg ad942553b3 start describing ReportEventW in the IDL and make use of the "bitmap"
for EventTypes.

This addresses also bug 3552 with the until now unusued code.


The eventlog dissector is very incomplete.
While the protocol specification is available now, what is lacking is 
example capture files to test with when implementing more of the IDL 
definitions.




svn path=/trunk/; revision=29231
2009-07-29 10:59:31 +00:00
Ronnie Sahlberg e5f6cb05da Fixup the correct names of the parameters for OpenEventLogW
svn path=/trunk/; revision=29230
2009-07-29 10:41:24 +00:00
Ronnie Sahlberg 1899a11f3f update the idl to correctly dissect the read eventlog w flags as a
bitmap and not as a uint32

this addresses bug 3691 (that was already manually addressed by hand 
in the generated dissector)



svn path=/trunk/; revision=29229
2009-07-29 10:28:10 +00:00
Ronnie Sahlberg a3355a0949 Break the aes set ket/decrypt/encrypt out from airpdcap_raindoll into
its own crypt-aes.

change the integer types to glib style integers


this may/will be helpful if/when we implement our own version of 
kerberos 
aes decryption of dcerpc since the existing libraries can not (yet) 
handle when header signing is used.

we should implement our own decryption of this for cfx+aes just as we 
did for classic+arcfour





svn path=/trunk/; revision=29228
2009-07-29 10:01:14 +00:00
Tomas Kukosa f56e93d1a5 Support for IPv6 addresses in URI
svn path=/trunk/; revision=29227
2009-07-29 09:13:03 +00:00
Jaap Keuter cde25ec6a2 From Ivan Sy:
Support for DLV RR (RFC 4431) and SHA-256 Digest for DS RR (RFC 4509).

svn path=/trunk/; revision=29226
2009-07-29 07:10:02 +00:00
Anders Broman b95335b76f Make mark frame work.
svn path=/trunk/; revision=29225
2009-07-28 22:18:19 +00:00
Bill Meier 633a53619a Clarify (slightly) some comments;
Add a comment as to what looks like incorrect code.

svn path=/trunk/; revision=29224
2009-07-28 20:56:36 +00:00
Anders Broman 94e0026e19 From Kovarththanan Rajaratnam:
Enable popup menu in packet list view.

svn path=/trunk/; revision=29223
2009-07-28 20:46:23 +00:00
Anders Broman d4caa4ec50 Pacify the build bot.
svn path=/trunk/; revision=29222
2009-07-28 18:29:15 +00:00
Gerald Combs 507deea5cd Update the adapter name check to match the buildbot.
svn path=/trunk/; revision=29221
2009-07-28 17:27:59 +00:00
Anders Broman 09c6b577f9 Set reftime without recreating the packet list.
svn path=/trunk/; revision=29220
2009-07-28 16:20:05 +00:00
Ronnie Sahlberg cfc60e805d update samr.idl and remove a keyword we no longer support in pidl
regenerate samr and frstrans with the new version of pidl


svn path=/trunk/; revision=29219
2009-07-28 14:11:08 +00:00
Anders Broman bc43666e77 Fix setting of timestamp_precision.
svn path=/trunk/; revision=29218
2009-07-28 14:07:15 +00:00
Ronnie Sahlberg 77fc0c9451 From Stefan Metzmacher
add generated FRSTRANS dissectors and add them to the build


svn path=/trunk/; revision=29217
2009-07-28 13:53:10 +00:00
Ronnie Sahlberg 3c1de7c38e From Stefan Metzmacher :
Add IDL file for FRSTRANS


svn path=/trunk/; revision=29216
2009-07-28 13:50:22 +00:00
Ronnie Sahlberg 4802884629 regenerate SAMR using the new version of pidl
svn path=/trunk/; revision=29215
2009-07-28 13:39:42 +00:00
Ronnie Sahlberg ad5682dc8c update pidl to the newest version from samba
svn path=/trunk/; revision=29214
2009-07-28 13:38:46 +00:00
Ronnie Sahlberg f8cf2d2c83 When we passed the crytobuffer to krb5_c_decrypt() we never actually
verified that we did have enough data in the buffer/tvb, which could 
lead to a SEGV.
(for example if we enable KRB5 decryption but we do NOT use TCP 
reassembly, and the encrypted data goes beyong the end of the current 
segment)


Change the signature to decrypt_krb5_data() to take a TVB instead of a 
buffer+length.
Actually check that we do have the entire encrypted PDU before calling 
out to the kerberos libraries.



svn path=/trunk/; revision=29213
2009-07-28 13:01:41 +00:00
Anders Broman e464a9bef9 Fix setting of new time format.
svn path=/trunk/; revision=29212
2009-07-28 10:53:57 +00:00
Anders Broman 2a80b47ce4 Whitespace change.
svn path=/trunk/; revision=29211
2009-07-28 09:26:18 +00:00
Ronnie Sahlberg ac1b52a838 From: Matthieu Patou <mat+Informatique.Samba@matws.net>
Date: Mon, 27 Jul 2009 08:55:55 +0000 (+0200)
Subject: patch_ldap_260709

Add a few additional LDAP OIDs
and increase the maximum SASL blob size to be 1M instead of 256kb



svn path=/trunk/; revision=29210
2009-07-28 07:18:05 +00:00
Bill Meier c62a91e75b Add Chris Costa to AUTHORS
svn path=/trunk/; revision=29209
2009-07-27 23:16:29 +00:00
Bill Meier dece30a6ce Improve defragmentation:
1. Prevent tcpencap (ipsec-tcp) from incorrectly dissecting NDMP PDU fragments;
    (Essentially: register NDMP as the dissector for the conversation);
   Allows correct NDMP fragment reassembly whether or not the 
    TCP "Try heuristic sub-dissectors first" preference is enabled.
   Fixes Bug #3755 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3755)
2. Use a registered init routine to init the fragment and reassembled tables 
   each time a complete capture dissection is (re)started.
   Fixes a crash.
3. Don't register on TCP port 10000 since the tcpencap dissector needs to own this
   port. (The NDMP dissector is a heuristic dissector).
4. Strengthen the heuristic checking slightly.
5. Other minor changes.

svn path=/trunk/; revision=29208
2009-07-27 21:59:01 +00:00
Anders Broman d28b7ad2b8 From Vladimir Smrekar:
Change, that fix infinite loop for dissections of elements:
- Pulse notification
- Line Information
- PSTN FSM state
- Autonomous signalling sequence
- Sequence response
- Performance grading
- Rejection cp cause

Me prefix hf vars with hf_v52_

svn path=/trunk/; revision=29207
2009-07-27 14:47:12 +00:00
Bill Meier 61683c409a Move proto_reg_handoff to the end ...
svn path=/trunk/; revision=29206
2009-07-27 14:45:25 +00:00
Bill Meier 5aef94e6eb reassemble.h: update two comments; reassemble.c: correct a typo.
svn path=/trunk/; revision=29205
2009-07-27 13:59:53 +00:00
Anders Broman d446944c82 From Gerasimos Dimitriadis:
Decoding support for 4 DTAP IEs.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3777

svn path=/trunk/; revision=29204
2009-07-27 13:08:17 +00:00
Anders Broman cb771536df From Kovarththanan Rajaratnam:
Only fill in frame_data vals when needed.

svn path=/trunk/; revision=29203
2009-07-27 08:33:26 +00:00
Anders Broman 9ca4ac2bed From Kovarththanan Rajaratnam:
Use frame_data values .

svn path=/trunk/; revision=29202
2009-07-27 03:34:57 +00:00
Anders Broman e040dac13f Revert change by mistake.
svn path=/trunk/; revision=29201
2009-07-26 22:18:11 +00:00
Anders Broman f79c2aaeb7 "Create" the time cols when we render them making change of time format fast.
svn path=/trunk/; revision=29200
2009-07-26 22:16:36 +00:00
Anders Broman 3bbe2106c5 From Kovarththanan Rajaratnam:
- Don't issue a row_inserted signal. Rely on our caller to have  
disconnected the model from the view.

-  Removing col_fmt from row_data. It wasn't being used. If we need to store
the column format in the future that should probably be placed in the
PacketList instead of the PacketListRecord
2) Remove double allocation of col_text. Now we allocate it in
new_packet_list_append() and pass it on to packet_list_append_record()
3) Use se_alloc instead of se_alloc0 because we explictly set all the
parameters we use.

svn path=/trunk/; revision=29199
2009-07-26 22:11:46 +00:00