metze/wireshark/wip.git
9 years agoRevert "debug smb2_set_dcerpc_file_id" ws-metze/20150121
Stefan Metzmacher [Wed, 21 Jan 2015 08:51:00 +0000 (09:51 +0100)]
Revert "debug smb2_set_dcerpc_file_id"

This reverts commit 8ecf221a84211099d8c693ce242c3f50462050f1.

9 years agodebug smb2_set_dcerpc_file_id
Stefan Metzmacher [Wed, 21 Jan 2015 08:47:24 +0000 (09:47 +0100)]
debug smb2_set_dcerpc_file_id

Change-Id: Ic7b922f0b9dd5305ecb69c7ca7e2525ab7c0e719

9 years agoRevert "TODO SMB2 NegotiateContext...."
Stefan Metzmacher [Tue, 23 Sep 2014 21:13:43 +0000 (23:13 +0200)]
Revert "TODO SMB2 NegotiateContext...."

This reverts commit df732a47f554f3ba5ce004405089d0d7fbbaf586.

9 years agoTODO SMB2 NegotiateContext....
Stefan Metzmacher [Tue, 23 Sep 2014 21:13:29 +0000 (23:13 +0200)]
TODO SMB2 NegotiateContext....

Change-Id: Iff854f2d3824c8bf9f85ce7f160979bc707df222

9 years agowitness: fix build...
Stefan Metzmacher [Wed, 21 Jan 2015 08:17:28 +0000 (09:17 +0100)]
witness: fix build...

Change-Id: Ia9ff22c5e1002df680054bace65bd754fb774124

9 years agorerun pidl
Gregor Beck [Wed, 22 Jan 2014 12:39:52 +0000 (13:39 +0100)]
rerun pidl

Change-Id: I3c5cb5dccbcf13d7f0c55c47545fe4acd70947dc

9 years agowitness: FIX for tvb_get_unicode_string -> tvb_get_string_enc
Gregor Beck [Wed, 22 Jan 2014 12:36:28 +0000 (13:36 +0100)]
witness: FIX for tvb_get_unicode_string -> tvb_get_string_enc

9 years agoWitness: move packet-dcerpc-witness-cnf.c to witness.cnf
Gregor Beck [Tue, 7 Jan 2014 10:02:47 +0000 (11:02 +0100)]
Witness: move packet-dcerpc-witness-cnf.c to witness.cnf

9 years agowitness: cast to avoid C++ warnings
Gregor Beck [Wed, 20 Nov 2013 14:40:35 +0000 (15:40 +0100)]
witness: cast to avoid C++ warnings

9 years agowitness fix for new tvb_get_unicode_string() interface using wmem
Gregor Beck [Wed, 20 Nov 2013 13:09:57 +0000 (14:09 +0100)]
witness fix for new tvb_get_unicode_string() interface using wmem

9 years agoFIXUP: add parameter dcerpc_info to functions defined in cnf file
Gregor Beck [Wed, 20 Nov 2013 10:43:33 +0000 (11:43 +0100)]
FIXUP: add parameter dcerpc_info to functions defined in cnf file

9 years agoadd parameter dcerpc_info to PIDL_dissect_ipv?address()
Gregor Beck [Wed, 20 Nov 2013 10:29:40 +0000 (11:29 +0100)]
add parameter dcerpc_info to PIDL_dissect_ipv?address()

9 years agoadd parameter dcerpc_info to functions defined in cnf file
Gregor Beck [Wed, 20 Nov 2013 10:35:49 +0000 (11:35 +0100)]
add parameter dcerpc_info to functions defined in cnf file

9 years agorun master pidl
Gregor Beck [Tue, 19 Nov 2013 10:25:01 +0000 (11:25 +0100)]
run master pidl

9 years agoWitness: V2 RegisterEx()
Gregor Beck [Wed, 28 Aug 2013 09:54:25 +0000 (11:54 +0200)]
Witness: V2 RegisterEx()

9 years agoWitness: start to implement V2
Gregor Beck [Wed, 28 Aug 2013 09:11:55 +0000 (11:11 +0200)]
Witness: start to implement V2

9 years agoWitness: fix notify change
Gregor Beck [Tue, 6 Aug 2013 13:31:55 +0000 (15:31 +0200)]
Witness: fix notify change

9 years agoWitness: add pidl output
Gregor Beck [Mon, 29 Jul 2013 14:11:20 +0000 (16:11 +0200)]
Witness: add pidl output

9 years agoWitness: fix whitespace
Gregor Beck [Mon, 29 Jul 2013 07:52:17 +0000 (09:52 +0200)]
Witness: fix whitespace

9 years agoWitness: PIDL_dissect_ipv6address()
Gregor Beck [Mon, 29 Jul 2013 07:51:46 +0000 (09:51 +0200)]
Witness: PIDL_dissect_ipv6address()

9 years agoWitness: fix compiler warnings
Gregor Beck [Mon, 29 Jul 2013 07:29:25 +0000 (09:29 +0200)]
Witness: fix compiler warnings

9 years agoWitness: set col_info for interfaceInfo_state
Gregor Beck [Mon, 29 Jul 2013 07:24:59 +0000 (09:24 +0200)]
Witness: set col_info for interfaceInfo_state

9 years agoWitness: cleanup cnf
Gregor Beck [Mon, 29 Jul 2013 07:23:32 +0000 (09:23 +0200)]
Witness: cleanup cnf

9 years agoWitness: add move ip to tree_item
Gregor Beck [Fri, 26 Jul 2013 11:37:34 +0000 (13:37 +0200)]
Witness: add move ip to tree_item

9 years agoWitness: working witness.cnf
Gregor Beck [Fri, 26 Jul 2013 11:16:45 +0000 (13:16 +0200)]
Witness: working witness.cnf

9 years agoWitness: WIP
Gregor Beck [Fri, 26 Jul 2013 10:39:56 +0000 (12:39 +0200)]
Witness: WIP

9 years agoWitness: track context handles
Gregor Beck [Thu, 25 Jul 2013 08:43:13 +0000 (10:43 +0200)]
Witness: track context handles

9 years agoWitness: enum witness_notifyResponse_type
Gregor Beck [Thu, 25 Jul 2013 07:08:31 +0000 (09:08 +0200)]
Witness: enum witness_notifyResponse_type

9 years agoWitness: bitmap witness_interfaceInfo_flags
Gregor Beck [Thu, 25 Jul 2013 07:08:14 +0000 (09:08 +0200)]
Witness: bitmap witness_interfaceInfo_flags

9 years agoFIXUP
Gregor Beck [Thu, 25 Jul 2013 06:55:57 +0000 (08:55 +0200)]
FIXUP

9 years agoWitness: enum witness_interface_state
Gregor Beck [Thu, 25 Jul 2013 06:47:39 +0000 (08:47 +0200)]
Witness: enum witness_interface_state

9 years agoWitness: interfaceInfo_group_name + ipv4address
Gregor Beck [Thu, 25 Jul 2013 06:03:16 +0000 (08:03 +0200)]
Witness: interfaceInfo_group_name + ipv4address

9 years agoWitness: first guess
Gregor Beck [Wed, 24 Jul 2013 07:14:12 +0000 (09:14 +0200)]
Witness: first guess

9 years agosq use of epan_memmem...
Stefan Metzmacher [Wed, 21 Jan 2015 08:00:03 +0000 (09:00 +0100)]
sq use of epan_memmem...

Change-Id: I03614f37c2687137ec3bb99b7b3982ec956fdee1

9 years agosq dissect_verification_trailer
Stefan Metzmacher [Tue, 28 Jan 2014 12:23:33 +0000 (13:23 +0100)]
sq dissect_verification_trailer

9 years agoTODO: quick fix
Gregor Beck [Wed, 22 Jan 2014 10:13:15 +0000 (11:13 +0100)]
TODO: quick fix

9 years agoTMP: parse with (wrong) lenght as multiple of 2
Gregor Beck [Tue, 7 Jan 2014 08:44:03 +0000 (09:44 +0100)]
TMP: parse with (wrong) lenght as multiple of 2

9 years agosq rpc_sec_veritication_trailer
Stefan Metzmacher [Sun, 5 Jan 2014 11:55:14 +0000 (12:55 +0100)]
sq rpc_sec_veritication_trailer

9 years agosq dissect_verification_trailer
Stefan Metzmacher [Fri, 3 Jan 2014 13:13:40 +0000 (14:13 +0100)]
sq dissect_verification_trailer

9 years agoguid_to_str...
Stefan Metzmacher [Wed, 21 Jan 2015 07:59:48 +0000 (08:59 +0100)]
guid_to_str...

Change-Id: I1daac5d7c33403a3181777d7da49738fcb340286

9 years agodcerpc sec_vt guid_to_ep_str
Stefan Metzmacher [Fri, 3 Jan 2014 12:36:55 +0000 (13:36 +0100)]
dcerpc sec_vt guid_to_ep_str

9 years agoepan/dissectors/packet-dcerpc.c fix warnings
Stefan Metzmacher [Fri, 20 Sep 2013 01:51:56 +0000 (03:51 +0200)]
epan/dissectors/packet-dcerpc.c fix warnings

9 years agosec_vt_header: dissect cont_id + opnum
Gregor Beck [Thu, 5 Sep 2013 11:12:02 +0000 (13:12 +0200)]
sec_vt_header: dissect cont_id + opnum

9 years agosec_vt_header: dissect call_id
Gregor Beck [Thu, 5 Sep 2013 10:58:29 +0000 (12:58 +0200)]
sec_vt_header: dissect call_id

9 years agosec_vt_header: dissect drep
Gregor Beck [Wed, 4 Sep 2013 09:14:07 +0000 (11:14 +0200)]
sec_vt_header: dissect drep

9 years agoDCERPC: factor out proto_tree_add_dcerpc_drep()
Gregor Beck [Wed, 4 Sep 2013 09:03:15 +0000 (11:03 +0200)]
DCERPC: factor out proto_tree_add_dcerpc_drep()

9 years agoWIP: rpc_sec_vt
Gregor Beck [Mon, 2 Sep 2013 11:22:47 +0000 (13:22 +0200)]
WIP: rpc_sec_vt

9 years agosec_vt_pcontext
Gregor Beck [Mon, 2 Sep 2013 09:06:43 +0000 (11:06 +0200)]
sec_vt_pcontext

9 years agoFIXUP: WIP: verification_trailer
Gregor Beck [Mon, 2 Sep 2013 08:55:44 +0000 (10:55 +0200)]
FIXUP: WIP: verification_trailer

9 years agoFIXUP: sec_vt_command bitmask
Gregor Beck [Mon, 2 Sep 2013 08:35:53 +0000 (10:35 +0200)]
FIXUP: sec_vt_command bitmask

9 years agosec_vt_bitmask
Gregor Beck [Mon, 2 Sep 2013 08:04:57 +0000 (10:04 +0200)]
sec_vt_bitmask

9 years agoFIXUP: give names to sec_vt_command's
Gregor Beck [Fri, 30 Aug 2013 13:12:24 +0000 (15:12 +0200)]
FIXUP: give names to sec_vt_command's

9 years agoheader field for sec_vt_command_length
Gregor Beck [Fri, 30 Aug 2013 13:09:36 +0000 (15:09 +0200)]
header field for sec_vt_command_length

9 years agogive names to sec_vt_command's
Gregor Beck [Fri, 30 Aug 2013 13:02:28 +0000 (15:02 +0200)]
give names to sec_vt_command's

9 years agoadd bitmask for sec_vt_command
Gregor Beck [Fri, 30 Aug 2013 12:49:31 +0000 (14:49 +0200)]
add bitmask for sec_vt_command

9 years agoWIP: verification_trailer
Gregor Beck [Fri, 30 Aug 2013 12:01:29 +0000 (14:01 +0200)]
WIP: verification_trailer

9 years agoMove Auth padding to the right tree
Gregor Beck [Fri, 30 Aug 2013 12:00:56 +0000 (14:00 +0200)]
Move Auth padding to the right tree

9 years agoadd WERR_INVALID_STATE
Gregor Beck [Wed, 28 Aug 2013 10:35:00 +0000 (12:35 +0200)]
add WERR_INVALID_STATE

9 years agoadd WERR_TIMEOUT
Gregor Beck [Wed, 28 Aug 2013 09:22:05 +0000 (11:22 +0200)]
add WERR_TIMEOUT

9 years agoAdd dissector for SMB2_FSCTL_OFFLOAD_READ
Michael Adam [Thu, 23 Jan 2014 13:09:02 +0000 (14:09 +0100)]
Add dissector for SMB2_FSCTL_OFFLOAD_READ

9 years agoFix dissector of SMB2_FSCTL_PIPE_WAIT
Michael Adam [Thu, 23 Jan 2014 13:08:40 +0000 (14:08 +0100)]
Fix dissector of SMB2_FSCTL_PIPE_WAIT

9 years agosq FSCTL_PIPE_WAIT
Stefan Metzmacher [Fri, 3 Jan 2014 13:32:37 +0000 (14:32 +0100)]
sq FSCTL_PIPE_WAIT

9 years agosq epan/dissectors/packet-smb2.c no check_col => fsctl_pipe_wait
Stefan Metzmacher [Wed, 9 Oct 2013 09:01:49 +0000 (11:01 +0200)]
sq epan/dissectors/packet-smb2.c no check_col => fsctl_pipe_wait

9 years agoWIP: fsctl_pipe_wait
Gregor Beck [Mon, 17 Sep 2012 09:50:45 +0000 (11:50 +0200)]
WIP: fsctl_pipe_wait

9 years agoWIP: FSCTL_PIPE_WAIT
Gregor Beck [Thu, 13 Sep 2012 15:27:51 +0000 (17:27 +0200)]
WIP: FSCTL_PIPE_WAIT

9 years agoTODO needed??? packet-ntlmssp: fix possible segfault and set blob->length so the...
Stefan Metzmacher [Tue, 6 Nov 2012 09:02:59 +0000 (10:02 +0100)]
TODO needed??? packet-ntlmssp: fix possible segfault and set blob->length so the max value

9 years agoAdd a HACK patch for building a patched kerberos library
Matthieu Patou [Mon, 23 Sep 2013 06:24:24 +0000 (23:24 -0700)]
Add a HACK patch for building a patched kerberos library

Signed-off-by: Matthieu Patou <mat@matws.net>
9 years agoMIT krb5-1.6 HACK patch
Stefan Metzmacher [Sat, 25 Jul 2009 08:23:26 +0000 (10:23 +0200)]
MIT krb5-1.6 HACK patch

Apply this patch to krb5-1.6.x and build it
with a special prefix that only wireshark will use!

Then start wireshark with a script like this:

-----
metze@SERNOX:~/devel/wireshark/wireshark.git$ cat ~/bin/mxwrap.wireshark.krb5

export LD_LIBRARY_PATH="/home/metze/prefix/mit-krb5-1-6/lib/:$LD_LIBRARY_PATH"
exec /home/metze/devel/prefix/wireshark/bin/wireshark $@
gdb --args /home/metze/devel/prefix/wireshark/bin/wireshark $@
------

The LD_PRELOAD only works if the krb5 library version your system one,
then you just need to replace "libk5crypto.so", otherwise wireshark
needs to all of the custom libraries.

metze

9 years agofix for netmon 3.x captures
Stefan Metzmacher [Wed, 25 Aug 2010 05:14:40 +0000 (07:14 +0200)]
fix for netmon 3.x captures

metze

9 years agoRevert "HACK setup decryption keys for kerberos session setups smbclient..."
Stefan Metzmacher [Tue, 25 Feb 2014 14:50:00 +0000 (15:50 +0100)]
Revert "HACK setup decryption keys for kerberos session setups smbclient..."

This reverts commit e701801b515a28b997e9013fd1bdfd4c5dbbea26.

9 years agoHACK setup decryption keys for kerberos session setups smbclient...
Stefan Metzmacher [Tue, 25 Feb 2014 14:37:01 +0000 (15:37 +0100)]
HACK setup decryption keys for kerberos session setups smbclient...

Change-Id: I573e44de014ec318998e1bb612c95d877136594f

9 years agoFix problems with decryption of GSSAPI-KRB5 encrypted DCE-RPC
Matthieu Patou [Sat, 20 Sep 2014 13:19:05 +0000 (06:19 -0700)]
Fix problems with decryption of GSSAPI-KRB5 encrypted DCE-RPC

9 years agopacket-smb2: implement SMB2 NegotiateContexts
Stefan Metzmacher [Tue, 23 Sep 2014 21:11:25 +0000 (23:11 +0200)]
packet-smb2: implement SMB2 NegotiateContexts

Change-Id: I0a2c7ffa2490196989dce96b659337b4fee92c7e
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agopacket-smb2: fix getting the dataoffset in dissect_smb2_write_request()
Stefan Metzmacher [Tue, 23 Sep 2014 21:12:29 +0000 (23:12 +0200)]
packet-smb2: fix getting the dataoffset in dissect_smb2_write_request()

It's 2 byte only so we need to use tvb_get_letohs().

Change-Id: Idbab6428f4242abbbff089d7e1d1bf4cc86930b1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agopacket-smb2: correctly dissect dcerpc traffic over different named pipe handles
Stefan Metzmacher [Wed, 21 Jan 2015 07:17:19 +0000 (08:17 +0100)]
packet-smb2: correctly dissect dcerpc traffic over different named pipe handles

Change-Id: Id98d1c7e28d88f6cd50f5ef770eec95e57008458
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agopacket-dcerpc: change transportsalt to guint64
Stefan Metzmacher [Wed, 21 Jan 2015 07:14:23 +0000 (08:14 +0100)]
packet-dcerpc: change transportsalt to guint64

This will be able to hold also SMB2 file ids and maybe other stuff in future.

Change-Id: Ib55895a346b7dc6562291730693453728c99fe91
Signed-off-by: Stefan Metzmacher <metze@samba.org>
9 years agoAlways set the COMPILE_FLAGS property, so we can always fetch it.
Guy Harris [Wed, 21 Jan 2015 04:39:09 +0000 (20:39 -0800)]
Always set the COMPILE_FLAGS property, so we can always fetch it.

If we aren't adding -Werror, just set it to a null string, so when we
fetch it to add the SSE 4.2 flag to it for ws_mempbrk_sse42.c, it
doesn't fail.

Change-Id: I53858130c025e094ed8d0d975451961506fb1a39
Reviewed-on: https://code.wireshark.org/review/6704
Reviewed-by: Guy Harris <guy@alum.mit.edu>
9 years agoDon't set SSE4_2_FLAG to -msse4.2 unless -msse4.2 works.
Guy Harris [Wed, 21 Jan 2015 04:32:27 +0000 (20:32 -0800)]
Don't set SSE4_2_FLAG to -msse4.2 unless -msse4.2 works.

Change-Id: I54eca86d53dc0e4015a15491b9adfdfe9ef9e346
Reviewed-on: https://code.wireshark.org/review/6703
Reviewed-by: Guy Harris <guy@alum.mit.edu>
9 years agoCheck whether we can use nmmintrin.h.
Guy Harris [Wed, 21 Jan 2015 03:17:36 +0000 (19:17 -0800)]
Check whether we can use nmmintrin.h.

If we think the compiler supports SSE 4.2, check whether we can use
nmmintrin.h if we tell the compiler to compile with SSE 4.2 support; if
not, disable SSE 4.2 support.

This matches what we do in autotools.

Change-Id: I474d53d2fe7e2628faca7309efd7155b63bd7eab
Reviewed-on: https://code.wireshark.org/review/6702
Reviewed-by: Guy Harris <guy@alum.mit.edu>
9 years agoModernize the description of Wireshark given in the RPM info.
Jeff Morriss [Mon, 12 Jan 2015 20:16:03 +0000 (15:16 -0500)]
Modernize the description of Wireshark given in the RPM info.

The initial suggestions came from Michal Labedzki on
https://code.wireshark.org/review/#/c/4178

Change-Id: Iae04d667f70ae73b46d2edc1645c238ef6efc518
Reviewed-on: https://code.wireshark.org/review/6511
Reviewed-by: Michal Labedzki <michal.labedzki@tieto.com>
Reviewed-by: Niels de Vos <devos@fedoraproject.org>
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
9 years agoGet rid of trailing blank.
Guy Harris [Wed, 21 Jan 2015 02:46:10 +0000 (18:46 -0800)]
Get rid of trailing blank.

Change-Id: Ia1bbd632fe00cfe6b919aacc0cd198953211fe7f
Reviewed-on: https://code.wireshark.org/review/6699
Reviewed-by: Guy Harris <guy@alum.mit.edu>
9 years agoOnly turn -msse4.2 on for ws_mempbrk_sse42.c, and don't always build it.
Guy Harris [Wed, 21 Jan 2015 02:44:17 +0000 (18:44 -0800)]
Only turn -msse4.2 on for ws_mempbrk_sse42.c, and don't always build it.

Move all the SSE 4.2 stuff to wsutil/CMakeLists.txt.

Don't put ws_mempbrk_sse42.c in WSUTIL_FILES by default; add it if we
think the compiler supports compiling for SSE 4.2.

Add -msse4.2 to its COMPILE_FLAGS, but don't add it to any other
compiler flags - we don't want to build anything else with -msse4.2 by
default, as the only code that uses SSE 4.2 instructions but *only* does
so if the processor supports it is our mempbrk implementation.  (And
*add* it, don't *replace* the existing flags with -msse4.2; that way,
-Werror is left in there as well.)

Change-Id: I979b37a37e4b88b3af11e2275e89441118c8ce0a
Reviewed-on: https://code.wireshark.org/review/6698
Reviewed-by: Guy Harris <guy@alum.mit.edu>
9 years agoHandle CFLAGS disabling SSE 4.2.
Guy Harris [Wed, 21 Jan 2015 00:29:06 +0000 (16:29 -0800)]
Handle CFLAGS disabling SSE 4.2.

When checking whether nmmintrin.h works, add -msse4.2 at the *beginning*
of CFLAGS, so that user (or Gentoo build process) settings with
-mno-sse4.2 override it.

Bug: 10792
Change-Id: I1b77c2a092360a86bc7012d29642ff3303b60812
Reviewed-on: https://code.wireshark.org/review/6696
Reviewed-by: Guy Harris <guy@alum.mit.edu>
9 years agodsi: fix a trivial bug
Bill Meier [Tue, 20 Jan 2015 21:44:10 +0000 (16:44 -0500)]
dsi: fix a trivial bug

Change-Id: Ieafbd148211154a465ab1ce8fe36d2110882c458
Reviewed-on: https://code.wireshark.org/review/6694
Reviewed-by: Bill Meier <wmeier@newsguy.com>
9 years agoMove all SigComp functionality to the SigComp dissector.
Michael Mann [Tue, 20 Jan 2015 15:05:06 +0000 (10:05 -0500)]
Move all SigComp functionality to the SigComp dissector.

While it does make packet-sigcomp.c much bigger, there's no reason for it to be in epan directory.

Change-Id: I2d78c32de1d56e76578e610d4df586b5610d1b49
Reviewed-on: https://code.wireshark.org/review/6682
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
9 years agoHTTP2: fix test failure on Solaris SPARC
Pascal Quantin [Tue, 20 Jan 2015 21:20:54 +0000 (22:20 +0100)]
HTTP2: fix test failure on Solaris SPARC

Do not make any assumption on the endianness: not all hosts running Wireshark are little endian

Change-Id: I8792904f7000b4f2b9e44ffe41f350ba8b4932d4
Reviewed-on: https://code.wireshark.org/review/6693
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
9 years agoAdd DNS stats to release-notes
Alexis La Goutte [Mon, 19 Jan 2015 12:10:59 +0000 (13:10 +0100)]
Add DNS stats to release-notes

Remove in NEWS by gca174999

Change-Id: I000b7d6421db247dcafacfa73ef049e938d42cc5
Reviewed-on: https://code.wireshark.org/review/6650
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
9 years agoRemove some dead initializers
Bill Meier [Tue, 20 Jan 2015 20:26:54 +0000 (15:26 -0500)]
Remove some dead initializers

Change-Id: I0478fa5c476a1914ae0c18feafc7720dd3111d84
Reviewed-on: https://code.wireshark.org/review/6690
Reviewed-by: Bill Meier <wmeier@newsguy.com>
9 years agobpdu: Fix minor bug introduced in g188aa9a
Bill Meier [Tue, 20 Jan 2015 20:23:50 +0000 (15:23 -0500)]
bpdu: Fix minor bug introduced in g188aa9a

Change-Id: Ibce8848dded5896223af117a85bc0b6e321160e8
Reviewed-on: https://code.wireshark.org/review/6689
Reviewed-by: Bill Meier <wmeier@newsguy.com>
9 years agoacn: col_...() shouldn't be called under 'if (tree)'
Bill Meier [Tue, 20 Jan 2015 19:47:23 +0000 (14:47 -0500)]
acn: col_...() shouldn't be called under 'if (tree)'

Change-Id: I4d7d1826391b0ac12ef6ad184e7c79d279db5e28
Also: remove some dead initializers.
Reviewed-on: https://code.wireshark.org/review/6688
Reviewed-by: Bill Meier <wmeier@newsguy.com>
9 years ago6lowpan: Fix a few minor bugs; Also: Misc
Bill Meier [Tue, 20 Jan 2015 19:18:53 +0000 (14:18 -0500)]
6lowpan: Fix a few minor bugs; Also: Misc

(Bugs were introduced in gf5e2b42);
Misc:
    Localize a few variables;
    Remove some dead initializers.

Change-Id: Ib7493740ecf29ed9f753475f721b47a64f54a278
Reviewed-on: https://code.wireshark.org/review/6687
Reviewed-by: Bill Meier <wmeier@newsguy.com>
9 years agoCMake: Use wrapper scripts instead of symlinks.
Gerald Combs [Tue, 20 Jan 2015 17:43:33 +0000 (09:43 -0800)]
CMake: Use wrapper scripts instead of symlinks.

When building an application bundle, create wrapper scripts at the top
level instead of symlinking to each executable.

Change-Id: I080e43de545a709b29c1d6b6c6ec416e5a5a8247
Reviewed-on: https://code.wireshark.org/review/6683
Reviewed-by: Evan Huus <eapache@gmail.com>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
9 years agocattp: Minor tweaks and whitespace changes
Bill Meier [Tue, 20 Jan 2015 17:51:08 +0000 (12:51 -0500)]
cattp: Minor tweaks and whitespace changes

Change-Id: I128318ffb385930f00675030227e0048306a9f4c
Reviewed-on: https://code.wireshark.org/review/6684
Reviewed-by: Bill Meier <wmeier@newsguy.com>
9 years agoCMake: Set an output directory for plugins.
Gerald Combs [Sun, 18 Jan 2015 21:27:13 +0000 (13:27 -0800)]
CMake: Set an output directory for plugins.

Redefine PLUGIN_DIR similar to DATAFILE_DIR and use it on all
platforms. Add WiresharkPlugin.cmake so that we can start defining common
macros for plugins/*/CMakeLists.txt. Load plugins in out-of-tree builds.

Change-Id: I8c1359ed3cf8a71788b8320ff89dfe2d3969def2
Reviewed-on: https://code.wireshark.org/review/6640
Reviewed-by: Gerald Combs <gerald@wireshark.org>
9 years agoHTTP2: Add HPACK decode to test suite
Alexis La Goutte [Thu, 8 Jan 2015 16:04:05 +0000 (17:04 +0100)]
HTTP2: Add HPACK decode to test suite

Change-Id: Ic84942b78a795974d6e2023751245ad98b8f1142
Reviewed-on: https://code.wireshark.org/review/6415
Reviewed-by: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
9 years agoDHCP/BOOTP: Option 125 Suboption: (5) fix display Modem Capabilities
Alexis La Goutte [Tue, 13 Jan 2015 09:41:32 +0000 (10:41 +0100)]
DHCP/BOOTP: Option 125 Suboption: (5) fix display Modem Capabilities

Only display dissect of Modem Capabilites when sub option = 5
Actually, it is always display when ftype == special (like sub option = 0)

Change-Id: I5b75654b750bae5ae5022adcb5e8dd055ce6b291
Reviewed-on: https://code.wireshark.org/review/6519
Reviewed-by: Anders Broman <a.broman58@gmail.com>
9 years agoNCP2222: fix possible buffer-overflow
Evan Huus [Mon, 19 Jan 2015 16:55:01 +0000 (11:55 -0500)]
NCP2222: fix possible buffer-overflow

Caught by ASAN (thanks Alexis!)

Change-Id: Ibbe2c405ba1a3ba0d5a5b9ffff9e95282526028b
Reviewed-on: https://code.wireshark.org/review/6652
Reviewed-by: Anders Broman <a.broman58@gmail.com>
9 years agoBug fix in json dissector that made the heuristic fail.
Dario Lombardo [Mon, 19 Jan 2015 22:12:25 +0000 (23:12 +0100)]
Bug fix in json dissector that made the heuristic fail.

Change-Id: Iff53cfd8fd9d760b04c638c87f8a44587b268cd7
Reviewed-on: https://code.wireshark.org/review/6674
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
9 years agoISIS: Making a segregated function for sub-tlv used by multiple tlv
Matthieu Texier [Thu, 15 Jan 2015 17:24:20 +0000 (18:24 +0100)]
ISIS: Making a segregated function for sub-tlv used by multiple tlv

Change-Id: Ifda28dea4b5282ea01a51cdcb3297aeeeb2a848d
Reviewed-on: https://code.wireshark.org/review/6550
Reviewed-by: Anders Broman <a.broman58@gmail.com>
9 years agoPossibility -> certainty.
Guy Harris [Tue, 20 Jan 2015 02:32:42 +0000 (18:32 -0800)]
Possibility -> certainty.

Change-Id: I03440a9b4ca13399aa14f3baaabd7aa40a843f28
Reviewed-on: https://code.wireshark.org/review/6678
Reviewed-by: Guy Harris <guy@alum.mit.edu>