aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/spnego
AgeCommit message (Collapse)AuthorFilesLines
2012-06-28Update Free Software Foundation address.Jakub Zawadzki4-4/+4
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-24Remove useless packet-spnego.h filePascal Quantin2-31/+0
svn path=/trunk/; revision=43461
2012-05-11Get rid of remaining Booleans-as-encoding-arguments inGuy Harris1-1/+1
proto_tree_add_item() calls. svn path=/trunk/; revision=42557
2012-01-18#include <epan/crypt/crypt-*.h> => #include <epan/crypt/*.h>Chris Maynard1-2/+2
svn path=/trunk/; revision=40570
2012-01-09Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-8/+2
Try to compile with cmake in Ubuntu 11.10 svn path=/trunk/; revision=40410
2011-11-12fix [-Wunused-but-set-variable]Anders Broman1-0/+4
svn path=/trunk/; revision=39803
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-2/+2
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-10Build the ASN.1 dissectors directly into epan/dissectors (rather than buildingJeff Morriss1-4/+0
them and then copying them over). The "all" target to builds these dissectors now (instead of "generate_files" and/or "copy_files"). asn2wrs's "-O" option now means "the dissector goes in this directory" (rather than "all output goes in this directory"); it also means that the "-s" (single output file) option is now required. Fix things up so that it's possible to build all of the ASN.1 dissectors in one shot. Fix building of conformance files when doing out-of-source-tree builds. Unfortunately "make all" in the asn1 directory always builds something--I think because of circular depedencies. svn path=/trunk/; revision=39333
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in asn1 ↵Bill Meier1-4/+4
dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39294
2011-10-05Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-12/+12
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|1|0|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39263
2011-02-20Add changes in r35384 to template file.Stig Bjørlykke1-8/+4
svn path=/trunk/; revision=36009
2010-07-01Initialize MechType_oid in the right place.Gerald Combs2-3/+1
svn path=/trunk/; revision=33396
2010-07-01Initialize more variables.Gerald Combs1-0/+2
svn path=/trunk/; revision=33392
2010-05-13Use find_or_create_conversation() in some ASN.1 dissectorsJeff Morriss1-25/+7
svn path=/trunk/; revision=32791
2010-04-29Make a variable a guint8* instead of a char* since it a) holds TVB data and ↵Jeff Morriss1-4/+4
b) matches what tvb_new_child_real_data() wants for its 2nd argument. This cleans up a warning from the Sun compiler. svn path=/trunk/; revision=32599
2010-04-06#include <stdio.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32405
2010-02-04From: Stefan Metzmacher <metze@samba.org>Ronnie Sahlberg1-10/+35
Date: Thu, 27 Aug 2009 10:51:34 +0200 Subject: [PATCH 3/7] packet-spnego: fix decryption of DCERPC packets in decrypt_gssapi_krb_cfx_wrap() There the checksum and the encrypted data are no 2 different buffers and we need to combine them before we try to rotate and decrypt them. metze svn path=/trunk/; revision=31794
2010-01-28Fix gcc -Wshadow warning.Bill Meier1-4/+4
svn path=/trunk/; revision=31715
2010-01-03Use proto_spnego for protocol tree item.Stig Bjørlykke1-6/+2
svn path=/trunk/; revision=31418
2009-10-30Apply r30376 to asn1 template files.Stig Bjørlykke1-2/+1
svn path=/trunk/; revision=30767
2009-10-08Remove unused NEED_PACKET_PROTO_H variableKovarththanan Rajaratnam1-1/+0
svn path=/trunk/; revision=30409
2009-10-07Switch to using tvb_new_subset_remaining() in .cnf files.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=30386
2009-10-06From Didier Gautheron:Anders Broman1-4/+5
ep memory can't be used for tvbs defined as data_source. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4054 svn path=/trunk/; revision=30376
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-2/+2
svn path=/trunk/; revision=29446
2009-08-04Initialize several ett_... variables to -1Bill Meier1-2/+2
svn path=/trunk/; revision=29295
2009-07-28When we passed the crytobuffer to krb5_c_decrypt() we never actually Ronnie Sahlberg1-2/+6
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-07Changed flags_set_truth -> tfs_set_notsetStig Bjørlykke1-3/+3
svn path=/trunk/; revision=28989
2009-06-26tvb_child_new_real_data() -> tvb_new_child_real_data()Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=28845
2009-06-25tvb_new_real_data()->tvb_child_new_real_data()Anders Broman1-2/+1
svn path=/trunk/; revision=28843
2009-06-23From Kovarththanan Rajaratnam:Stig Bjørlykke1-7/+7
Clean up header field info in asn1/*-template.c files. From me: Fixed a few typos in the patch. svn path=/trunk/; revision=28817
2009-05-13Apply some of the patches from:Anders Broman1-2/+1
http://wiki.wireshark.org/Development/Optimization svn path=/trunk/; revision=28356
2008-11-04Minor cleanup mostly related to proto_reg_handoffBill Meier1-13/+4
Remove code for unused handles; Localize handles (in proto_reg_handoff) which need not be global; Localize (in proto_reg_handoff) "saved prefs"; Use find_dissector instead of create_dissector_handle as appropriate; Use gboolean for "initialized" flag in proto_reg_handoff. svn path=/trunk/; revision=26693
2008-10-05use g_malloc/g_free instead of malloc/freeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=26353
2008-10-05change u_char to unsigned char to make the osx compiler happyRonnie Sahlberg1-5/+5
svn path=/trunk/; revision=26351
2008-10-05kerberos/gss enhancementsRonnie Sahlberg1-2/+107
add a parameter *datalen to decrypt_krb5_data() so that we can pass back the length of the decrypted blob back to the caller. This is useful for when there are "junk" at the end of the blob and thus the decrypted data is not the same size as the encrypted blob. GSS CFX is one such example. (we should have done this earlier since it might have made some other stuff easier to imlement...) make the preference setting krb_decrypt a globally visible variable so we can see its value and act on it from callers of krb decryption from outside of packet-kerberos.c i.e. from GSS CFX Make keytype == -1 a wildcard that when passed to decrypt_krb5_data() will try any/all encryption keys. This since GSS CFX does not provide the enctype in the GSS layer. (The GSS CFX enctype is only negotiated during the AP-REQ/REP so we should later pick this value up and store it in a CFX session variable. That is for a later enhancement. ) Enhance the GSS decryption (that for hitorical reasons are implemented in packet-spnego.c and not packet-gssapi.c :-) ) to also handle decryption of GSS CFX This should make wireshark able to decrypt any/all GSSAPI RFC4121 packets, if the keytab file is provided. I have successfully decrypted LDAP using GSS CFX with AES encryption with this. svn path=/trunk/; revision=26350
2008-09-30We always use start_offset, so don't wrap it in "#ifdef HAVE_KERBEROS".Gerald Combs1-2/+0
svn path=/trunk/; revision=26301
2008-09-29from MetzeRonnie Sahlberg1-1/+262
add dissection of RFC4121 krb5 blobs svn path=/trunk/; revision=26294
2007-12-19asn1/*/Makefile.nmake were not part of the source package.Jörg Mayer1-1/+2
Spotted by Tomas Kukosa. svn path=/trunk/; revision=23921
2007-12-10ANSI TCAP regenerated and tested with -T -X asn2wrs optionsTomas Kukosa1-1/+1
asn2wrs has -T (tagged types support) and -X (new BER sttructures) default behavior remove all -T and -X usage svn path=/trunk/; revision=23823
2007-11-04Update do use the -X and -T asn2wrs flags.Anders Broman1-1/+1
svn path=/trunk/; revision=23364
2007-10-11- Remove -e option if the generated -exp.cnf file isn't used.Jörg Mayer1-1/+1
- Add EXPORT_FILES to all files that still contain -e. svn path=/trunk/; revision=23145
2007-10-10- Change Makefiles to include preincJörg Mayer2-1/+3
- Add missing new directories to asn1/Makefile.nmake svn path=/trunk/; revision=23141
2007-10-10More conversions and updates to existing Makefile stuffJörg Mayer4-57/+96
svn path=/trunk/; revision=23127
2007-05-25Add a cast to squelch an MSVC warning.Guy Harris1-2/+2
svn path=/trunk/; revision=21944
2007-05-25Make SND_SEQ an array of 2 guint32's, rather than an array of 8Guy Harris1-8/+5
guint8's, to squelch some compiler warnings (and clean up some comparisons). svn path=/trunk/; revision=21941
2007-05-15actx in the rest of dissect_ber..()lAnders Broman2-2/+4
svn path=/trunk/; revision=21773
2007-05-13Second step in introducing asn context to BER dissectors just like in PER.Anders Broman2-27/+32
svn path=/trunk/; revision=21753
2007-05-06Start introducing actx to ber functions.Anders Broman1-0/+1
svn path=/trunk/; revision=21705
2007-02-18Fix bug 1380:Jeff Morriss1-2/+4
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1380 by registering the spnego dissector by name (e.g., call 'register_dissector()'). svn path=/trunk/; revision=20837
2007-02-17This patch looks for a confounder in GSSWrap for DES_MAC_MD5 algorithm. Graeme Lunt1-1/+5
This is purely empirical as I can find no standard that says it should be there. However successful LDAP/SASL/GSSAPI between AD and Java client shows it seems to be present. If the confounder is not dissected, the LDAPMessage to fail to be decoded. svn path=/trunk/; revision=20833