Evan Huus
5ed05dd747
batch of manual tvb_length conversions
...
Change-Id: Ib3a1ddc4342a7a8648d6ed8bfcb35aa229c56a27
Reviewed-on: https://code.wireshark.org/review/2445
Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-19 19:55:31 +00:00
Pascal Quantin
d0ac937567
Revert "Update ASN.1 source files with the API changes done in g021e7af"
...
This reverts commit e308e7c4de
.
Change-Id: I079616d63f643f79f1bc03ef5fdf724f36df4071
Reviewed-on: https://code.wireshark.org/review/2435
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-06-19 18:42:28 +00:00
Pascal Quantin
e308e7c4de
Update ASN.1 source files with the API changes done in g021e7af
...
Change-Id: I52ecfccbce423206242e3cf99401a8c9e1655d88
Reviewed-on: https://code.wireshark.org/review/2385
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-06-18 16:15:42 +00:00
Jeff Morriss
8c608e6e82
Remove $Id$ from the ASN.1 dissectors and regenerate them.
...
Change-Id: Ie476c6f82f318188b41ed922b92c6fec119ea954
Reviewed-on: https://code.wireshark.org/review/244
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-02-18 03:05:28 +00:00
Anders Broman
b693f74b89
- Forward declaration of register functions.
...
svn path=/trunk/; revision=53877
2013-12-09 06:50:09 +00:00
Jeff Morriss
2df54da6e2
Move a bunch of the crypt modules and pint.h into wsutil.
...
This means wsutil now links against libcrypt.
Protect a bunch of the crypt header files from multiple inclusion.
svn path=/trunk/; revision=51100
2013-08-01 23:34:47 +00:00
Jeff Morriss
3551a86c36
We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
...
svn path=/trunk/; revision=45015
2012-09-20 01:29:52 +00:00
Jakub Zawadzki
bf81b42e1e
Update Free Software Foundation address.
...
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Chris Maynard
86cbd0b559
#include <epan/crypt/crypt-*.h> => #include <epan/crypt/*.h>
...
svn path=/trunk/; revision=40570
2012-01-18 21:20:50 +00:00
Stig Bjørlykke
2025f2e5f5
Add changes in r35546 to template and conformation file.
...
svn path=/trunk/; revision=36010
2011-02-20 15:05:21 +00:00
Jeff Morriss
0ff5638f37
Replace blurbs that match the name (case insensitive) with NULL.
...
svn path=/trunk/; revision=34227
2010-09-23 21:46:31 +00:00
Stig Bjørlykke
cb4a91a8ca
Register SignedData as a BER syntax dissector.
...
svn path=/trunk/; revision=32459
2010-04-14 07:57:01 +00:00
Bill Meier
f8b92f8d0b
#include <stdio.h> not needed.
...
svn path=/trunk/; revision=32405
2010-04-06 17:01:14 +00:00
Stig Bjørlykke
d215938257
Update to RFC5652.
...
svn path=/trunk/; revision=31501
2010-01-12 14:29:53 +00:00
Stig Bjørlykke
89980e1672
Update to RFC3369.
...
svn path=/trunk/; revision=31500
2010-01-12 11:49:17 +00:00
Stig Bjørlykke
6d1dae6f28
Make all proto_* values static.
...
svn path=/trunk/; revision=30516
2009-10-11 16:24:29 +00:00
Bill Meier
35e5fa9bc1
#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...
...
svn path=/trunk/; revision=27390
2009-02-07 14:33:47 +00:00
Anders Broman
528ac73cfd
Use oid_add_from_string for adding names.
...
svn path=/trunk/; revision=23318
2007-10-31 08:26:52 +00:00
Luis Ontanon
00c5e48a17
get users of oid_resolv to use the new oids, rollout packet-snmp.c
...
svn path=/trunk/; revision=22651
2007-08-25 01:14:24 +00:00
Graeme Lunt
0e9f4f05f1
Support for the decryption of EncryptedData which is used by PKCS12
...
Uses the PBE routines from PKCS12.
svn path=/trunk/; revision=22535
2007-08-17 19:14:39 +00:00
Anders Broman
c01f382974
Second step in introducing asn context to BER dissectors just like in PER.
...
svn path=/trunk/; revision=21753
2007-05-13 20:58:29 +00:00
Graeme Lunt
c4b562e988
Support for SMIMECapabilities and KeyPreference attributes.
...
ContentInfo syntax for .p7s, .p7c and .p7m files.
svn path=/trunk/; revision=20585
2007-01-28 10:20:51 +00:00
Graeme Lunt
7d3a4e9264
New protocol dissector for PKCS#12 - Personal Information Exchange Syntax.
...
Generally found within a file (.p12 or .pfx) or as a directory attribute (userPKCS12 from iNetOrgPerson).
Wiki page and sample file to follow.
svn path=/trunk/; revision=20416
2007-01-13 15:26:13 +00:00
Gerald Combs
f67fdf4865
Move sha1.[ch] to epan/crypt/crypt-sha1.[ch]. Remove duplicate code.
...
svn path=/trunk/; revision=20399
2007-01-12 00:33:32 +00:00
Gerald Combs
53689800e6
Move epan/crypt-md5.[ch] to epan/crypt. Remove
...
epan/crypt/airpdcap_md5.[ch]. Fix up whitespace.
svn path=/trunk/; revision=20277
2007-01-02 22:49:57 +00:00
Guy Harris
fa10d33734
Include <epan/oid_resolv.h> to declare get_oid_str_name().
...
svn path=/trunk/; revision=18627
2006-07-01 00:11:49 +00:00
Tomas Kukosa
55600fb60a
Ethereal -> Wireshark
...
asn2eth -> asn2wrs
svn path=/trunk/; revision=18214
2006-05-23 15:17:14 +00:00
Ronnie Sahlberg
89f022b12b
name change
...
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Graeme Lunt
ab19b927c8
"Field Information" context menu item that will bring up a web page reference to a field type of FT_OID
...
svn path=/trunk/; revision=18125
2006-05-10 19:50:54 +00:00
Guy Harris
e2c9bcf703
The SHA-1 routines now take const pointers; don't cast away constness.
...
tvb_get_ptr() returns a "const guint8 *"; don't bother casting its
return value to "const guint8 *".
"cms_verify_msg_digest()" can be passed a const pointer for "alg"; make
its argument a "const char *".
svn path=/trunk/; revision=16534
2005-11-17 11:50:36 +00:00
Anders Broman
c33182b898
From Graeme Lunt:
...
Here are a number of small patches for asn1 based dissectors:
acse:
release request/response column information (many X.400/X.500 unbinds are
empty)
"standardised" PNAME to "ISO 8650-1 OSI Association Control Service"
fix for crash when using EXTERNAL dissector
rtse:
column information when attempting a resume
x509if:
generation of LDAP-style DNs from RDNSequences
new function x509if_get_last_dn() to get the last DN generated.
x509af:
DSS parameters
certificate extension naming
subject naming of certificate
x509sat:
Guide syntax (as SET now supported)
PDU exports.
cms:
verification of message digest attribute (SHA-1 and MD5)
ess:
enumerated/restrictive/permissive/informative security categories
x411:
generation of string encoding of X.400 addresses, trace information and message identifiers.
s4406:
separate types for primary and copy precedence to allow better filtering (e.g. primary precedence = flash)
priority-level-qualifier
svn path=/trunk/; revision=16508
2005-11-16 07:13:12 +00:00
Tomas Kukosa
3b770d5c7c
- dissect_ber_object_identifier() returns value as tvb
...
- new dissect_ber_object_identifier_str() function
- BER dissectors adapted and regenerated
svn path=/trunk/; revision=16501
2005-11-14 10:02:31 +00:00
Gerald Combs
082651c83e
Define a maximum OID string length, and use it in a lot of places. Fixes a
...
buffer overflow found while fuzz testing.
svn path=/trunk/; revision=14169
2005-04-22 21:17:13 +00:00
Ronnie Sahlberg
8afae320de
update of the asn2eth compiler to use the types ber_[choice|sequence]_t instead of ber_[choice|sequence]
...
regenerated all dissectors
fixed the choice/sequence struct to use unsigned entities for class and tag
(to reduce some compiler warning and because it should be signed quantities)
svn path=/trunk/; revision=12740
2004-12-13 08:15:34 +00:00
Ronnie Sahlberg
f102c20151
New protocol: RFC2634 ExtendedSecurityServices
...
updates to cms to accomodate the new protocol
add author to some files
svn path=/trunk/; revision=12573
2004-11-22 03:36:26 +00:00
Ronnie Sahlberg
b2160d6d25
update to cms to use workaround to lack of ANY and reducing the template significantly
...
svn path=/trunk/; revision=12434
2004-10-29 12:11:42 +00:00
Gerald Combs
24f30a8850
Add support for pkauthdata and pkdhkeydata OIDs.
...
svn path=/trunk/; revision=12426
2004-10-28 22:06:55 +00:00
Ronnie Sahlberg
44bd159f06
use the nice #.REGISTER directive instead of handcoding it in teh template
...
svn path=/trunk/; revision=12394
2004-10-26 13:54:09 +00:00
Guy Harris
4c9d419db3
Make the ber_sequence tables "const".
...
svn path=/trunk/; revision=12245
2004-10-08 20:28:04 +00:00
Guy Harris
c11306933e
Set svn:keywords to Id to expand RCS IDs, and set svn:eol-style to
...
native to canonicalize line endings.
svn path=/trunk/; revision=12203
2004-10-05 09:18:55 +00:00
Ronnie Sahlberg
4cb62f797d
Update to CMD to prepare for PKINIT support
...
svn path=/trunk/; revision=12009
2004-09-16 08:31:01 +00:00
Ronnie Sahlberg
13451f85d3
cms update forgot that Name had been commented out in one of the structure.
...
svn path=/trunk/; revision=11519
2004-07-25 10:41:39 +00:00
Ronnie Sahlberg
2d069de8b4
large CMS update.
...
most of cms is now implemented
svn path=/trunk/; revision=11518
2004-07-25 10:34:07 +00:00
Ronnie Sahlberg
73f560c866
register ber oid functions through a special function in packet-ber.c which also takes (still unused) the name of the oid
...
so that sometime later it will be easy to add code to add the name of the oid to the dissection.
svn path=/trunk/; revision=11478
2004-07-23 07:08:14 +00:00
Ronnie Sahlberg
dcea6b49c6
get rid of the nasty ber specific oid->callback table and reimplement the functionality using a dissector table instead i.e. the proper way.
...
svn path=/trunk/; revision=11457
2004-07-21 11:13:03 +00:00
Ronnie Sahlberg
723d3dbe44
Add the new protocols CMS, X509AF, X509IF, X509CE and X509SAT
...
to the ethereal build.
The dissections are semi-useful but incomplete.
The big problem still remaining is the x509if Name object not being
dissected properly thus causing the dissection to get out of sync/fail
halfway through the certificate structure.
work in progress but already semi-useful.
svn path=/trunk/; revision=11440
2004-07-20 09:11:40 +00:00
Ronnie Sahlberg
5d366ee1e2
work in progress
...
New protocol CryptogrtaphicMessageSyntax
As the X.509xx protocols this protocol is not yet linked with ethereal but a work in progress.
Within the next few days the changes needed to packet-kerberos and packet-ber will be added to implement an embryonic pkinit implementation inside packet-kerberos which will in turn call cms and the x509 dissectors.
The dissectors are still very incomplete but already relatively useful.
svn path=/trunk/; revision=11432
2004-07-19 09:03:28 +00:00