Commit Graph

58 Commits

Author SHA1 Message Date
Anders Broman f08cd1e5e3 actx in the rest of dissect_ber..()l
svn path=/trunk/; revision=21773
2007-05-15 05:49:43 +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
Tomas Kukosa a70a1b3eb6 EXTERNAL type is handled in asn2wrs now
private implementations were renamed EXTERNAL -> EXTERNALt

svn path=/trunk/; revision=21662
2007-05-03 11:37:47 +00:00
Ulf Lamping 647533a5ef put every python script name into "" so the call won't fail on Win32 native python.
The problem is the slash in e.g.:

 @$(PYTHON) ../../tools/make-dissector-reg.py

is interpreted as an option instead of being part of the path.

I didn't wanted to use backslashes as this might introduce new problems with cygwin's python port.

svn path=/trunk/; revision=19730
2006-10-29 17:19:52 +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 56d7db0c08 remove functions register_ber_oid_name() and get_ber_oid_name() from packet-ber.c, they were only OID but not BER related
use add_oid_str_name() and get_oid_str_name() instead of them

svn path=/trunk/; revision=18595
2006-06-28 14:19:08 +00:00
Tomas Kukosa 604000a6b3 - remove some #.MODULE_IMPORT from .cng files
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs

svn path=/trunk/; revision=18217
2006-05-24 12:24:54 +00:00
Tomas Kukosa 55600fb60a Ethereal -> Wireshark
asn2eth -> asn2wrs

svn path=/trunk/; revision=18214
2006-05-23 15:17:14 +00:00
Tomas Kukosa 62da958bd9 - asn2eth renamed to asn2wrs
- remove obsolete -X option from makefiles
- not generate enumerated map table for BER

dissector will be regenerated later

svn path=/trunk/; revision=18199
2006-05-21 14:36:05 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Graeme Lunt c725ebe242 FT_STRING => FT_OID where applicable
svn path=/trunk/; revision=18107
2006-05-08 17:45:12 +00:00
Graeme Lunt 84764fec29 Operational Attributes and Syntaxes
svn path=/trunk/; revision=18048
2006-04-30 12:53:26 +00:00
Guy Harris a6930fe4ae Add distclean and maintainerclean rules.
svn path=/trunk/; revision=17999
2006-04-25 18:45:08 +00:00
Graeme Lunt 77cf86d3d6 ACP133 attribute syntaxes and attribute definitions used by the DAP, DSP and DISP dissectors. Also includes X.402 definitions and OID registrations for object classes.
svn path=/trunk/; revision=17471
2006-03-05 11:28:13 +00:00
Anders Broman 54f6b68edc Add parsertab.pyc in clean target
svn path=/trunk/; revision=17387
2006-02-23 20:05:52 +00:00
Gerald Combs d3f60e495b Don't try to fill in last_dn if it doesn't exist. Fixes the current Buildbot
failure.

svn path=/trunk/; revision=17337
2006-02-17 16:35:45 +00:00
Gerald Combs 12331f9cb4 Make sure last_dn is big enough, and set it to NULL when we're
finished with it.  This should fix the current menagerie failure
in Buildbot.

Fix up whitespace.

svn path=/trunk/; revision=16995
2006-01-10 23:28:16 +00:00
Anders Broman 404b556084 From Grame Lunt:
Attached is a patch that updates - 

* DOP - This has now been successfully tested and so is now enabled by default and workaround code removed. 
Also now uses the correct EXPORTs from the other modules/dissectors.

* X509SAT - Most of the selected attributes are now supported in addition to the DirectoryString syntax attributes. This includes restoring the correct DirectoryString syntax and also providing the basic syntaxes (e.g. OBJECT IDENTIFIER, PrintableString). The latter requires a sed line in the Makefile which I assume should be OK? Not all the SAT can be defined in x509sat - so some have been included in x509if and x509af - though x509sat.cnf contains the master list and references the other dissectors where appropriate.

(I still prefer a syntax registration approach but I don't think that is going to be agreed in the short term.)

* X509IF - a mechanism to register some formating, based upon the hf_index, that is used in the cnf file.

* A couple of fixes identified by Stig.

Note the patc for dop did not apply don't regenerate dissectors yet.

svn path=/trunk/; revision=16799
2005-12-14 21:02:56 +00:00
Guy Harris b45d2efe6d Regenerate with the latest asn2eth, to get FT_OID used, and to add #line.
svn path=/trunk/; revision=16736
2005-12-08 23:29:21 +00:00
Jörg Mayer eff40f65db Trivial warning fixes
svn path=/trunk/; revision=16561
2005-11-22 12:51:14 +00:00
Guy Harris 7586ab64db Squelch some const vs. non-const warnings.
svn path=/trunk/; revision=16525
2005-11-17 05:02:30 +00:00
Guy Harris 0c8be0fab6 Include <epan/emem.h> to declare ep_alloc().
svn path=/trunk/; revision=16524
2005-11-17 04:54:25 +00:00
Ronnie Sahlberg 898dc49980 add a simple g_strlcat define in strutil for gtk==1 where this symbol does not exist
svn path=/trunk/; revision=16511
2005-11-16 09:27:43 +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 adce5ed6a5 Set "COPYCMD=/Y" and remove the "/Y" from each XCOPY command in order
to fix compilation under Windows NT.  This should fix bug 403.

The changes were made using "find . -name Makefile.nmake | xargs perl
-pi.bak -e 's: /y::i'".  They appear to work under XP, but if anything
broke I blame Larry Wall.

svn path=/trunk/; revision=15710
2005-09-07 13:26:23 +00:00
Guy Harris 92e0e21362 Regenerate dissectors with the current asn2eth.
svn path=/trunk/; revision=15664
2005-09-02 05:43:49 +00:00
Jörg Mayer 37a3b7529f Fix more "no previous declaration" warnings - the forgotten files
svn path=/trunk/; revision=15170
2005-08-02 04:32:33 +00:00
Ronnie Sahlberg 0ca30abe65 change the symbol dissect_ber_CHOICE back into dissect_ber_choice
svn path=/trunk/; revision=14980
2005-07-21 21:12:09 +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 fbf762bda5 update asn2eth and all generated dissectors to new dissect_ber_boolean that takes a implicit_tag parameter
svn path=/trunk/; revision=13479
2005-02-23 08:57:47 +00:00
Lars Roland 13bf5539af When using Cygwin's python asn2eth.py
generates dissectors with mixed EOL! SVN doesn't allow you to commit such files.
Add a target to all nmake makefiles in asn1 subdirectory which will fix these files.

svn path=/trunk/; revision=13077
2005-01-16 23:26:02 +00:00
Guy Harris f4a0e4c783 Supply Makefile.nmake files.
svn path=/trunk/; revision=13072
2005-01-16 10:38:21 +00:00
Guy Harris eaf9490e04 Make the Makefile look like the h235 Makefiles, with the new rules.
Get rid of their "executable" property, and set svn:keywords to Id and
svn:eol-style to native if they're not already set.

svn path=/trunk/; revision=13071
2005-01-16 10:19:21 +00:00
Ronnie Sahlberg eeeadf7b7b remove some asn2eth warnings
svn path=/trunk/; revision=12744
2004-12-13 12:43:48 +00:00
Ronnie Sahlberg bc3979ee23 minor updates, get rid of temporary files during dissection
svn path=/trunk/; revision=12725
2004-12-12 01:29:21 +00:00
Ronnie Sahlberg 0e528dc7a1 updates from tomas and anders
create some missing makefiles for autogenerated dissectors

finish the transition to the new ber integer dissetor helper signature
and regenerate all ber dissectors



svn path=/trunk/; revision=12724
2004-12-12 01:14:03 +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 b48e26b8df SelectedAttributeTypes are now almost completely implemented also here i added a small makefile to reduce boring typing on the commandline
svn path=/trunk/; revision=12556
2004-11-21 08:56:09 +00:00
Ronnie Sahlberg 8b9b044698 update to x509if autogenerate the exports conformance file and create a small makefile since i am tired of typing that long command line every time
svn path=/trunk/; revision=12555
2004-11-21 08:22:21 +00:00
Ronnie Sahlberg 7119af2815 Add a whole bunch of dissector to X509IF and export them.
X509if is now almost complete.



svn path=/trunk/; revision=12553
2004-11-21 06:40:02 +00:00
Ronnie Sahlberg e7082f5194 Since we can now handle SEQUENCE OF ANY uncomment this "difficult" field from
the Attribute SEQUENCE to make it more complete.



svn path=/trunk/; revision=12527
2004-11-14 09:48:11 +00:00
Ronnie Sahlberg 4bd439e2c4 declare the types for DistinguishedName and RDNSequence
svn path=/trunk/; revision=12495
2004-11-06 20:09:00 +00:00
Ronnie Sahlberg d26b93eb56 export RDNSequence from x509if
svn path=/trunk/; revision=12494
2004-11-06 05:31:03 +00:00
Ronnie Sahlberg eb3f657847 export DistinguishedName from x509if
svn path=/trunk/; revision=12493
2004-11-06 05:26:31 +00:00
Ronnie Sahlberg ed1a11f34f make x509if use the new ANY type and get rid of the workaround
svn path=/trunk/; revision=12492
2004-11-06 02:13:38 +00:00
Ronnie Sahlberg 076d4710ec more updates of x509if
svn path=/trunk/; revision=12433
2004-10-29 11:39:58 +00:00
Ronnie Sahlberg 0e7d35f8b4 Update to x509if use a workaround to emulate the type ANY and remove stuff from teh template
svn path=/trunk/; revision=12431
2004-10-29 11:10:31 +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