Commit Graph

947 Commits

Author SHA1 Message Date
Guy Harris 5944485ccc http://davenport.sourceforge.net/ntlm.html says that the 0x80000000 is
"Negotiate 56", meaning that 56-bit encryption is supported - and that
"Negotiate 128" means that 128-bit encryption is supported, so note that
in the blurb for that flag.

It also says that the values for "Request Init Response", "Request Accept
Response", and 'Request Non-NT Session Key" are a factor of 16 away from
what our #defines say they are, and that 0x000[124]0000 are "Target Type
{Domain,Server,Share}".  Note that in a comment.

svn path=/trunk/; revision=11582
2004-08-02 19:33:49 +00:00
Guy Harris cb0506f41b Most developers have only 10 fingers, not 16. :-)
svn path=/trunk/; revision=11581
2004-08-02 18:58:19 +00:00
Michael Tüxen 9b923ecac7 Fixed the handling of PKTDRPREP when there is no included packet.
svn path=/trunk/; revision=11580
2004-08-02 17:36:34 +00:00
Olivier Biot c3ccccf2b6 From Kelly Byrd: fix tvb_uncompress() for GZIP encoded content.
svn path=/trunk/; revision=11579
2004-08-02 09:15:58 +00:00
Ronnie Sahlberg 41c1f32cb4 From Yaniv Kaul:
Call the x509 certificate dissector from SSL so that x509 certificates
in SSL are dissected


svn path=/trunk/; revision=11578
2004-08-02 08:57:40 +00:00
Guy Harris c08032765d From Jelmer Vernooij: add support for some more TLVs and another SNAC.
svn path=/trunk/; revision=11577
2004-08-01 22:55:53 +00:00
Ronnie Sahlberg cf1e60bbc7 New protocol: PKCS#1 (rfc2313 pplus some extra oid's)
svn path=/trunk/; revision=11566
2004-07-29 12:10:44 +00:00
Ronnie Sahlberg ce6804616e add some algorithm oid's to x509af(for the time being)
(only those that take no parameters for the time being)

create a dummy ber oid callback for callbacks that are NULL


svn path=/trunk/; revision=11565
2004-07-29 09:52:14 +00:00
Ronnie Sahlberg 70d7bbebd0 prettify the oid printing of ber oid's
svn path=/trunk/; revision=11564
2004-07-29 09:32:13 +00:00
Ronnie Sahlberg 34b6e90f3e for very large integers, print them in hex thats better than nothing
but we can not filter on them anymore


svn path=/trunk/; revision=11563
2004-07-29 08:41:51 +00:00
Olivier Biot 26691ff1be From Lars Roland: MSVC make fixes.
Many people have recently reported many problems with the nmake build 
process. It seems that these problems come from using 
epan/makefile.nmake to compile the DISSECTOR_SUPPORT_SOURCES which are 
located in /trunk.

Nmake from MSVC6 puts the object code of the DISSECTOR_SUPPORT_SOURCES 
in /epan although Nmake expects the object code in /trunk when it 
checkes dependencies. Thus DISSECTOR_SUPPORT_OBJECTS are built every 
time even when they are already there.

Nmake Version 1.5 (MSVC 2003 Toolkit) puts the object code of the 
DISSECTOR_SUPPORT_SOURCES in /trunk instead.
This makes it impossible to use epan/makefile.nmake for compiling the 
DISSECTOR_SUPPORT_SOURCES and to make it work for both versions of nmake.

We have to use /trunk/makefile.nmake for compiling the 
DISSECTOR_SUPPORT_SOURCES to solve these issues.

It should also be possible to build ethereal without libethereal.dll again.

Once we have moved all DISSECTOR_SUPPORT_SOURCES into a subdirectory of 
epan we can get rid of this patchwork in the nmake makefiles.


svn path=/trunk/; revision=11562
2004-07-29 07:25:11 +00:00
Gerald Combs e1ede171f9 Fix a null pointer dereference.
svn path=/trunk/; revision=11561
2004-07-29 02:25:54 +00:00
Olivier Biot a11651260b From Lars Roland: With this patch print.(c/h) and ps.(c/h) don't belong to
the DISSECTOR_SUPPORT_xy files any longer and as a consequence they 
won't be linked into libethereal.

svn path=/trunk/; revision=11559
2004-07-29 00:11:14 +00:00
Olivier Biot 21cb72b093 Partial fix after some files being moved between directories.
There is still a problem with MSVC builds as 3 objects get built twice (once
at the top level, and once in epan: xmlstub.obj, print.obj and ps.obj).

This fix allows to compile again with MSVC if debug symbols are NOT enabled
while building Ethereal.  Do this by editing config.nmake and replacing
"LOCAL_LDFLAGS=/DEBUG" with "LOCAL_LDFLAGS=". In other words: Ethereal CANNOT
be built right now with debug symbols in the object code, for MSVC builds.

svn path=/trunk/; revision=11557
2004-07-28 22:41:19 +00:00
Ulf Lamping c54fcb2c02 removed print_packet_header, as it seems to be no longer used/available and will result in a link error
svn path=/trunk/; revision=11552
2004-07-28 16:48:58 +00:00
Guy Harris 70cca9cb10 From Greg Morris:
check whether "match_strval()" returned a null pointer before
	using its return value;

	mark the end-of-burst packet.

Clean up white space.

svn path=/trunk/; revision=11551
2004-07-28 08:23:52 +00:00
Ronnie Sahlberg 0fd5931b07 x509ce use implicit tags.
the compiler does not yet support this.
change the definition file to make the implicit keyword explicit


svn path=/trunk/; revision=11550
2004-07-28 07:55:57 +00:00
Guy Harris ec33d95bc8 From Ming Zhang: update to the latest draft.
svn path=/trunk/; revision=11549
2004-07-28 07:46:54 +00:00
Guy Harris 3f6dcb9426 From Lars Roland: don't delete the generated header files with "make
distclean", as those are part of the distribution.

svn path=/trunk/; revision=11541
2004-07-27 18:57:52 +00:00
Guy Harris 74fda1d8ab From Lars Roland:
clean up the message printed when building libethereal.dll;

	have "make distclean" clean out the "dissectors" subdirectory.

Clean up indentation.

svn path=/trunk/; revision=11540
2004-07-27 18:56:50 +00:00
Michael Tüxen ea917cc882 Change the display of identifiers from DEC to HEX.
svn path=/trunk/; revision=11538
2004-07-27 09:22:35 +00:00
Guy Harris de555a5b7c Add the Ethertype for MAC Control frames, as per Clause 31 and Annexes
31A and 31B in the 2000 and later 802.3 specs.  (Dissecting them is left
as an exercise for the student.)

Clean up whitespace a bit.

svn path=/trunk/; revision=11536
2004-07-27 06:05:20 +00:00
Guy Harris 1dff8e81b2 Arrange that "x11-declarations.h" and "x11-register-info.h" be part of
the distribution, as was the case in the past.

Arrange that RCS IDs be expanded, and that the EOL style be native, for
epan/dissectors/Makefile.{am,common,nmake}.

svn path=/trunk/; revision=11532
2004-07-27 02:52:49 +00:00
Gerald Combs 59be185931 From Anders Broman: Update libethereal.def to match recent changes in print.c.
svn path=/trunk/; revision=11525
2004-07-26 14:11:28 +00:00
Ronnie Sahlberg 135f0cdfa3 update tox509ce virtually all of x509ce now implemented (but there are still bugs)
svn path=/trunk/; revision=11524
2004-07-26 09:21:36 +00:00
Michael Tüxen 509c431146 Added support for registered UDP port.
svn path=/trunk/; revision=11522
2004-07-25 17:53:02 +00:00
Ronnie Sahlberg ceedde9c07 some more extensions and their dissectors defined.
svn path=/trunk/; revision=11520
2004-07-25 12:54:33 +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
Guy Harris a4ab30088a From Lars Roland: don't print the "echo Linking dissectors.lib" command
before running it (printing echo commands puts extra gunk into the
output), and remove some additional generated files when doing "make
distclean".

svn path=/trunk/; revision=11517
2004-07-25 09:58:08 +00:00
Ronnie Sahlberg 88d357fe04 get rid of the remaining compiler warnings.
x509af is now virtually complete (the attribute userPassword still needs 
an attribute dissector but after that, x509af is complete)



svn path=/trunk/; revision=11510
2004-07-24 22:59:02 +00:00
Ronnie Sahlberg 4d09fc5e43 Add a lot of missing attribute dissectors
svn path=/trunk/; revision=11509
2004-07-24 22:53:27 +00:00
Ronnie Sahlberg 9d69ba5911 added the userCertificate and cAcertificate attributes
svn path=/trunk/; revision=11508
2004-07-24 22:30:49 +00:00
Ronnie Sahlberg 829a19a29b add dissection of the structure : Extension
svn path=/trunk/; revision=11507
2004-07-24 22:16:41 +00:00
Guy Harris d890f4934e In "dissect_smb_server_type_flags()":
explicitly pass NULL as the tree argument to
	"dissect_ndr_uint32()" - "tree", which was passed before, was
	definitely null at that point, and the intent is that it not put
	anything into the protocol tree;

	use the correct offset when putting items into the protocol tree
	(the offset has been advanced just past the end of the field at
	the time the items are being put into the protocol tree).

svn path=/trunk/; revision=11506
2004-07-24 09:59:00 +00:00
Jörg Mayer e869dbb17d Trivial warning fixes:
- comma at end of enum
- function declarations with empty args instead of void
- c++ style comments

svn path=/trunk/; revision=11492
2004-07-23 23:28:08 +00:00
Ronnie Sahlberg e7172b423b add nice text item for the case when we could not find the dissector for a specific OID/attribute to make it easier to see where we have missed implementing something.
svn path=/trunk/; revision=11491
2004-07-23 23:12:31 +00:00
Ronnie Sahlberg 52d5646696 inside dissect_ber_sequence() we know the expected length of the field that follows.
use this and create a new tvbsubset so that
1, reading too much data is flagged as MALFORMED PACKET indicating a bug in the dissector (or a packet that IS malformed)
2, this also implicitely passes the length of the data through the ber.oid dissector handle in case we want to pick it up later.



svn path=/trunk/; revision=11490
2004-07-23 23:06:38 +00:00
Guy Harris bbbe995ddb Use "format_text()" on strings to be put into the Info column and the
display representation of items in the protocol tree, so we don't get
hosed by non-printable characters.

svn path=/trunk/; revision=11489
2004-07-23 22:39:08 +00:00
Gerald Combs c6c01ab4b1 Have distclean remove built sources.
svn path=/trunk/; revision=11488
2004-07-23 21:24:25 +00:00
Ronnie Sahlberg 19f12428b6 remove some more compiler warnings
svn path=/trunk/; revision=11486
2004-07-23 14:00:34 +00:00
Ronnie Sahlberg 0d59053844 make the implicit_tag parameter _U_ to get rid of some compiler warnings in those cases it is not used.
svn path=/trunk/; revision=11485
2004-07-23 13:21:48 +00:00
Ronnie Sahlberg 543c91b203 telex and telephone number attributes
svn path=/trunk/; revision=11484
2004-07-23 13:11:29 +00:00
Ronnie Sahlberg e4fdba9e02 Remove a compiler warning for a parameter that is not used
in the DirectoryString dissector


svn path=/trunk/; revision=11483
2004-07-23 12:22:13 +00:00
Guy Harris 46e1e52757 If there's no data in the authentication option, don't unescape and
tvbuffify it.

svn path=/trunk/; revision=11482
2004-07-23 08:36:07 +00:00
Ronnie Sahlberg b662cf7641 add all the other (quite a lot of them) attributes that were of the type DirectoryString
(see how good it is to put markers for emacs macros in the files, it was pretty quick, wasnt it? i even tested the resulting code.)


svn path=/trunk/; revision=11481
2004-07-23 08:21:51 +00:00
Guy Harris 89f9e1ee88 Use "col_append_str()" and "col_append_fstr()" to build the Info column,
rather than building a string, and use "tvb_format_text()" on the data,
so that non-printable characters are escaped.

svn path=/trunk/; revision=11480
2004-07-23 07:59:15 +00:00
Ronnie Sahlberg 1b0f6edbd9 add dissection of DirectoryString, this unfortunately had to be done manually inside the template.
Also implement the attribute  organizationName which is of this type.

(Add magic comments so emacs-macros will be happy.)


svn path=/trunk/; revision=11479
2004-07-23 07:46:12 +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
Guy Harris 267b501cae "iax_lookup_circuit_details()" can return null; check whether it's null
before using it.

svn path=/trunk/; revision=11477
2004-07-23 06:37:58 +00:00