From owner-ietf-sasl Sat Dec  7 20:50:04 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gB84o4O16227
	for ietf-sasl-bks; Sat, 7 Dec 2002 20:50:04 -0800 (PST)
Received: from konishi-polis.mit.edu (STRATTON-ONE-NINETY-SIX.MIT.EDU [18.187.5.196])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gB84o1g16220
	for <ietf-sasl@imc.org>; Sat, 7 Dec 2002 20:50:02 -0800 (PST)
Received: by konishi-polis.mit.edu (Postfix, from userid 8042)
	id 78C34151F11; Sat,  7 Dec 2002 23:50:06 -0500 (EST)
To: lukeh@PADL.COM
Cc: mel@messagingdirect.com, ietf-sasl@imc.org
Subject: Re: GSS-SPNEGO
References: <200211290352.OAA29035@au.padl.com>
	<3DE75027.EB158373@messagingdirect.com>
	<200211300618.RAA38612@au.padl.com>
From: Sam Hartman <hartmans@mit.edu>
Date: Sat, 07 Dec 2002 23:50:06 -0500
In-Reply-To: <200211300618.RAA38612@au.padl.com> (Luke Howard's message of
 "Sat, 30 Nov 2002 17:18:10 +1100")
Message-ID: <tsl4r9p3yip.fsf@konishi-polis.mit.edu>
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2
 (i386-debian-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>


Are there any situations where you actually need to use SPNEGO with
GSS in order to interoperate with Microsoft clients or servers?

From owner-ietf-sasl Mon Dec  9 19:49:55 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBA3ntK24649
	for ietf-sasl-bks; Mon, 9 Dec 2002 19:49:55 -0800 (PST)
Received: from eagle.oceana.com ([208.17.123.12])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBA3npE24640
	for <ietf-sasl@imc.org>; Mon, 9 Dec 2002 19:49:51 -0800 (PST)
Received: from oceana.com (ny-kenton4a-6.buf.adelphia.net [24.51.28.6])
	(authenticated bits=0)
	by eagle.oceana.com (8.12.6/8.12.6) with ESMTP id gBA3n1dV012240
	(version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT);
	Mon, 9 Dec 2002 22:49:02 -0500
Message-ID: <3DF5642B.FD399872@oceana.com>
Date: Mon, 09 Dec 2002 22:48:59 -0500
From: Ken Murchison <ken@oceana.com>
Organization: Oceana Matrix Ltd.
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Hack Kampbjorn <cyrus-info@hack.kampbjorn.com>,
   "Peter 'Luna' Runestig" <peter+cyrus@runestig.com>
CC: info-cyrus@lists.andrew.cmu.edu, SASL mailing list <ietf-sasl@imc.org>
Subject: Re: OPENSSL_VERSION_NUMBER (Was: Cyrus SASL 2.1.10 Released)
References: <Pine.LNX.4.50L-028.0212091145260.26504-100000@gobo.andrew.cmu.edu> <3DF52CC4.8040806@hack.kampbjorn.com> <3DF54E13.1090800@hack.kampbjorn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>


OK.  I now have two conflicting reports regarding testing for
OPENSSL_VERSION_NUMBER with OpenSSL 0.9.7 (both quoted below).  Could
somebody who has 0.9.7 installed please try to figure out what the deal
is?  I tend to believe that I was originally correct in including the
check, and I'm confused as to why it doesn't work for Peter using the
same release as Hack.

Ken


Hack Kampbjorn wrote:
> 
> More problems: with cyrus-sasl version 2.1.9 plugins/otp.c only defined
> MD5_H for OpenSSL versions < 0.9.7 but in version 2.1.10 the check is
> removed. OpenBSD 3.2 ships with OpenSSL 0.9.7-beta3 30 Jul 2000
> (0x00907003L) and fails with this error:
> 
> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I.
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins
> -I..
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/include
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/lib
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sasldb
>   -I/usr/local/include -I/usr/include/kerberosIV
> -I/usr/include/kerberosV -I/usr/include  -Wall -W -Wall -O2
> -I/usr/include/kerberosV -c
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c
> rm -f .libs/otp.lo
> cc -DHAVE_CONFIG_H -I.
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins
> -I..
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/include
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/lib
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sasldb
> -I/usr/local/include -I/usr/include/kerberosIV -I/usr/include/kerberosV
> -I/usr/include -Wall -W -Wall -O2 -I/usr/include/kerberosV -c
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c
>   -fPIC -DPIC -o .libs/otp.lo
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c:59:
> invalid preprocessing directive name
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c:61:
> invalid preprocessing directive name
> *** Error code 1
> 
> Stop in
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/build-i386/plugins.
> 
> Adding the version check back fixes this problem.
> --- plugins/otp.c.orig  Tue Dec 10 01:33:54 2002
> +++ plugins/otp.c       Tue Dec 10 01:39:44 2002
> @@ -56,7 +56,9 @@
>   #include <openssl/evp.h>
> 
>   #include <sasl.h>
> +#if OPENSSL_VERSION_NUMBER < 0x00907000L
>   #define MD5_H  /* suppress internal MD5 */
> +#endif
>   #include <saslplug.h>
> 
>   #include "plugin_common.h"
> 


Peter 'Luna' Runestig wrote:
> 
> Hi all!
> 
> What's the deal with this part in plugins/otp.c (2.1.8):
> 
> #if OPENSSL_VERSION_NUMBER < 0x00907000L
> #define MD5_H  /* suppress internal MD5 */
> #endif
> 
> As it stands, the code doesn't compile with openssl-0.9.7-beta3 (if I
> remove the version check, it does). Do you expect MD5 support to be
> dropped in future versions of openssl, or what?

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

From owner-ietf-sasl Tue Dec 10 06:16:05 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBAEG5u25197
	for ietf-sasl-bks; Tue, 10 Dec 2002 06:16:05 -0800 (PST)
Received: from eagle.oceana.com ([208.17.123.12])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBAEG2E25192
	for <ietf-sasl@imc.org>; Tue, 10 Dec 2002 06:16:02 -0800 (PST)
Received: from oceana.com (KEN.oceana.com [192.168.10.26])
	by eagle.oceana.com (8.12.6/8.12.6) with ESMTP id gBAEFEdU021335;
	Tue, 10 Dec 2002 09:15:14 -0500
Message-ID: <3DF5F72C.EA63E946@oceana.com>
Date: Tue, 10 Dec 2002 09:16:12 -0500
From: Ken Murchison <ken@oceana.com>
Organization: Oceana Matrix Ltd.
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: "Peter 'Luna' Runestig" <peter+cyrus@runestig.com>
CC: Hack Kampbjorn <cyrus-info@hack.kampbjorn.com>,
   info-cyrus@lists.andrew.cmu.edu,
   Cyrus SASL Mailing List <cyrus-sasl@andrew.cmu.edu>
Subject: Re: OPENSSL_VERSION_NUMBER (Was: Cyrus SASL 2.1.10 Released)
References: <Pine.LNX.4.50L-028.0212091145260.26504-100000@gobo.andrew.cmu.edu> <3DF52CC4.8040806@hack.kampbjorn.com> <3DF54E13.1090800@hack.kampbjorn.com> <3DF5642B.FD399872@oceana.com> <3DF5A407.2070409@runestig.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>


Oops!

I pulled the wrong SASL address out of my address book.  Please do not
send any more replies to ietf-sasl.

Ken



Peter 'Luna' Runestig wrote:
> 
> Ken Murchison wrote:
> > OK.  I now have two conflicting reports regarding testing for
> > OPENSSL_VERSION_NUMBER with OpenSSL 0.9.7 (both quoted below).  Could
> > somebody who has 0.9.7 installed please try to figure out what the deal
> > is?  I tend to believe that I was originally correct in including the
> > check,
> 
> Back to my original question then: why? Why treat OpenSSL version 0.9.7
> and above different than the previous versions? Is there any change in
> the MD5 code between those versions (I don't think so, not anything that
> affects this issue anyway)?
> 
> Anyway, here's what happens to me, if 'MD5_H' isn't defined:
> 
> $ ./configure --with-openssl=/usr/local
> [tweak the Makefiles to make Kerberos somewhat compile (RH 7.2)]
> [snip a lot of other output]
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -I/usr/kerberos/include -I/usr/kerberos/include/kerberosIV -I../include
> -I../lib -I../sasldb  -I/usr/local/include -I/usr/local/include  -Wall
> -W -Wall -g -O2 -c otp.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kerberos/include
> -I/usr/kerberos/include/kerberosIV -I../include -I../lib -I../sasldb
> -I/usr/local/include -I/usr/local/include -Wall -W -Wall -g -O2 -c otp.c
>   -fPIC -DPIC -o otp.lo
> In file included from ../include/saslplug.h:11,
>                   from otp.c:60:
> ../include/md5.h:30: conflicting types for `MD5_CTX'
> /usr/local/include/openssl/md5.h:103: previous declaration of `MD5_CTX'
> make[2]: *** [otp.lo] Error 1
> 
> Yes, the name 'MD5_CTX' is used in both OpenSSL and SASL "native" MD5,
> so that clash was sure to come.
> 
> > and I'm confused as to why it doesn't work for Peter using the
> > same release as Hack.
> 
> So am I! But I have another remark further down here:
> 
> > Ken
> >
> >
> > Hack Kampbjorn wrote:
> >>
> >> More problems: with cyrus-sasl version 2.1.9 plugins/otp.c only defined
> >> MD5_H for OpenSSL versions < 0.9.7 but in version 2.1.10 the check is
> >> removed. OpenBSD 3.2 ships with OpenSSL 0.9.7-beta3 30 Jul 2000
> >> (0x00907003L) and fails with this error:
> >>
> >> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I.
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins
> >> -I..
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/include
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/lib
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sasldb
> >>   -I/usr/local/include -I/usr/include/kerberosIV
> >> -I/usr/include/kerberosV -I/usr/include  -Wall -W -Wall -O2
> >> -I/usr/include/kerberosV -c
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c
> >> rm -f .libs/otp.lo
> >> cc -DHAVE_CONFIG_H -I.
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins
> >> -I..
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/include
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/lib
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sasldb
> >> -I/usr/local/include -I/usr/include/kerberosIV -I/usr/include/kerberosV
> >> -I/usr/include -Wall -W -Wall -O2 -I/usr/include/kerberosV -c
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c
> >>   -fPIC -DPIC -o .libs/otp.lo
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c:59:
> >> invalid preprocessing directive name
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> What kind of an error is that? Is the macro 'MD5_H' used elswhere in
> OpenBSD? Unfortunately, I don't have a OBSD 3.2 around to test on...
> 
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c:61:
> >> invalid preprocessing directive name
> >> *** Error code 1
> >>
> >> Stop in
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/build-i386/plugins.
> >>
> >> Adding the version check back fixes this problem.
> >> --- plugins/otp.c.orig  Tue Dec 10 01:33:54 2002
> >> +++ plugins/otp.c       Tue Dec 10 01:39:44 2002
> >> @@ -56,7 +56,9 @@
> >>   #include <openssl/evp.h>
> >>
> >>   #include <sasl.h>
> >> +#if OPENSSL_VERSION_NUMBER < 0x00907000L
> >>   #define MD5_H  /* suppress internal MD5 */
> >> +#endif
> >>   #include <saslplug.h>
> >>
> >>   #include "plugin_common.h"
> >>
> >
> >
> > Peter 'Luna' Runestig wrote:
> >>
> >> Hi all!
> >>
> >> What's the deal with this part in plugins/otp.c (2.1.8):
> >>
> >> #if OPENSSL_VERSION_NUMBER < 0x00907000L
> >> #define MD5_H  /* suppress internal MD5 */
> >> #endif
> >>
> >> As it stands, the code doesn't compile with openssl-0.9.7-beta3 (if I
> >> remove the version check, it does). Do you expect MD5 support to be
> >> dropped in future versions of openssl, or what?
> 
> Cheers,
> - Peter
> --
> Peter 'Luna' Runestig (fd. Altberg), Sweden <peter@runestig.com>
> PGP Key ID: 0xD07BBE13
> Fingerprint: 7B5C 1F48 2997 C061 DE4B  42EA CB99 A35C D07B BE13
> AOL Instant Messenger Screen name: PRunestig

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

From owner-ietf-sasl Wed Dec 18 11:57:10 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBIJvAF08141
	for ietf-sasl-bks; Wed, 18 Dec 2002 11:57:10 -0800 (PST)
Received: from kalia.dbc.mtview.ca.us ([65.125.189.124])
	by above.proper.com (8.11.6/8.11.3) with SMTP id gBIJv9o08136
	for <ietf-sasl@imc.org>; Wed, 18 Dec 2002 11:57:09 -0800 (PST)
Received: from kalia.dbc.mtview.ca.us (localhost [127.0.0.1])
	by kalia.dbc.mtview.ca.us (8.12.6/8.12.6) with SMTP id gBIJv48Q000517;
	Wed, 18 Dec 2002 11:57:04 -0800 (PST)
Date: Wed, 18 Dec 2002 11:57:04 -0800
From: Marshall Rose <mrose@dbc.mtview.ca.us>
To: ietf-sasl@imc.org
Subject: can i get some help with the unwashed?
Message-Id: <20021218115704.6849a0b6.mrose@dbc.mtview.ca.us>
Organization: Dover Beach Consulting, Inc.
X-Mailer: Sylpheed version 0.8.3claws (GTK+ 1.2.10; )
Mime-Version: 1.0
Content-Type: multipart/mixed;
 boundary="Multipart_Wed__18_Dec_2002_11:57:04_-0800_081c6a00"
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>


This is a multi-part message in MIME format.

--Multipart_Wed__18_Dec_2002_11:57:04_-0800_081c6a00
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

hi. can some folks from this list pop over to syslog-sec@employees.org and
explain to some of the highly-opinionated new arrivals why sasl is a
good thing? my gut reaction is to write the guy off as a
mini-me-for-djb, but perhaps i should be more kind in my old age.

specifically, the ietf chartered a syslog wg some time ago. the wg
developed two specs for doing syslog, one is "reliable syslog", which is
beep-based where you pick the bells-and-whistles you want, and the other
is "signed syslog", which is udp-based with some clever crypto to
provide in-order delivery over a certain timeframe.

the folks at sdsc produced an implementation of reliable syslog and
announced it on the loganalysis@lists.shmoo.com list, where some folks
hit the roof because what got standardized doesn't match their model.

as expected, the arguments boil down to: just run tcp/ssl and it's all good.

so i try to start the education process by asking why sasl got put into the
ietf's apps if we already had tls.

the response i got back is such a discontinuity from the real world that i'm
tempted to just ignore it.  however, some folks on this list might feel a need
to bring light to the masses, so  i'm forwarding this note here.

/mtr

ps: obviously, i see the "we hate beep" stuff from time-to-time, and
frankly, i don't really care. if someone sits down and does the work,
they'll figure out why. however, since the message is specifically
about sasl, i thought i'd bring it up here...

"enjoy!"
    
/mtr

--Multipart_Wed__18_Dec_2002_11:57:04_-0800_081c6a00
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Delivery-Date: Wed, 18 Dec 2002 06:11:28 -0800
Received: from og.latency.net (postfix@og.latency.net [209.123.200.27])
	by miz-mishtal.dbc.mtview.ca.us (8.12.6/8.12.6) with ESMTP id gBIEBNdP012974
	for <mrose@dbc.mtview.ca.us>; Wed, 18 Dec 2002 06:11:24 -0800 (PST)
Received: from pic.bent.dom (localhost [127.0.0.1])
	by og.latency.net (Postfix) with ESMTP
	id 6F11E14017B; Wed, 18 Dec 2002 09:11:19 -0500 (EST)
Received: by pic.bent.dom (Postfix, from userid 500)
	id 19AFC107917; Wed, 18 Dec 2002 09:08:52 -0500 (EST)
Date: Wed, 18 Dec 2002 09:08:52 -0500
From: Bennett Todd <bet@rahul.net>
To: Marshall Rose <mrose@dbc.mtview.ca.us>
Cc: syslog-sec@employees.org
Subject: Re: Any chance for a Simple Reliable Syslog Protocol?
Message-ID: <20021218140852.GC1350@rahul.net>
References: <200212172135.gBHLZSdF014693@willers.employees.org> <20021217151143.22c94664.mrose@dbc.mtview.ca.us>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="uh9ZiVrAOUUm9fzH"
Content-Disposition: inline
In-Reply-To: <20021217151143.22c94664.mrose@dbc.mtview.ca.us>
User-Agent: Mutt/1.4i


--uh9ZiVrAOUUm9fzH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

2002-12-17-18:11:43 Marshall Rose:
> here's an interesting thought experiment: if TLS (nee SSL) is
> around, why did the IETF add SASL to all of its application
> protocols?

Errh, because the Cyrus team implemented it, and nobody was
offering a better way to stuff authentication into SMTP? The
hideous overcomplexity of SASL has been the main barrier to getting
authenticated SMTP more widely deployed. Notably, the Cyrus SASL
libraries --- the only SASL implementation available[1] --- have
been found to have security bugs in them.

> to understand the answer to this, is to understand why TLS, while
> very good at what it does, doesn't meet the requirements of many
> environments.

To understand why SMTP auth is so rarely deployed, and why so many
people are using the revolting pop-before-smtp kluge instead, is to
understand why wading off into the bright open and inventing your
own crypto protocols from scratch is best avoided.

> here are two hints: kerberized enterprises?

Haven't ever cared especially; even when I've worked in a totally
kerberized enterprise, certs were just as good for host-to-host
auth (and operationally equivalent). But now that I do a quick RFC
search, it looks like RFC 2712 describes Kerberos authentication for
TLS, so it looks like someone decided to enable the general-purpose
tool to encompass that problem.

> integrity-sans-privacy?

I'm having trouble envisioning a real motivation for that, but it
seems to be supported within TLS as it stands, BulkCipherAlgorithm
null.

> again, it's not that TLS isn't adequate, it's perfectly adequate
> and extensible for its mission. the problem is that its mission
> may not have quite the reach that a lot of folks require...

Before concluding that, it's good to make positively certain TLS
can't do the job as it stands, and that it's impractical to extend
it, before going out and re-inventing the functionality; there's a
lot of engineering benefit to re-using existing analysis and
implementation, and if the existing protocol is inadequate for a new
job, better to extend it, and thereby leave it fitted to a broader
set of tasks, then re-implementing the functionality elsewhere.

I really think the security needs of syslog are best met by just
getting it off UDP and onto TCP, whereupon it's easy to transport it
securely.

-Bennett

[1] I've heard of other SASL library implementation attempts. I
    haven't heard of any that got far enough to be a viable
    alternative to Cyrus SASL for a real application.

--uh9ZiVrAOUUm9fzH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+AIF0HZWg9mCTffwRAimIAKDDvCjXyAZOg5KrRYTXALxCeCj6YACdHA55
PlF0PipSnEIWid6hgu8sbfM=
=+xeJ
-----END PGP SIGNATURE-----

--uh9ZiVrAOUUm9fzH--

--Multipart_Wed__18_Dec_2002_11:57:04_-0800_081c6a00--

From owner-ietf-sasl Thu Dec 19 11:15:40 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBJJFeP29936
	for ietf-sasl-bks; Thu, 19 Dec 2002 11:15:40 -0800 (PST)
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJJFco29930
	for <ietf-sasl@imc.org>; Thu, 19 Dec 2002 11:15:38 -0800 (PST)
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.6/8.12.5) with ESMTP id gBJJFd0a018810
	for <ietf-sasl@imc.org>; Thu, 19 Dec 2002 19:15:39 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20021219111354.01a59db0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Thu, 19 Dec 2002 11:15:34 -0800
To: ietf-sasl@imc.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Fwd: WG Action: Simple Authentication and Security Layer (sasl)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>



>From: The IESG <iesg-secretary@ietf.org>
>To: IETF-Announce: ;
>Cc: hartmans@mit.edu, Kurt@OpenLDAP.org
>Subject: WG Action: Simple Authentication and Security Layer (sasl)
>Date: Thu, 19 Dec 2002 13:46:28 -0500
>
>
>A new working group has been formed in the Security Area of the IETF. 
>For additional information, contact the Area Directors 
>or the WG Chair.
>
>
>Simple Authentication and Security Layer (sasl)
> -----------------------------------------------
>
>   Current Status: Active Working Group
>
>   Chair(s):
>           Sam Hartman <hartmans@mit.edu>
>           K. Zeilenga <kurt@openLDAP.org>
>
>   Security Area Director(s):
>           J. Schiller <jis@mit.edu>
>           Steve Bellovin <smb@research.att.com>
>
>   Security Area Advisor:
>           J. Schiller <jis@mit.edu>
>
>   Mailing Lists: 
>           General Discussion:ietf-sasl@imc.org
>           To Subscribe: ietf-sasl-request@imc.org
>                   In Body: subscribe
>           Archive: http://www.imc.org/ietf-sasl/mail-archive/
>
> Description of Working Group:
>
>The Simple Authentication and Security Layer [RFC2222] provides key 
>security services to a number of application protocols including BEEP, 
>IMAP, LDAP, POP, and SMTP. The purpose of this working group is to 
>shepherd SASL, including select SASL mechanisms, through the Internet 
>Standards process.
>
>This group will deliver a revised SASL Technical Specification 
>suitable for consideration as a Draft Standard. This work will be 
>based upon RFC 2222 and draft-myers-saslrev.
>
>This group will deliver revised Technical Specifications suitable for 
>consideration as Draft Standards for the following SASL mechanisms: 
>ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, and EXTERNAL. This work will 
>be based upon RFC 2195, RFC 2222, RFC 2831, draft-zeilenga-sasl-anon, 
>draft-zeilenga-sasl-plain, draft-nerenberg-sasl-crammd5 and 
>draft-melnikov-rfc2831bis, and draft-myers-saslrev-xx.txt.
>
>This group will deliver a revised Technical Specification suitable for 
>publication as Proposed Standard for the GSSAPI family of SASL 
>mechanisms. This work will be based upon RFC 2222 and 
>draft-ietf-cat-sasl-gssapi.
>
>The following areas are not within the scope of work of this WG:
>
>- new features,
>- SASL Mechanisms not specifically mentioned above, and
>- SASL "profiles".
>
>However, the SASL WG is an acceptable forum for review of SASL-related 
>submissions produced by others as long as such review does not impede 
>progress on the WG objectives listed above.
>
>Goals and Milestones:
>
>JAN 03 Submit revised SASL (+ EXTERNAL) I-D 
>
>JAN 03 Submit revised SASL ANONYMOUS I-D 
>
>JAN 03 Submit revised SASL PLAIN I-D 
>
>JAN 03 Submit revised SASL CRAM-MD5 I-D 
>
>JAN 03 Submit revised SASL DIGEST-MD5 I-D 
>
>JAN 03 Submit revised SASL GSSAPI I-D 
>
>JUN 03 Submit Implementation Report 
>
>JUL 03 Submit revised SASL, CRAM-MD5, DIGEST-MD5 I-Ds with 
>        Implementation Report to IESG for consideration as a Draft 
>        Standard 
>
>JUL 03 Submit revised SASL GSSAPI I-D to IESG for consideration as 
>        a Proposed Standard 
>
>AUG 03 Revise charter or conclude 


From owner-ietf-sasl Thu Dec 19 11:24:47 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBJJOlU01593
	for ietf-sasl-bks; Thu, 19 Dec 2002 11:24:47 -0800 (PST)
Received: from delenn.fl.net.au (int-mail.syd.fl.net.au [202.181.0.28])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJJOjo01586
	for <ietf-sasl@imc.org>; Thu, 19 Dec 2002 11:24:45 -0800 (PST)
Received: from solomon (a5-p39.syd.fl.net.au [202.181.2.39])
	by delenn.fl.net.au (Postfix) with ESMTP
	id 701C718044B; Fri, 20 Dec 2002 06:30:20 +1100 (EST)
Content-Type: text/plain;
  charset="utf-8"
From: "Raif S. Naffah" <raif@fl.net.au>
Reply-To: raif@fl.net.au
To: The IESG <iesg-secretary@ietf.org>, IETF-Announce: ;, @solomon.fl.net.au
Subject: Re: WG Action: Simple Authentication and Security Layer (sasl)
Date: Fri, 20 Dec 2002 06:25:35 +1100
User-Agent: KMail/1.4.3
Cc: hartmans@mit.edu, Kurt@OpenLDAP.org, ietf-sasl@imc.org,
   keith@rucus.ru.ac.za
References: <200212191846.NAA23233@ietf.org>
In-Reply-To: <200212191846.NAA23233@ietf.org>
MIME-Version: 1.0
Message-Id: <200212200625.42665.raif@fl.net.au>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id gBJJOko01588
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Friday 20 December 2002 05:46, The IESG wrote:
> A new working group has been formed in the Security Area of the IETF.
> For additional information, contact the Area Directors
> or the WG Chair.
> ...
>  Description of Working Group:
> ...
> This group will deliver a revised SASL Technical Specification
> suitable for consideration as a Draft Standard. This work will be
> based upon RFC 2222 and draft-myers-saslrev.
>
> This group will deliver revised Technical Specifications suitable for
> consideration as Draft Standards for the following SASL mechanisms:
> ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, and EXTERNAL. This work will
> be based upon RFC 2195, RFC 2222, RFC 2831, draft-zeilenga-sasl-anon,
> draft-zeilenga-sasl-plain, draft-nerenberg-sasl-crammd5 and
> draft-melnikov-rfc2831bis, and draft-myers-saslrev-xx.txt.
>
> This group will deliver a revised Technical Specification suitable
> for publication as Proposed Standard for the GSSAPI family of SASL
> mechanisms. This work will be based upon RFC 2222 and
> draft-ietf-cat-sasl-gssapi.

in the proposal for the creation of this WG, there was an additional 
objective:

> Message-Id: <200212060011.TAA05743@ietf.org>
> From: The IESG <iesg-secretary@ietf.org>
> To: IETF-Announce: ;
> Subject: WG Review:  Simple Authentication and Security Layer (sasl)
> Date: Thu, 05 Dec 2002 19:11:53 -0500
> ...
> This group will deliver a Technical Specification suitable for
> publication as Proposed Standard describing a family of SASL
> mechanisms using the Secure Remote Password [RFC2945] protocol.  This
> work will be based upon draft-burdis-cat-srp-sasl.

why this is not part of the deliverables of this WG anymore?


cheers;
rsn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Que du magnifique

iD8DBQE+Ah0w+e1AKnsTRiERA8f0AKDXyy8Clu6cJXvTNldmqiDGhVYxGgCg7lGL
tYe1fJ2P+XNxwnfTcUQr3IU=
=S9Ei
-----END PGP SIGNATURE-----


From owner-ietf-sasl Thu Dec 19 15:55:15 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBJNtFD24582
	for ietf-sasl-bks; Thu, 19 Dec 2002 15:55:15 -0800 (PST)
Received: from konishi-polis.mit.edu (cs6625131-84.austin.rr.com [66.25.131.84])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJNtEo24577
	for <ietf-sasl@imc.org>; Thu, 19 Dec 2002 15:55:14 -0800 (PST)
Received: by konishi-polis.mit.edu (Postfix, from userid 8042)
	id A2AE6152232; Thu, 19 Dec 2002 18:55:18 -0500 (EST)
To: raif@fl.net.au
Cc: ietf-sasl@imc.org
Subject: Re: WG Action: Simple Authentication and Security Layer (sasl)
References: <200212191846.NAA23233@ietf.org>
	<200212200625.42665.raif@fl.net.au>
From: Sam Hartman <hartmans@mit.edu>
Date: Thu, 19 Dec 2002 18:55:18 -0500
In-Reply-To: <200212200625.42665.raif@fl.net.au> ("Raif S. Naffah"'s message
 of "Fri, 20 Dec 2002 06:25:35 +1100")
Message-ID: <tsladj1o97d.fsf@mit.edu>
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2
 (i386-debian-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>


>>>>> "Raif" == Raif S Naffah <raif@fl.net.au> writes:

    Raif> why this is not part of the deliverables of this WG anymore?

Jeff indicated that because of intellectual property concerns the IESG
believes we should not include SRP in the set of documents we produce.


Note that people can still work on a SRP mechanism as an individual
submission and can ask the members of this list to review it.

From owner-ietf-sasl Sat Dec  7 20:50:04 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gB84o4O16227
	for ietf-sasl-bks; Sat, 7 Dec 2002 20:50:04 -0800 (PST)
Received: from konishi-polis.mit.edu (STRATTON-ONE-NINETY-SIX.MIT.EDU [18.187.5.196])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gB84o1g16220
	for <ietf-sasl@imc.org>; Sat, 7 Dec 2002 20:50:02 -0800 (PST)
Received: by konishi-polis.mit.edu (Postfix, from userid 8042)
	id 78C34151F11; Sat,  7 Dec 2002 23:50:06 -0500 (EST)
To: lukeh@PADL.COM
Cc: mel@messagingdirect.com, ietf-sasl@imc.org
Subject: Re: GSS-SPNEGO
References: <200211290352.OAA29035@au.padl.com>
	<3DE75027.EB158373@messagingdirect.com>
	<200211300618.RAA38612@au.padl.com>
From: Sam Hartman <hartmans@mit.edu>
Date: Sat, 07 Dec 2002 23:50:06 -0500
In-Reply-To: <200211300618.RAA38612@au.padl.com> (Luke Howard's message of
 "Sat, 30 Nov 2002 17:18:10 +1100")
Message-ID: <tsl4r9p3yip.fsf@konishi-polis.mit.edu>
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2
 (i386-debian-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>


Are there any situations where you actually need to use SPNEGO with
GSS in order to interoperate with Microsoft clients or servers?

From owner-ietf-sasl Mon Dec  9 19:49:55 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBA3ntK24649
	for ietf-sasl-bks; Mon, 9 Dec 2002 19:49:55 -0800 (PST)
Received: from eagle.oceana.com ([208.17.123.12])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBA3npE24640
	for <ietf-sasl@imc.org>; Mon, 9 Dec 2002 19:49:51 -0800 (PST)
Received: from oceana.com (ny-kenton4a-6.buf.adelphia.net [24.51.28.6])
	(authenticated bits=0)
	by eagle.oceana.com (8.12.6/8.12.6) with ESMTP id gBA3n1dV012240
	(version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT);
	Mon, 9 Dec 2002 22:49:02 -0500
Message-ID: <3DF5642B.FD399872@oceana.com>
Date: Mon, 09 Dec 2002 22:48:59 -0500
From: Ken Murchison <ken@oceana.com>
Organization: Oceana Matrix Ltd.
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Hack Kampbjorn <cyrus-info@hack.kampbjorn.com>,
   "Peter 'Luna' Runestig" <peter+cyrus@runestig.com>
CC: info-cyrus@lists.andrew.cmu.edu, SASL mailing list <ietf-sasl@imc.org>
Subject: Re: OPENSSL_VERSION_NUMBER (Was: Cyrus SASL 2.1.10 Released)
References: <Pine.LNX.4.50L-028.0212091145260.26504-100000@gobo.andrew.cmu.edu> <3DF52CC4.8040806@hack.kampbjorn.com> <3DF54E13.1090800@hack.kampbjorn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>


OK.  I now have two conflicting reports regarding testing for
OPENSSL_VERSION_NUMBER with OpenSSL 0.9.7 (both quoted below).  Could
somebody who has 0.9.7 installed please try to figure out what the deal
is?  I tend to believe that I was originally correct in including the
check, and I'm confused as to why it doesn't work for Peter using the
same release as Hack.

Ken


Hack Kampbjorn wrote:
> 
> More problems: with cyrus-sasl version 2.1.9 plugins/otp.c only defined
> MD5_H for OpenSSL versions < 0.9.7 but in version 2.1.10 the check is
> removed. OpenBSD 3.2 ships with OpenSSL 0.9.7-beta3 30 Jul 2000
> (0x00907003L) and fails with this error:
> 
> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I.
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins
> -I..
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/include
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/lib
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sasldb
>   -I/usr/local/include -I/usr/include/kerberosIV
> -I/usr/include/kerberosV -I/usr/include  -Wall -W -Wall -O2
> -I/usr/include/kerberosV -c
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c
> rm -f .libs/otp.lo
> cc -DHAVE_CONFIG_H -I.
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins
> -I..
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/include
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/lib
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sasldb
> -I/usr/local/include -I/usr/include/kerberosIV -I/usr/include/kerberosV
> -I/usr/include -Wall -W -Wall -O2 -I/usr/include/kerberosV -c
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c
>   -fPIC -DPIC -o .libs/otp.lo
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c:59:
> invalid preprocessing directive name
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c:61:
> invalid preprocessing directive name
> *** Error code 1
> 
> Stop in
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/build-i386/plugins.
> 
> Adding the version check back fixes this problem.
> --- plugins/otp.c.orig  Tue Dec 10 01:33:54 2002
> +++ plugins/otp.c       Tue Dec 10 01:39:44 2002
> @@ -56,7 +56,9 @@
>   #include <openssl/evp.h>
> 
>   #include <sasl.h>
> +#if OPENSSL_VERSION_NUMBER < 0x00907000L
>   #define MD5_H  /* suppress internal MD5 */
> +#endif
>   #include <saslplug.h>
> 
>   #include "plugin_common.h"
> 


Peter 'Luna' Runestig wrote:
> 
> Hi all!
> 
> What's the deal with this part in plugins/otp.c (2.1.8):
> 
> #if OPENSSL_VERSION_NUMBER < 0x00907000L
> #define MD5_H  /* suppress internal MD5 */
> #endif
> 
> As it stands, the code doesn't compile with openssl-0.9.7-beta3 (if I
> remove the version check, it does). Do you expect MD5 support to be
> dropped in future versions of openssl, or what?

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

From owner-ietf-sasl Tue Dec 10 06:16:05 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBAEG5u25197
	for ietf-sasl-bks; Tue, 10 Dec 2002 06:16:05 -0800 (PST)
Received: from eagle.oceana.com ([208.17.123.12])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBAEG2E25192
	for <ietf-sasl@imc.org>; Tue, 10 Dec 2002 06:16:02 -0800 (PST)
Received: from oceana.com (KEN.oceana.com [192.168.10.26])
	by eagle.oceana.com (8.12.6/8.12.6) with ESMTP id gBAEFEdU021335;
	Tue, 10 Dec 2002 09:15:14 -0500
Message-ID: <3DF5F72C.EA63E946@oceana.com>
Date: Tue, 10 Dec 2002 09:16:12 -0500
From: Ken Murchison <ken@oceana.com>
Organization: Oceana Matrix Ltd.
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: "Peter 'Luna' Runestig" <peter+cyrus@runestig.com>
CC: Hack Kampbjorn <cyrus-info@hack.kampbjorn.com>,
   info-cyrus@lists.andrew.cmu.edu,
   Cyrus SASL Mailing List <cyrus-sasl@andrew.cmu.edu>
Subject: Re: OPENSSL_VERSION_NUMBER (Was: Cyrus SASL 2.1.10 Released)
References: <Pine.LNX.4.50L-028.0212091145260.26504-100000@gobo.andrew.cmu.edu> <3DF52CC4.8040806@hack.kampbjorn.com> <3DF54E13.1090800@hack.kampbjorn.com> <3DF5642B.FD399872@oceana.com> <3DF5A407.2070409@runestig.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>


Oops!

I pulled the wrong SASL address out of my address book.  Please do not
send any more replies to ietf-sasl.

Ken



Peter 'Luna' Runestig wrote:
> 
> Ken Murchison wrote:
> > OK.  I now have two conflicting reports regarding testing for
> > OPENSSL_VERSION_NUMBER with OpenSSL 0.9.7 (both quoted below).  Could
> > somebody who has 0.9.7 installed please try to figure out what the deal
> > is?  I tend to believe that I was originally correct in including the
> > check,
> 
> Back to my original question then: why? Why treat OpenSSL version 0.9.7
> and above different than the previous versions? Is there any change in
> the MD5 code between those versions (I don't think so, not anything that
> affects this issue anyway)?
> 
> Anyway, here's what happens to me, if 'MD5_H' isn't defined:
> 
> $ ./configure --with-openssl=/usr/local
> [tweak the Makefiles to make Kerberos somewhat compile (RH 7.2)]
> [snip a lot of other output]
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -I/usr/kerberos/include -I/usr/kerberos/include/kerberosIV -I../include
> -I../lib -I../sasldb  -I/usr/local/include -I/usr/local/include  -Wall
> -W -Wall -g -O2 -c otp.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kerberos/include
> -I/usr/kerberos/include/kerberosIV -I../include -I../lib -I../sasldb
> -I/usr/local/include -I/usr/local/include -Wall -W -Wall -g -O2 -c otp.c
>   -fPIC -DPIC -o otp.lo
> In file included from ../include/saslplug.h:11,
>                   from otp.c:60:
> ../include/md5.h:30: conflicting types for `MD5_CTX'
> /usr/local/include/openssl/md5.h:103: previous declaration of `MD5_CTX'
> make[2]: *** [otp.lo] Error 1
> 
> Yes, the name 'MD5_CTX' is used in both OpenSSL and SASL "native" MD5,
> so that clash was sure to come.
> 
> > and I'm confused as to why it doesn't work for Peter using the
> > same release as Hack.
> 
> So am I! But I have another remark further down here:
> 
> > Ken
> >
> >
> > Hack Kampbjorn wrote:
> >>
> >> More problems: with cyrus-sasl version 2.1.9 plugins/otp.c only defined
> >> MD5_H for OpenSSL versions < 0.9.7 but in version 2.1.10 the check is
> >> removed. OpenBSD 3.2 ships with OpenSSL 0.9.7-beta3 30 Jul 2000
> >> (0x00907003L) and fails with this error:
> >>
> >> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I.
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins
> >> -I..
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/include
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/lib
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sasldb
> >>   -I/usr/local/include -I/usr/include/kerberosIV
> >> -I/usr/include/kerberosV -I/usr/include  -Wall -W -Wall -O2
> >> -I/usr/include/kerberosV -c
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c
> >> rm -f .libs/otp.lo
> >> cc -DHAVE_CONFIG_H -I.
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins
> >> -I..
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/include
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/lib
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sasldb
> >> -I/usr/local/include -I/usr/include/kerberosIV -I/usr/include/kerberosV
> >> -I/usr/include -Wall -W -Wall -O2 -I/usr/include/kerberosV -c
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c
> >>   -fPIC -DPIC -o .libs/otp.lo
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c:59:
> >> invalid preprocessing directive name
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> What kind of an error is that? Is the macro 'MD5_H' used elswhere in
> OpenBSD? Unfortunately, I don't have a OBSD 3.2 around to test on...
> 
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c:61:
> >> invalid preprocessing directive name
> >> *** Error code 1
> >>
> >> Stop in
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/build-i386/plugins.
> >>
> >> Adding the version check back fixes this problem.
> >> --- plugins/otp.c.orig  Tue Dec 10 01:33:54 2002
> >> +++ plugins/otp.c       Tue Dec 10 01:39:44 2002
> >> @@ -56,7 +56,9 @@
> >>   #include <openssl/evp.h>
> >>
> >>   #include <sasl.h>
> >> +#if OPENSSL_VERSION_NUMBER < 0x00907000L
> >>   #define MD5_H  /* suppress internal MD5 */
> >> +#endif
> >>   #include <saslplug.h>
> >>
> >>   #include "plugin_common.h"
> >>
> >
> >
> > Peter 'Luna' Runestig wrote:
> >>
> >> Hi all!
> >>
> >> What's the deal with this part in plugins/otp.c (2.1.8):
> >>
> >> #if OPENSSL_VERSION_NUMBER < 0x00907000L
> >> #define MD5_H  /* suppress internal MD5 */
> >> #endif
> >>
> >> As it stands, the code doesn't compile with openssl-0.9.7-beta3 (if I
> >> remove the version check, it does). Do you expect MD5 support to be
> >> dropped in future versions of openssl, or what?
> 
> Cheers,
> - Peter
> --
> Peter 'Luna' Runestig (fd. Altberg), Sweden <peter@runestig.com>
> PGP Key ID: 0xD07BBE13
> Fingerprint: 7B5C 1F48 2997 C061 DE4B  42EA CB99 A35C D07B BE13
> AOL Instant Messenger Screen name: PRunestig

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp

From owner-ietf-sasl Wed Dec 18 11:57:10 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBIJvAF08141
	for ietf-sasl-bks; Wed, 18 Dec 2002 11:57:10 -0800 (PST)
Received: from kalia.dbc.mtview.ca.us ([65.125.189.124])
	by above.proper.com (8.11.6/8.11.3) with SMTP id gBIJv9o08136
	for <ietf-sasl@imc.org>; Wed, 18 Dec 2002 11:57:09 -0800 (PST)
Received: from kalia.dbc.mtview.ca.us (localhost [127.0.0.1])
	by kalia.dbc.mtview.ca.us (8.12.6/8.12.6) with SMTP id gBIJv48Q000517;
	Wed, 18 Dec 2002 11:57:04 -0800 (PST)
Date: Wed, 18 Dec 2002 11:57:04 -0800
From: Marshall Rose <mrose@dbc.mtview.ca.us>
To: ietf-sasl@imc.org
Subject: can i get some help with the unwashed?
Message-Id: <20021218115704.6849a0b6.mrose@dbc.mtview.ca.us>
Organization: Dover Beach Consulting, Inc.
X-Mailer: Sylpheed version 0.8.3claws (GTK+ 1.2.10; )
Mime-Version: 1.0
Content-Type: multipart/mixed;
 boundary="Multipart_Wed__18_Dec_2002_11:57:04_-0800_081c6a00"
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>


This is a multi-part message in MIME format.

--Multipart_Wed__18_Dec_2002_11:57:04_-0800_081c6a00
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

hi. can some folks from this list pop over to syslog-sec@employees.org and
explain to some of the highly-opinionated new arrivals why sasl is a
good thing? my gut reaction is to write the guy off as a
mini-me-for-djb, but perhaps i should be more kind in my old age.

specifically, the ietf chartered a syslog wg some time ago. the wg
developed two specs for doing syslog, one is "reliable syslog", which is
beep-based where you pick the bells-and-whistles you want, and the other
is "signed syslog", which is udp-based with some clever crypto to
provide in-order delivery over a certain timeframe.

the folks at sdsc produced an implementation of reliable syslog and
announced it on the loganalysis@lists.shmoo.com list, where some folks
hit the roof because what got standardized doesn't match their model.

as expected, the arguments boil down to: just run tcp/ssl and it's all good.

so i try to start the education process by asking why sasl got put into the
ietf's apps if we already had tls.

the response i got back is such a discontinuity from the real world that i'm
tempted to just ignore it.  however, some folks on this list might feel a need
to bring light to the masses, so  i'm forwarding this note here.

/mtr

ps: obviously, i see the "we hate beep" stuff from time-to-time, and
frankly, i don't really care. if someone sits down and does the work,
they'll figure out why. however, since the message is specifically
about sasl, i thought i'd bring it up here...

"enjoy!"
    
/mtr

--Multipart_Wed__18_Dec_2002_11:57:04_-0800_081c6a00
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Delivery-Date: Wed, 18 Dec 2002 06:11:28 -0800
Received: from og.latency.net (postfix@og.latency.net [209.123.200.27])
	by miz-mishtal.dbc.mtview.ca.us (8.12.6/8.12.6) with ESMTP id gBIEBNdP012974
	for <mrose@dbc.mtview.ca.us>; Wed, 18 Dec 2002 06:11:24 -0800 (PST)
Received: from pic.bent.dom (localhost [127.0.0.1])
	by og.latency.net (Postfix) with ESMTP
	id 6F11E14017B; Wed, 18 Dec 2002 09:11:19 -0500 (EST)
Received: by pic.bent.dom (Postfix, from userid 500)
	id 19AFC107917; Wed, 18 Dec 2002 09:08:52 -0500 (EST)
Date: Wed, 18 Dec 2002 09:08:52 -0500
From: Bennett Todd <bet@rahul.net>
To: Marshall Rose <mrose@dbc.mtview.ca.us>
Cc: syslog-sec@employees.org
Subject: Re: Any chance for a Simple Reliable Syslog Protocol?
Message-ID: <20021218140852.GC1350@rahul.net>
References: <200212172135.gBHLZSdF014693@willers.employees.org> <20021217151143.22c94664.mrose@dbc.mtview.ca.us>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="uh9ZiVrAOUUm9fzH"
Content-Disposition: inline
In-Reply-To: <20021217151143.22c94664.mrose@dbc.mtview.ca.us>
User-Agent: Mutt/1.4i


--uh9ZiVrAOUUm9fzH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

2002-12-17-18:11:43 Marshall Rose:
> here's an interesting thought experiment: if TLS (nee SSL) is
> around, why did the IETF add SASL to all of its application
> protocols?

Errh, because the Cyrus team implemented it, and nobody was
offering a better way to stuff authentication into SMTP? The
hideous overcomplexity of SASL has been the main barrier to getting
authenticated SMTP more widely deployed. Notably, the Cyrus SASL
libraries --- the only SASL implementation available[1] --- have
been found to have security bugs in them.

> to understand the answer to this, is to understand why TLS, while
> very good at what it does, doesn't meet the requirements of many
> environments.

To understand why SMTP auth is so rarely deployed, and why so many
people are using the revolting pop-before-smtp kluge instead, is to
understand why wading off into the bright open and inventing your
own crypto protocols from scratch is best avoided.

> here are two hints: kerberized enterprises?

Haven't ever cared especially; even when I've worked in a totally
kerberized enterprise, certs were just as good for host-to-host
auth (and operationally equivalent). But now that I do a quick RFC
search, it looks like RFC 2712 describes Kerberos authentication for
TLS, so it looks like someone decided to enable the general-purpose
tool to encompass that problem.

> integrity-sans-privacy?

I'm having trouble envisioning a real motivation for that, but it
seems to be supported within TLS as it stands, BulkCipherAlgorithm
null.

> again, it's not that TLS isn't adequate, it's perfectly adequate
> and extensible for its mission. the problem is that its mission
> may not have quite the reach that a lot of folks require...

Before concluding that, it's good to make positively certain TLS
can't do the job as it stands, and that it's impractical to extend
it, before going out and re-inventing the functionality; there's a
lot of engineering benefit to re-using existing analysis and
implementation, and if the existing protocol is inadequate for a new
job, better to extend it, and thereby leave it fitted to a broader
set of tasks, then re-implementing the functionality elsewhere.

I really think the security needs of syslog are best met by just
getting it off UDP and onto TCP, whereupon it's easy to transport it
securely.

-Bennett

[1] I've heard of other SASL library implementation attempts. I
    haven't heard of any that got far enough to be a viable
    alternative to Cyrus SASL for a real application.

--uh9ZiVrAOUUm9fzH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+AIF0HZWg9mCTffwRAimIAKDDvCjXyAZOg5KrRYTXALxCeCj6YACdHA55
PlF0PipSnEIWid6hgu8sbfM=
=+xeJ
-----END PGP SIGNATURE-----

--uh9ZiVrAOUUm9fzH--

--Multipart_Wed__18_Dec_2002_11:57:04_-0800_081c6a00--

From owner-ietf-sasl Thu Dec 19 11:15:40 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBJJFeP29936
	for ietf-sasl-bks; Thu, 19 Dec 2002 11:15:40 -0800 (PST)
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJJFco29930
	for <ietf-sasl@imc.org>; Thu, 19 Dec 2002 11:15:38 -0800 (PST)
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.6/8.12.5) with ESMTP id gBJJFd0a018810
	for <ietf-sasl@imc.org>; Thu, 19 Dec 2002 19:15:39 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20021219111354.01a59db0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Thu, 19 Dec 2002 11:15:34 -0800
To: ietf-sasl@imc.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Fwd: WG Action: Simple Authentication and Security Layer (sasl)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>



>From: The IESG <iesg-secretary@ietf.org>
>To: IETF-Announce: ;
>Cc: hartmans@mit.edu, Kurt@OpenLDAP.org
>Subject: WG Action: Simple Authentication and Security Layer (sasl)
>Date: Thu, 19 Dec 2002 13:46:28 -0500
>
>
>A new working group has been formed in the Security Area of the IETF. 
>For additional information, contact the Area Directors 
>or the WG Chair.
>
>
>Simple Authentication and Security Layer (sasl)
> -----------------------------------------------
>
>   Current Status: Active Working Group
>
>   Chair(s):
>           Sam Hartman <hartmans@mit.edu>
>           K. Zeilenga <kurt@openLDAP.org>
>
>   Security Area Director(s):
>           J. Schiller <jis@mit.edu>
>           Steve Bellovin <smb@research.att.com>
>
>   Security Area Advisor:
>           J. Schiller <jis@mit.edu>
>
>   Mailing Lists: 
>           General Discussion:ietf-sasl@imc.org
>           To Subscribe: ietf-sasl-request@imc.org
>                   In Body: subscribe
>           Archive: http://www.imc.org/ietf-sasl/mail-archive/
>
> Description of Working Group:
>
>The Simple Authentication and Security Layer [RFC2222] provides key 
>security services to a number of application protocols including BEEP, 
>IMAP, LDAP, POP, and SMTP. The purpose of this working group is to 
>shepherd SASL, including select SASL mechanisms, through the Internet 
>Standards process.
>
>This group will deliver a revised SASL Technical Specification 
>suitable for consideration as a Draft Standard. This work will be 
>based upon RFC 2222 and draft-myers-saslrev.
>
>This group will deliver revised Technical Specifications suitable for 
>consideration as Draft Standards for the following SASL mechanisms: 
>ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, and EXTERNAL. This work will 
>be based upon RFC 2195, RFC 2222, RFC 2831, draft-zeilenga-sasl-anon, 
>draft-zeilenga-sasl-plain, draft-nerenberg-sasl-crammd5 and 
>draft-melnikov-rfc2831bis, and draft-myers-saslrev-xx.txt.
>
>This group will deliver a revised Technical Specification suitable for 
>publication as Proposed Standard for the GSSAPI family of SASL 
>mechanisms. This work will be based upon RFC 2222 and 
>draft-ietf-cat-sasl-gssapi.
>
>The following areas are not within the scope of work of this WG:
>
>- new features,
>- SASL Mechanisms not specifically mentioned above, and
>- SASL "profiles".
>
>However, the SASL WG is an acceptable forum for review of SASL-related 
>submissions produced by others as long as such review does not impede 
>progress on the WG objectives listed above.
>
>Goals and Milestones:
>
>JAN 03 Submit revised SASL (+ EXTERNAL) I-D 
>
>JAN 03 Submit revised SASL ANONYMOUS I-D 
>
>JAN 03 Submit revised SASL PLAIN I-D 
>
>JAN 03 Submit revised SASL CRAM-MD5 I-D 
>
>JAN 03 Submit revised SASL DIGEST-MD5 I-D 
>
>JAN 03 Submit revised SASL GSSAPI I-D 
>
>JUN 03 Submit Implementation Report 
>
>JUL 03 Submit revised SASL, CRAM-MD5, DIGEST-MD5 I-Ds with 
>        Implementation Report to IESG for consideration as a Draft 
>        Standard 
>
>JUL 03 Submit revised SASL GSSAPI I-D to IESG for consideration as 
>        a Proposed Standard 
>
>AUG 03 Revise charter or conclude 


From owner-ietf-sasl Thu Dec 19 11:24:47 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBJJOlU01593
	for ietf-sasl-bks; Thu, 19 Dec 2002 11:24:47 -0800 (PST)
Received: from delenn.fl.net.au (int-mail.syd.fl.net.au [202.181.0.28])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJJOjo01586
	for <ietf-sasl@imc.org>; Thu, 19 Dec 2002 11:24:45 -0800 (PST)
Received: from solomon (a5-p39.syd.fl.net.au [202.181.2.39])
	by delenn.fl.net.au (Postfix) with ESMTP
	id 701C718044B; Fri, 20 Dec 2002 06:30:20 +1100 (EST)
Content-Type: text/plain;
  charset="utf-8"
From: "Raif S. Naffah" <raif@fl.net.au>
Reply-To: raif@fl.net.au
To: The IESG <iesg-secretary@ietf.org>, IETF-Announce: ;, @solomon.fl.net.au
Subject: Re: WG Action: Simple Authentication and Security Layer (sasl)
Date: Fri, 20 Dec 2002 06:25:35 +1100
User-Agent: KMail/1.4.3
Cc: hartmans@mit.edu, Kurt@OpenLDAP.org, ietf-sasl@imc.org,
   keith@rucus.ru.ac.za
References: <200212191846.NAA23233@ietf.org>
In-Reply-To: <200212191846.NAA23233@ietf.org>
MIME-Version: 1.0
Message-Id: <200212200625.42665.raif@fl.net.au>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id gBJJOko01588
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Friday 20 December 2002 05:46, The IESG wrote:
> A new working group has been formed in the Security Area of the IETF.
> For additional information, contact the Area Directors
> or the WG Chair.
> ...
>  Description of Working Group:
> ...
> This group will deliver a revised SASL Technical Specification
> suitable for consideration as a Draft Standard. This work will be
> based upon RFC 2222 and draft-myers-saslrev.
>
> This group will deliver revised Technical Specifications suitable for
> consideration as Draft Standards for the following SASL mechanisms:
> ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, and EXTERNAL. This work will
> be based upon RFC 2195, RFC 2222, RFC 2831, draft-zeilenga-sasl-anon,
> draft-zeilenga-sasl-plain, draft-nerenberg-sasl-crammd5 and
> draft-melnikov-rfc2831bis, and draft-myers-saslrev-xx.txt.
>
> This group will deliver a revised Technical Specification suitable
> for publication as Proposed Standard for the GSSAPI family of SASL
> mechanisms. This work will be based upon RFC 2222 and
> draft-ietf-cat-sasl-gssapi.

in the proposal for the creation of this WG, there was an additional 
objective:

> Message-Id: <200212060011.TAA05743@ietf.org>
> From: The IESG <iesg-secretary@ietf.org>
> To: IETF-Announce: ;
> Subject: WG Review:  Simple Authentication and Security Layer (sasl)
> Date: Thu, 05 Dec 2002 19:11:53 -0500
> ...
> This group will deliver a Technical Specification suitable for
> publication as Proposed Standard describing a family of SASL
> mechanisms using the Secure Remote Password [RFC2945] protocol.  This
> work will be based upon draft-burdis-cat-srp-sasl.

why this is not part of the deliverables of this WG anymore?


cheers;
rsn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Que du magnifique

iD8DBQE+Ah0w+e1AKnsTRiERA8f0AKDXyy8Clu6cJXvTNldmqiDGhVYxGgCg7lGL
tYe1fJ2P+XNxwnfTcUQr3IU=
=S9Ei
-----END PGP SIGNATURE-----


From owner-ietf-sasl Thu Dec 19 15:55:15 2002
Received: (from majordomo@localhost)
	by above.proper.com (8.11.6/8.11.3) id gBJNtFD24582
	for ietf-sasl-bks; Thu, 19 Dec 2002 15:55:15 -0800 (PST)
Received: from konishi-polis.mit.edu (cs6625131-84.austin.rr.com [66.25.131.84])
	by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJNtEo24577
	for <ietf-sasl@imc.org>; Thu, 19 Dec 2002 15:55:14 -0800 (PST)
Received: by konishi-polis.mit.edu (Postfix, from userid 8042)
	id A2AE6152232; Thu, 19 Dec 2002 18:55:18 -0500 (EST)
To: raif@fl.net.au
Cc: ietf-sasl@imc.org
Subject: Re: WG Action: Simple Authentication and Security Layer (sasl)
References: <200212191846.NAA23233@ietf.org>
	<200212200625.42665.raif@fl.net.au>
From: Sam Hartman <hartmans@mit.edu>
Date: Thu, 19 Dec 2002 18:55:18 -0500
In-Reply-To: <200212200625.42665.raif@fl.net.au> ("Raif S. Naffah"'s message
 of "Fri, 20 Dec 2002 06:25:35 +1100")
Message-ID: <tsladj1o97d.fsf@mit.edu>
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2
 (i386-debian-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>


>>>>> "Raif" == Raif S Naffah <raif@fl.net.au> writes:

    Raif> why this is not part of the deliverables of this WG anymore?

Jeff indicated that because of intellectual property concerns the IESG
believes we should not include SRP in the set of documents we produce.


Note that people can still work on a SRP mechanism as an individual
submission and can ask the members of this list to review it.


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBJNtFD24582 for ietf-sasl-bks; Thu, 19 Dec 2002 15:55:15 -0800 (PST)
Received: from konishi-polis.mit.edu (cs6625131-84.austin.rr.com [66.25.131.84]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJNtEo24577 for <ietf-sasl@imc.org>; Thu, 19 Dec 2002 15:55:14 -0800 (PST)
Received: by konishi-polis.mit.edu (Postfix, from userid 8042) id A2AE6152232; Thu, 19 Dec 2002 18:55:18 -0500 (EST)
To: raif@fl.net.au
Cc: ietf-sasl@imc.org
Subject: Re: WG Action: Simple Authentication and Security Layer (sasl)
References: <200212191846.NAA23233@ietf.org> <200212200625.42665.raif@fl.net.au>
From: Sam Hartman <hartmans@mit.edu>
Date: Thu, 19 Dec 2002 18:55:18 -0500
In-Reply-To: <200212200625.42665.raif@fl.net.au> ("Raif S. Naffah"'s message of "Fri, 20 Dec 2002 06:25:35 +1100")
Message-ID: <tsladj1o97d.fsf@mit.edu>
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

>>>>> "Raif" == Raif S Naffah <raif@fl.net.au> writes:

    Raif> why this is not part of the deliverables of this WG anymore?

Jeff indicated that because of intellectual property concerns the IESG
believes we should not include SRP in the set of documents we produce.


Note that people can still work on a SRP mechanism as an individual
submission and can ask the members of this list to review it.


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBJJOlU01593 for ietf-sasl-bks; Thu, 19 Dec 2002 11:24:47 -0800 (PST)
Received: from delenn.fl.net.au (int-mail.syd.fl.net.au [202.181.0.28]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJJOjo01586 for <ietf-sasl@imc.org>; Thu, 19 Dec 2002 11:24:45 -0800 (PST)
Received: from solomon (a5-p39.syd.fl.net.au [202.181.2.39]) by delenn.fl.net.au (Postfix) with ESMTP id 701C718044B; Fri, 20 Dec 2002 06:30:20 +1100 (EST)
Content-Type: text/plain; charset="utf-8"
From: "Raif S. Naffah" <raif@fl.net.au>
Reply-To: raif@fl.net.au
To: The IESG <iesg-secretary@ietf.org>, IETF-Announce: ;, @solomon.fl.net.au
Subject: Re: WG Action: Simple Authentication and Security Layer (sasl)
Date: Fri, 20 Dec 2002 06:25:35 +1100
User-Agent: KMail/1.4.3
Cc: hartmans@mit.edu, Kurt@OpenLDAP.org, ietf-sasl@imc.org, keith@rucus.ru.ac.za
References: <200212191846.NAA23233@ietf.org>
In-Reply-To: <200212191846.NAA23233@ietf.org>
MIME-Version: 1.0
Message-Id: <200212200625.42665.raif@fl.net.au>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by above.proper.com id gBJJOko01588
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Friday 20 December 2002 05:46, The IESG wrote:
> A new working group has been formed in the Security Area of the IETF.
> For additional information, contact the Area Directors
> or the WG Chair.
> ...
>  Description of Working Group:
> ...
> This group will deliver a revised SASL Technical Specification
> suitable for consideration as a Draft Standard. This work will be
> based upon RFC 2222 and draft-myers-saslrev.
>
> This group will deliver revised Technical Specifications suitable for
> consideration as Draft Standards for the following SASL mechanisms:
> ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, and EXTERNAL. This work will
> be based upon RFC 2195, RFC 2222, RFC 2831, draft-zeilenga-sasl-anon,
> draft-zeilenga-sasl-plain, draft-nerenberg-sasl-crammd5 and
> draft-melnikov-rfc2831bis, and draft-myers-saslrev-xx.txt.
>
> This group will deliver a revised Technical Specification suitable
> for publication as Proposed Standard for the GSSAPI family of SASL
> mechanisms. This work will be based upon RFC 2222 and
> draft-ietf-cat-sasl-gssapi.

in the proposal for the creation of this WG, there was an additional 
objective:

> Message-Id: <200212060011.TAA05743@ietf.org>
> From: The IESG <iesg-secretary@ietf.org>
> To: IETF-Announce: ;
> Subject: WG Review:  Simple Authentication and Security Layer (sasl)
> Date: Thu, 05 Dec 2002 19:11:53 -0500
> ...
> This group will deliver a Technical Specification suitable for
> publication as Proposed Standard describing a family of SASL
> mechanisms using the Secure Remote Password [RFC2945] protocol.  This
> work will be based upon draft-burdis-cat-srp-sasl.

why this is not part of the deliverables of this WG anymore?


cheers;
rsn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Que du magnifique

iD8DBQE+Ah0w+e1AKnsTRiERA8f0AKDXyy8Clu6cJXvTNldmqiDGhVYxGgCg7lGL
tYe1fJ2P+XNxwnfTcUQr3IU=
=S9Ei
-----END PGP SIGNATURE-----



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBJJFeP29936 for ietf-sasl-bks; Thu, 19 Dec 2002 11:15:40 -0800 (PST)
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBJJFco29930 for <ietf-sasl@imc.org>; Thu, 19 Dec 2002 11:15:38 -0800 (PST)
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1]) by pretender.boolean.net (8.12.6/8.12.5) with ESMTP id gBJJFd0a018810 for <ietf-sasl@imc.org>; Thu, 19 Dec 2002 19:15:39 GMT (envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20021219111354.01a59db0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Thu, 19 Dec 2002 11:15:34 -0800
To: ietf-sasl@imc.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Fwd: WG Action: Simple Authentication and Security Layer (sasl)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

>From: The IESG <iesg-secretary@ietf.org>
>To: IETF-Announce: ;
>Cc: hartmans@mit.edu, Kurt@OpenLDAP.org
>Subject: WG Action: Simple Authentication and Security Layer (sasl)
>Date: Thu, 19 Dec 2002 13:46:28 -0500
>
>
>A new working group has been formed in the Security Area of the IETF. 
>For additional information, contact the Area Directors 
>or the WG Chair.
>
>
>Simple Authentication and Security Layer (sasl)
> -----------------------------------------------
>
>   Current Status: Active Working Group
>
>   Chair(s):
>           Sam Hartman <hartmans@mit.edu>
>           K. Zeilenga <kurt@openLDAP.org>
>
>   Security Area Director(s):
>           J. Schiller <jis@mit.edu>
>           Steve Bellovin <smb@research.att.com>
>
>   Security Area Advisor:
>           J. Schiller <jis@mit.edu>
>
>   Mailing Lists: 
>           General Discussion:ietf-sasl@imc.org
>           To Subscribe: ietf-sasl-request@imc.org
>                   In Body: subscribe
>           Archive: http://www.imc.org/ietf-sasl/mail-archive/
>
> Description of Working Group:
>
>The Simple Authentication and Security Layer [RFC2222] provides key 
>security services to a number of application protocols including BEEP, 
>IMAP, LDAP, POP, and SMTP. The purpose of this working group is to 
>shepherd SASL, including select SASL mechanisms, through the Internet 
>Standards process.
>
>This group will deliver a revised SASL Technical Specification 
>suitable for consideration as a Draft Standard. This work will be 
>based upon RFC 2222 and draft-myers-saslrev.
>
>This group will deliver revised Technical Specifications suitable for 
>consideration as Draft Standards for the following SASL mechanisms: 
>ANONYMOUS, PLAIN, CRAM-MD5, DIGEST-MD5, and EXTERNAL. This work will 
>be based upon RFC 2195, RFC 2222, RFC 2831, draft-zeilenga-sasl-anon, 
>draft-zeilenga-sasl-plain, draft-nerenberg-sasl-crammd5 and 
>draft-melnikov-rfc2831bis, and draft-myers-saslrev-xx.txt.
>
>This group will deliver a revised Technical Specification suitable for 
>publication as Proposed Standard for the GSSAPI family of SASL 
>mechanisms. This work will be based upon RFC 2222 and 
>draft-ietf-cat-sasl-gssapi.
>
>The following areas are not within the scope of work of this WG:
>
>- new features,
>- SASL Mechanisms not specifically mentioned above, and
>- SASL "profiles".
>
>However, the SASL WG is an acceptable forum for review of SASL-related 
>submissions produced by others as long as such review does not impede 
>progress on the WG objectives listed above.
>
>Goals and Milestones:
>
>JAN 03 Submit revised SASL (+ EXTERNAL) I-D 
>
>JAN 03 Submit revised SASL ANONYMOUS I-D 
>
>JAN 03 Submit revised SASL PLAIN I-D 
>
>JAN 03 Submit revised SASL CRAM-MD5 I-D 
>
>JAN 03 Submit revised SASL DIGEST-MD5 I-D 
>
>JAN 03 Submit revised SASL GSSAPI I-D 
>
>JUN 03 Submit Implementation Report 
>
>JUL 03 Submit revised SASL, CRAM-MD5, DIGEST-MD5 I-Ds with 
>        Implementation Report to IESG for consideration as a Draft 
>        Standard 
>
>JUL 03 Submit revised SASL GSSAPI I-D to IESG for consideration as 
>        a Proposed Standard 
>
>AUG 03 Revise charter or conclude 



Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBIJvAF08141 for ietf-sasl-bks; Wed, 18 Dec 2002 11:57:10 -0800 (PST)
Received: from kalia.dbc.mtview.ca.us ([65.125.189.124]) by above.proper.com (8.11.6/8.11.3) with SMTP id gBIJv9o08136 for <ietf-sasl@imc.org>; Wed, 18 Dec 2002 11:57:09 -0800 (PST)
Received: from kalia.dbc.mtview.ca.us (localhost [127.0.0.1]) by kalia.dbc.mtview.ca.us (8.12.6/8.12.6) with SMTP id gBIJv48Q000517; Wed, 18 Dec 2002 11:57:04 -0800 (PST)
Date: Wed, 18 Dec 2002 11:57:04 -0800
From: Marshall Rose <mrose@dbc.mtview.ca.us>
To: ietf-sasl@imc.org
Subject: can i get some help with the unwashed?
Message-Id: <20021218115704.6849a0b6.mrose@dbc.mtview.ca.us>
Organization: Dover Beach Consulting, Inc.
X-Mailer: Sylpheed version 0.8.3claws (GTK+ 1.2.10; )
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="Multipart_Wed__18_Dec_2002_11:57:04_-0800_081c6a00"
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

This is a multi-part message in MIME format.

--Multipart_Wed__18_Dec_2002_11:57:04_-0800_081c6a00
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

hi. can some folks from this list pop over to syslog-sec@employees.org and
explain to some of the highly-opinionated new arrivals why sasl is a
good thing? my gut reaction is to write the guy off as a
mini-me-for-djb, but perhaps i should be more kind in my old age.

specifically, the ietf chartered a syslog wg some time ago. the wg
developed two specs for doing syslog, one is "reliable syslog", which is
beep-based where you pick the bells-and-whistles you want, and the other
is "signed syslog", which is udp-based with some clever crypto to
provide in-order delivery over a certain timeframe.

the folks at sdsc produced an implementation of reliable syslog and
announced it on the loganalysis@lists.shmoo.com list, where some folks
hit the roof because what got standardized doesn't match their model.

as expected, the arguments boil down to: just run tcp/ssl and it's all good.

so i try to start the education process by asking why sasl got put into the
ietf's apps if we already had tls.

the response i got back is such a discontinuity from the real world that i'm
tempted to just ignore it.  however, some folks on this list might feel a need
to bring light to the masses, so  i'm forwarding this note here.

/mtr

ps: obviously, i see the "we hate beep" stuff from time-to-time, and
frankly, i don't really care. if someone sits down and does the work,
they'll figure out why. however, since the message is specifically
about sasl, i thought i'd bring it up here...

"enjoy!"
    
/mtr

--Multipart_Wed__18_Dec_2002_11:57:04_-0800_081c6a00
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Delivery-Date: Wed, 18 Dec 2002 06:11:28 -0800
Received: from og.latency.net (postfix@og.latency.net [209.123.200.27])
	by miz-mishtal.dbc.mtview.ca.us (8.12.6/8.12.6) with ESMTP id gBIEBNdP012974
	for <mrose@dbc.mtview.ca.us>; Wed, 18 Dec 2002 06:11:24 -0800 (PST)
Received: from pic.bent.dom (localhost [127.0.0.1])
	by og.latency.net (Postfix) with ESMTP
	id 6F11E14017B; Wed, 18 Dec 2002 09:11:19 -0500 (EST)
Received: by pic.bent.dom (Postfix, from userid 500)
	id 19AFC107917; Wed, 18 Dec 2002 09:08:52 -0500 (EST)
Date: Wed, 18 Dec 2002 09:08:52 -0500
From: Bennett Todd <bet@rahul.net>
To: Marshall Rose <mrose@dbc.mtview.ca.us>
Cc: syslog-sec@employees.org
Subject: Re: Any chance for a Simple Reliable Syslog Protocol?
Message-ID: <20021218140852.GC1350@rahul.net>
References: <200212172135.gBHLZSdF014693@willers.employees.org> <20021217151143.22c94664.mrose@dbc.mtview.ca.us>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="uh9ZiVrAOUUm9fzH"
Content-Disposition: inline
In-Reply-To: <20021217151143.22c94664.mrose@dbc.mtview.ca.us>
User-Agent: Mutt/1.4i


--uh9ZiVrAOUUm9fzH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

2002-12-17-18:11:43 Marshall Rose:
> here's an interesting thought experiment: if TLS (nee SSL) is
> around, why did the IETF add SASL to all of its application
> protocols?

Errh, because the Cyrus team implemented it, and nobody was
offering a better way to stuff authentication into SMTP? The
hideous overcomplexity of SASL has been the main barrier to getting
authenticated SMTP more widely deployed. Notably, the Cyrus SASL
libraries --- the only SASL implementation available[1] --- have
been found to have security bugs in them.

> to understand the answer to this, is to understand why TLS, while
> very good at what it does, doesn't meet the requirements of many
> environments.

To understand why SMTP auth is so rarely deployed, and why so many
people are using the revolting pop-before-smtp kluge instead, is to
understand why wading off into the bright open and inventing your
own crypto protocols from scratch is best avoided.

> here are two hints: kerberized enterprises?

Haven't ever cared especially; even when I've worked in a totally
kerberized enterprise, certs were just as good for host-to-host
auth (and operationally equivalent). But now that I do a quick RFC
search, it looks like RFC 2712 describes Kerberos authentication for
TLS, so it looks like someone decided to enable the general-purpose
tool to encompass that problem.

> integrity-sans-privacy?

I'm having trouble envisioning a real motivation for that, but it
seems to be supported within TLS as it stands, BulkCipherAlgorithm
null.

> again, it's not that TLS isn't adequate, it's perfectly adequate
> and extensible for its mission. the problem is that its mission
> may not have quite the reach that a lot of folks require...

Before concluding that, it's good to make positively certain TLS
can't do the job as it stands, and that it's impractical to extend
it, before going out and re-inventing the functionality; there's a
lot of engineering benefit to re-using existing analysis and
implementation, and if the existing protocol is inadequate for a new
job, better to extend it, and thereby leave it fitted to a broader
set of tasks, then re-implementing the functionality elsewhere.

I really think the security needs of syslog are best met by just
getting it off UDP and onto TCP, whereupon it's easy to transport it
securely.

-Bennett

[1] I've heard of other SASL library implementation attempts. I
    haven't heard of any that got far enough to be a viable
    alternative to Cyrus SASL for a real application.

--uh9ZiVrAOUUm9fzH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+AIF0HZWg9mCTffwRAimIAKDDvCjXyAZOg5KrRYTXALxCeCj6YACdHA55
PlF0PipSnEIWid6hgu8sbfM=
=+xeJ
-----END PGP SIGNATURE-----

--uh9ZiVrAOUUm9fzH--

--Multipart_Wed__18_Dec_2002_11:57:04_-0800_081c6a00--


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBAEG5u25197 for ietf-sasl-bks; Tue, 10 Dec 2002 06:16:05 -0800 (PST)
Received: from eagle.oceana.com ([208.17.123.12]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBAEG2E25192 for <ietf-sasl@imc.org>; Tue, 10 Dec 2002 06:16:02 -0800 (PST)
Received: from oceana.com (KEN.oceana.com [192.168.10.26]) by eagle.oceana.com (8.12.6/8.12.6) with ESMTP id gBAEFEdU021335; Tue, 10 Dec 2002 09:15:14 -0500
Message-ID: <3DF5F72C.EA63E946@oceana.com>
Date: Tue, 10 Dec 2002 09:16:12 -0500
From: Ken Murchison <ken@oceana.com>
Organization: Oceana Matrix Ltd.
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: "Peter 'Luna' Runestig" <peter+cyrus@runestig.com>
CC: Hack Kampbjorn <cyrus-info@hack.kampbjorn.com>, info-cyrus@lists.andrew.cmu.edu, Cyrus SASL Mailing List <cyrus-sasl@andrew.cmu.edu>
Subject: Re: OPENSSL_VERSION_NUMBER (Was: Cyrus SASL 2.1.10 Released)
References: <Pine.LNX.4.50L-028.0212091145260.26504-100000@gobo.andrew.cmu.edu> <3DF52CC4.8040806@hack.kampbjorn.com> <3DF54E13.1090800@hack.kampbjorn.com> <3DF5642B.FD399872@oceana.com> <3DF5A407.2070409@runestig.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

Oops!

I pulled the wrong SASL address out of my address book.  Please do not
send any more replies to ietf-sasl.

Ken



Peter 'Luna' Runestig wrote:
> 
> Ken Murchison wrote:
> > OK.  I now have two conflicting reports regarding testing for
> > OPENSSL_VERSION_NUMBER with OpenSSL 0.9.7 (both quoted below).  Could
> > somebody who has 0.9.7 installed please try to figure out what the deal
> > is?  I tend to believe that I was originally correct in including the
> > check,
> 
> Back to my original question then: why? Why treat OpenSSL version 0.9.7
> and above different than the previous versions? Is there any change in
> the MD5 code between those versions (I don't think so, not anything that
> affects this issue anyway)?
> 
> Anyway, here's what happens to me, if 'MD5_H' isn't defined:
> 
> $ ./configure --with-openssl=/usr/local
> [tweak the Makefiles to make Kerberos somewhat compile (RH 7.2)]
> [snip a lot of other output]
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -I/usr/kerberos/include -I/usr/kerberos/include/kerberosIV -I../include
> -I../lib -I../sasldb  -I/usr/local/include -I/usr/local/include  -Wall
> -W -Wall -g -O2 -c otp.c
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kerberos/include
> -I/usr/kerberos/include/kerberosIV -I../include -I../lib -I../sasldb
> -I/usr/local/include -I/usr/local/include -Wall -W -Wall -g -O2 -c otp.c
>   -fPIC -DPIC -o otp.lo
> In file included from ../include/saslplug.h:11,
>                   from otp.c:60:
> ../include/md5.h:30: conflicting types for `MD5_CTX'
> /usr/local/include/openssl/md5.h:103: previous declaration of `MD5_CTX'
> make[2]: *** [otp.lo] Error 1
> 
> Yes, the name 'MD5_CTX' is used in both OpenSSL and SASL "native" MD5,
> so that clash was sure to come.
> 
> > and I'm confused as to why it doesn't work for Peter using the
> > same release as Hack.
> 
> So am I! But I have another remark further down here:
> 
> > Ken
> >
> >
> > Hack Kampbjorn wrote:
> >>
> >> More problems: with cyrus-sasl version 2.1.9 plugins/otp.c only defined
> >> MD5_H for OpenSSL versions < 0.9.7 but in version 2.1.10 the check is
> >> removed. OpenBSD 3.2 ships with OpenSSL 0.9.7-beta3 30 Jul 2000
> >> (0x00907003L) and fails with this error:
> >>
> >> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I.
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins
> >> -I..
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/include
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/lib
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sasldb
> >>   -I/usr/local/include -I/usr/include/kerberosIV
> >> -I/usr/include/kerberosV -I/usr/include  -Wall -W -Wall -O2
> >> -I/usr/include/kerberosV -c
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c
> >> rm -f .libs/otp.lo
> >> cc -DHAVE_CONFIG_H -I.
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins
> >> -I..
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/include
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/lib
> >> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sasldb
> >> -I/usr/local/include -I/usr/include/kerberosIV -I/usr/include/kerberosV
> >> -I/usr/include -Wall -W -Wall -O2 -I/usr/include/kerberosV -c
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c
> >>   -fPIC -DPIC -o .libs/otp.lo
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c:59:
> >> invalid preprocessing directive name
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> What kind of an error is that? Is the macro 'MD5_H' used elswhere in
> OpenBSD? Unfortunately, I don't have a OBSD 3.2 around to test on...
> 
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c:61:
> >> invalid preprocessing directive name
> >> *** Error code 1
> >>
> >> Stop in
> >> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/build-i386/plugins.
> >>
> >> Adding the version check back fixes this problem.
> >> --- plugins/otp.c.orig  Tue Dec 10 01:33:54 2002
> >> +++ plugins/otp.c       Tue Dec 10 01:39:44 2002
> >> @@ -56,7 +56,9 @@
> >>   #include <openssl/evp.h>
> >>
> >>   #include <sasl.h>
> >> +#if OPENSSL_VERSION_NUMBER < 0x00907000L
> >>   #define MD5_H  /* suppress internal MD5 */
> >> +#endif
> >>   #include <saslplug.h>
> >>
> >>   #include "plugin_common.h"
> >>
> >
> >
> > Peter 'Luna' Runestig wrote:
> >>
> >> Hi all!
> >>
> >> What's the deal with this part in plugins/otp.c (2.1.8):
> >>
> >> #if OPENSSL_VERSION_NUMBER < 0x00907000L
> >> #define MD5_H  /* suppress internal MD5 */
> >> #endif
> >>
> >> As it stands, the code doesn't compile with openssl-0.9.7-beta3 (if I
> >> remove the version check, it does). Do you expect MD5 support to be
> >> dropped in future versions of openssl, or what?
> 
> Cheers,
> - Peter
> --
> Peter 'Luna' Runestig (fd. Altberg), Sweden <peter@runestig.com>
> PGP Key ID: 0xD07BBE13
> Fingerprint: 7B5C 1F48 2997 C061 DE4B  42EA CB99 A35C D07B BE13
> AOL Instant Messenger Screen name: PRunestig

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gBA3ntK24649 for ietf-sasl-bks; Mon, 9 Dec 2002 19:49:55 -0800 (PST)
Received: from eagle.oceana.com ([208.17.123.12]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gBA3npE24640 for <ietf-sasl@imc.org>; Mon, 9 Dec 2002 19:49:51 -0800 (PST)
Received: from oceana.com (ny-kenton4a-6.buf.adelphia.net [24.51.28.6]) (authenticated bits=0) by eagle.oceana.com (8.12.6/8.12.6) with ESMTP id gBA3n1dV012240 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT); Mon, 9 Dec 2002 22:49:02 -0500
Message-ID: <3DF5642B.FD399872@oceana.com>
Date: Mon, 09 Dec 2002 22:48:59 -0500
From: Ken Murchison <ken@oceana.com>
Organization: Oceana Matrix Ltd.
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Hack Kampbjorn <cyrus-info@hack.kampbjorn.com>, "Peter 'Luna' Runestig" <peter+cyrus@runestig.com>
CC: info-cyrus@lists.andrew.cmu.edu, SASL mailing list <ietf-sasl@imc.org>
Subject: Re: OPENSSL_VERSION_NUMBER (Was: Cyrus SASL 2.1.10 Released)
References: <Pine.LNX.4.50L-028.0212091145260.26504-100000@gobo.andrew.cmu.edu> <3DF52CC4.8040806@hack.kampbjorn.com> <3DF54E13.1090800@hack.kampbjorn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

OK.  I now have two conflicting reports regarding testing for
OPENSSL_VERSION_NUMBER with OpenSSL 0.9.7 (both quoted below).  Could
somebody who has 0.9.7 installed please try to figure out what the deal
is?  I tend to believe that I was originally correct in including the
check, and I'm confused as to why it doesn't work for Peter using the
same release as Hack.

Ken


Hack Kampbjorn wrote:
> 
> More problems: with cyrus-sasl version 2.1.9 plugins/otp.c only defined
> MD5_H for OpenSSL versions < 0.9.7 but in version 2.1.10 the check is
> removed. OpenBSD 3.2 ships with OpenSSL 0.9.7-beta3 30 Jul 2000
> (0x00907003L) and fails with this error:
> 
> /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I.
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins
> -I..
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/include
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/lib
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sasldb
>   -I/usr/local/include -I/usr/include/kerberosIV
> -I/usr/include/kerberosV -I/usr/include  -Wall -W -Wall -O2
> -I/usr/include/kerberosV -c
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c
> rm -f .libs/otp.lo
> cc -DHAVE_CONFIG_H -I.
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins
> -I..
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/include
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/lib
> -I/usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/sasldb
> -I/usr/local/include -I/usr/include/kerberosIV -I/usr/include/kerberosV
> -I/usr/include -Wall -W -Wall -O2 -I/usr/include/kerberosV -c
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c
>   -fPIC -DPIC -o .libs/otp.lo
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c:59:
> invalid preprocessing directive name
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/cyrus-sasl-2.1.10/plugins/otp.c:61:
> invalid preprocessing directive name
> *** Error code 1
> 
> Stop in
> /usr/ports/security/cyrus-sasl2/w-cyrus-sasl-2.1.10/build-i386/plugins.
> 
> Adding the version check back fixes this problem.
> --- plugins/otp.c.orig  Tue Dec 10 01:33:54 2002
> +++ plugins/otp.c       Tue Dec 10 01:39:44 2002
> @@ -56,7 +56,9 @@
>   #include <openssl/evp.h>
> 
>   #include <sasl.h>
> +#if OPENSSL_VERSION_NUMBER < 0x00907000L
>   #define MD5_H  /* suppress internal MD5 */
> +#endif
>   #include <saslplug.h>
> 
>   #include "plugin_common.h"
> 


Peter 'Luna' Runestig wrote:
> 
> Hi all!
> 
> What's the deal with this part in plugins/otp.c (2.1.8):
> 
> #if OPENSSL_VERSION_NUMBER < 0x00907000L
> #define MD5_H  /* suppress internal MD5 */
> #endif
> 
> As it stands, the code doesn't compile with openssl-0.9.7-beta3 (if I
> remove the version check, it does). Do you expect MD5 support to be
> dropped in future versions of openssl, or what?

-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp


Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id gB84o4O16227 for ietf-sasl-bks; Sat, 7 Dec 2002 20:50:04 -0800 (PST)
Received: from konishi-polis.mit.edu (STRATTON-ONE-NINETY-SIX.MIT.EDU [18.187.5.196]) by above.proper.com (8.11.6/8.11.3) with ESMTP id gB84o1g16220 for <ietf-sasl@imc.org>; Sat, 7 Dec 2002 20:50:02 -0800 (PST)
Received: by konishi-polis.mit.edu (Postfix, from userid 8042) id 78C34151F11; Sat,  7 Dec 2002 23:50:06 -0500 (EST)
To: lukeh@PADL.COM
Cc: mel@messagingdirect.com, ietf-sasl@imc.org
Subject: Re: GSS-SPNEGO
References: <200211290352.OAA29035@au.padl.com> <3DE75027.EB158373@messagingdirect.com> <200211300618.RAA38612@au.padl.com>
From: Sam Hartman <hartmans@mit.edu>
Date: Sat, 07 Dec 2002 23:50:06 -0500
In-Reply-To: <200211300618.RAA38612@au.padl.com> (Luke Howard's message of "Sat, 30 Nov 2002 17:18:10 +1100")
Message-ID: <tsl4r9p3yip.fsf@konishi-polis.mit.edu>
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-ietf-sasl@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-sasl/mail-archive/>
List-ID: <ietf-sasl.imc.org>
List-Unsubscribe: <mailto:ietf-sasl-request@imc.org?body=unsubscribe>

Are there any situations where you actually need to use SPNEGO with
GSS in order to interoperate with Microsoft clients or servers?

