aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/kerberos
AgeCommit message (Collapse)AuthorFilesLines
2013-06-19Convert a batch of asn1 dissectors from emem to wmem.Evan Huus1-1/+0
svn path=/trunk/; revision=50057
2013-06-14Remove check_col() from ASN.1 dissectorsMichael Mann1-1/+1
svn path=/trunk/; revision=49927
2013-06-03Convert ASN.1 dissectors to use filterable expert info.Michael Mann1-1/+10
NOTE: Kerberos ASN.1 template was updated, but not generated to source. svn path=/trunk/; revision=49707
2013-05-17More compilation fixes when having HAVE_KERBEROSPascal Quantin2-11/+11
svn path=/trunk/; revision=49385
2013-05-16Fix link failure with WindowsPascal Quantin3-19/+23
svn path=/trunk/; revision=49349
2013-05-16Fix compilation for Linux (defined but not used errors, C++ ↵Pascal Quantin2-26/+48
incompatibilities, shadowed variables) svn path=/trunk/; revision=49344
2013-05-16Remove useless blurbsPascal Quantin1-4/+4
svn path=/trunk/; revision=49340
2013-05-16Remove useless exports and fix a compilation errorPascal Quantin1-6/+1
svn path=/trunk/; revision=49339
2013-05-16Updated the Kerberos ASN.1 dissector to the point I believe it can replace ↵Michael Mann5-343/+1049
the "hand made" one. Bug 8649 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8649) Letting the more experienced ASN.1 developers tweak it a little more before the "generated" dissector is accepted (which is why it's not included here) svn path=/trunk/; revision=49328
2013-05-07Some moreJörg Mayer1-0/+32
svn path=/trunk/; revision=49203
2013-05-07x721 and kerberos: Use standard Makefile.amJörg Mayer1-2/+1
idmp: remove an unused line tetra, h460: Whitespace changes to be a "standard" Makefile.am asn1/Makefile.am: don't try to build kerberos and x721 dissectors svn path=/trunk/; revision=49201
2013-05-05Just whitespace changesJörg Mayer1-1/+2
svn path=/trunk/; revision=49167
2013-04-23Stub cmake support for generating the asn1 dissectors.Jörg Mayer1-0/+23
It doesn't do anything yet, it is just to make svn status readable again. svn path=/trunk/; revision=49007
2013-03-19From beroset:Anders Broman1-9/+4
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48429
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey1-0/+4
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2013-02-27Move show_exception() and show_reported_bounds_error() toGuy Harris1-1/+1
epan/show_exception.c, as it's used outside epan/dissectors/packet-frame.c. Update their callers to include <epan/show_exception.h> to get their declaration. Add a CATCH_NONFATAL_ERRORS macro that catches all exceptions that, if there's more stuff in the packet to dissect after the dissector call that threw the exception, doesn't mean you shouldn't go ahead and dissect that stuff. Use it in all those cases, including ones where BoundsError was inappropriately being caught (you want those passed up to the top level, so that the packet is reported as having been cut short in the capture process). Add a CATCH_BOUNDS_ERRORS macro that catches all exceptions that correspond to running past the end of the data for a tvbuff; use it rather than explicitly catching those exceptions individually, and rather than just catching all exceptions (the only place that DissectorError should be caught, for example, is at the top level, so dissector bugs show up in the protocol tree). Don't catch and then immediately rethrow exceptions without doing anything else; just let the exceptions go up to the final catcher. Use show_exception() to report non-fatal errors, rather than doing it yourself. If a dissector is called from Lua, catch all non-fatal errors and use show_exception() to report them rather than catching only ReportedBoundsError and adding a proto_malformed item. Don't catch exceptions when constructing a trailer tvbuff in packet-ieee8023.c - just construct it after the payload has been dissected, and let whatever exceptions that throws be handled at the top level. Avoid some TRY/CATCH/ENDTRY cases by using checks such as tvb_bytes_exist() before even looking in the tvbuff. svn path=/trunk/; revision=47924
2013-02-20And one more case where tvb_new_subset_remaining() is appropriate.Guy Harris1-3/+1
svn path=/trunk/; revision=47760
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45015
2012-09-11Add data parameter to call_dissector_only.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=44872
2012-06-28Update Free Software Foundation address.Jakub Zawadzki5-5/+5
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-09Get rid of remaining Booleans-as-encoding-arguments inGuy Harris1-2/+2
proto_tree_add_item() calls. svn path=/trunk/; revision=42525
2012-01-18#include <epan/crypt/crypt-*.h> => #include <epan/crypt/*.h>Chris Maynard1-1/+1
svn path=/trunk/; revision=40570
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-6/+6
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-14Don't generate the conformance file for exported types when building theJeff Morriss1-1/+1
dissector; instead built it only when the separate target (generate_export) is built. Built generate_export when building "all". This prevents the exp_*.cnf files from being regenerated each time another one of the exp_*.cnf files (which the current dissector depends on) has changed (despite the fact that the exported types does not depe Also fix the CLEANFILES definition so it actually cleans things. svn path=/trunk/; revision=39421
2011-10-10Build the ASN.1 dissectors directly into epan/dissectors (rather than buildingJeff Morriss2-5/+2
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-3/+3
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-04-10Rename ws_stat to ws_stat64, and make it take a pointer to a ws_statb64Guy Harris1-2/+2
as an argument, along the lines of ws_fstat64, and, on Windows, make it use _wstati64, to handle 64-bit file sizes. svn path=/trunk/; revision=36547
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-2/+2
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-05-11Reflect changes made in SVN #32752Bill Meier1-4/+8
svn path=/trunk/; revision=32753
2010-01-01Add to the ASN1 kerberos changes made in the non-asn1 version of kerberosBill Meier2-6/+6
(the changes comitted in SVN #31400 which fixed bug #4363). [I hope I've done this properly.... :) ] svn path=/trunk/; revision=31402
2009-10-08Remove unused NEED_PACKET_PROTO_H variableKovarththanan Rajaratnam1-1/+0
svn path=/trunk/; revision=30409
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-4/+2
svn path=/trunk/; revision=29340
2009-04-08(Trivial) Fix some spelling & etc in commentsBill Meier1-1/+1
svn path=/trunk/; revision=27996
2009-04-08More Ethereal --> WiresharkBill Meier1-2/+2
svn path=/trunk/; revision=27995
2009-03-15As suggested by Jakub Zawadzki: g_free() is NULL safe, so we don't need ↵Bill Meier1-5/+5
check against it (This change is to the currently unused asn1/kerberos/packet-kerberos-template.c). svn path=/trunk/; revision=27726
2008-10-17Further updates: dissect error-code and e-data.Anders Broman4-12/+186
svn path=/trunk/; revision=26486
2008-10-16Add asn1 file from Heimdal use som stuff from it add more dissection in the ↵Anders Broman5-47/+810
template and .cnf file. svn path=/trunk/; revision=26484
2008-10-15This file is not needed.Anders Broman1-417/+0
svn path=/trunk/; revision=26468
2008-10-15Now Kerberos compiles, a lot of work remains to get it into shape.Anders Broman5-71/+491
svn path=/trunk/; revision=26467
2008-10-15Start of an asn2wrs generated kerberos dissector. Most of the hand crafted ↵Anders Broman8-0/+2302
stuff is in the template file but it's not yet accessed from the asn2wrs generated code. - Work in progress. svn path=/trunk/; revision=26460