* ppp 2.4.4 eap-tls patch
@ 2006-07-25 10:19 Jan Just Keijser
2006-07-25 11:04 ` James Cameron
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Jan Just Keijser @ 2006-07-25 10:19 UTC (permalink / raw)
To: linux-ppp
hi all,
based on Beniamino Galvani's work ( <bengal@interfree.it
<mailto:bengal@interfree.it>> ) I have created a patch for ppp 2.44 to
allow EAP-TLS authentication (RFC2716), both in client and server mode,
including MPPE 40/128 bit encryption. You can find the patch on
http://www.nikhef.nl/~janjust/ppp/ppp-2.4.4-eaptls-mppe-0.9.patch
<http://www.nikhef.nl/%7Ejanjust/ppp/ppp-2.4.4-eaptls-mppe-0.9.patch>
The patched code is marked by #ifdef USE_EAPTLS blocks. This allows me
to enable or disable it in the Makefiles using
USE_EAPTLS=y|n
respectively.
I have tested the patch on Linux acting as a server, with Windows 2000
and XP clients as well as a Linux client with the same patch applied.
share and enjoy,
JJK / Jan Just Keijser
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp 2.4.4 eap-tls patch
2006-07-25 10:19 ppp 2.4.4 eap-tls patch Jan Just Keijser
@ 2006-07-25 11:04 ` James Cameron
2006-07-25 11:31 ` Marco d'Itri
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: James Cameron @ 2006-07-25 11:04 UTC (permalink / raw)
To: linux-ppp
[-- Attachment #1: Type: text/plain, Size: 630 bytes --]
Thanks, I've asked the pptp and pptpd mailing lists for test reports,
since there have been some requests for EAP-TLS support.
You've used OpenSSL, which has a license that is not altogether open,
specifically clause 6 which requires acknowledgement. Is there any
reason why you couldn't use MatrixSSL?
The OpenWrt project already ships MatrixSSL, and I can see this EAP-TLS
support being useful in OpenWrt.
--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp 2.4.4 eap-tls patch
2006-07-25 10:19 ppp 2.4.4 eap-tls patch Jan Just Keijser
2006-07-25 11:04 ` James Cameron
@ 2006-07-25 11:31 ` Marco d'Itri
2006-07-25 11:46 ` Jan Just Keijser
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Marco d'Itri @ 2006-07-25 11:31 UTC (permalink / raw)
To: linux-ppp
[-- Attachment #1: Type: text/plain, Size: 617 bytes --]
On Jul 25, James Cameron <james.cameron@hp.com> wrote:
> You've used OpenSSL, which has a license that is not altogether open,
> specifically clause 6 which requires acknowledgement. Is there any
> reason why you couldn't use MatrixSSL?
I would hate to see EAP-TLS depend on a niche license.
I do not think I would enable EAP-TLS in the Debian package in this case
since it would require pulling the MatrixSSL package in the base system.
If you do not like the advertisement clause in the OpenSSL license there
is libgnutls which is LGPL'ed and widely used (and has a sane API...).
--
ciao,
Marco
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp 2.4.4 eap-tls patch
2006-07-25 10:19 ppp 2.4.4 eap-tls patch Jan Just Keijser
2006-07-25 11:04 ` James Cameron
2006-07-25 11:31 ` Marco d'Itri
@ 2006-07-25 11:46 ` Jan Just Keijser
2006-07-25 15:17 ` Jan Just Keijser
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Jan Just Keijser @ 2006-07-25 11:46 UTC (permalink / raw)
To: linux-ppp
The patch is based on OpenSSL basically because I have used openssl in
the past and have come to know it a bit; I don't see any reason why
MatrixSSL (which I do not know) or libgnutls (which I know a little but
have had problems with in the past) could not be used. The EAP-TLS patch
uses an SSL TLSv1 context and not much more than that, so I can't think
of a reason why any other package which provides the same functionality
could not be used.
I will give libgnutls a shot over the next few days/weeks, and perhaps
MatrixSSL as well.
share and enjoy,
JJK
Marco d'Itri wrote:
>On Jul 25, James Cameron <james.cameron@hp.com> wrote:
>
>
>
>>You've used OpenSSL, which has a license that is not altogether open,
>>specifically clause 6 which requires acknowledgement. Is there any
>>reason why you couldn't use MatrixSSL?
>>
>>
>I would hate to see EAP-TLS depend on a niche license.
>I do not think I would enable EAP-TLS in the Debian package in this case
>since it would require pulling the MatrixSSL package in the base system.
>
>If you do not like the advertisement clause in the OpenSSL license there
>is libgnutls which is LGPL'ed and widely used (and has a sane API...).
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp 2.4.4 eap-tls patch
2006-07-25 10:19 ppp 2.4.4 eap-tls patch Jan Just Keijser
` (2 preceding siblings ...)
2006-07-25 11:46 ` Jan Just Keijser
@ 2006-07-25 15:17 ` Jan Just Keijser
2006-07-25 15:20 ` Marco d'Itri
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Jan Just Keijser @ 2006-07-25 15:17 UTC (permalink / raw)
To: linux-ppp
to follow up on my previous posting:
- gnutls does not provide the HMAC functions, which are needed for MPPE,
hence I will rule that out for now
- matrixssl seems to have a very odd licence, with the split between
commercial and non-commerical use...
- openwrt already provides support for openvpn, which in turn uses
openssl so why is there a need to switch to matrixssl ?
conclusion: for now, I won't be bothered to migrate my patch from
openssl to gnutls or matrixssl any time soon. Others are most welcome to
try , of course, and I am willing to test any patches that others provide.
share and enjoy,
JJK
Jan Just Keijser wrote:
> The patch is based on OpenSSL basically because I have used openssl in
> the past and have come to know it a bit; I don't see any reason why
> MatrixSSL (which I do not know) or libgnutls (which I know a little
> but have had problems with in the past) could not be used. The EAP-TLS
> patch uses an SSL TLSv1 context and not much more than that, so I
> can't think of a reason why any other package which provides the same
> functionality could not be used.
>
> I will give libgnutls a shot over the next few days/weeks, and perhaps
> MatrixSSL as well.
>
> share and enjoy,
>
> JJK
>
>
> Marco d'Itri wrote:
>
>> On Jul 25, James Cameron <james.cameron@hp.com> wrote:
>>
>>
>>
>>> You've used OpenSSL, which has a license that is not altogether open,
>>> specifically clause 6 which requires acknowledgement. Is there any
>>> reason why you couldn't use MatrixSSL?
>>>
>>
>> I would hate to see EAP-TLS depend on a niche license.
>> I do not think I would enable EAP-TLS in the Debian package in this case
>> since it would require pulling the MatrixSSL package in the base system.
>>
>> If you do not like the advertisement clause in the OpenSSL license there
>> is libgnutls which is LGPL'ed and widely used (and has a sane API...).
>>
>>
>>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp 2.4.4 eap-tls patch
2006-07-25 10:19 ppp 2.4.4 eap-tls patch Jan Just Keijser
` (3 preceding siblings ...)
2006-07-25 15:17 ` Jan Just Keijser
@ 2006-07-25 15:20 ` Marco d'Itri
2006-07-25 23:03 ` James Cameron
2006-07-25 23:07 ` Marco d'Itri
6 siblings, 0 replies; 8+ messages in thread
From: Marco d'Itri @ 2006-07-25 15:20 UTC (permalink / raw)
To: linux-ppp
On Jul 25, Jan Just Keijser <jan.just.keijser@gmail.com> wrote:
> - gnutls does not provide the HMAC functions, which are needed for MPPE,
> hence I will rule that out for now
Crypto primitives are provided by its companion library libgcrypt.
--
ciao,
Marco
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp 2.4.4 eap-tls patch
2006-07-25 10:19 ppp 2.4.4 eap-tls patch Jan Just Keijser
` (4 preceding siblings ...)
2006-07-25 15:20 ` Marco d'Itri
@ 2006-07-25 23:03 ` James Cameron
2006-07-25 23:07 ` Marco d'Itri
6 siblings, 0 replies; 8+ messages in thread
From: James Cameron @ 2006-07-25 23:03 UTC (permalink / raw)
To: linux-ppp
[-- Attachment #1: Type: text/plain, Size: 2007 bytes --]
On Tue, Jul 25, 2006 at 01:31:53PM +0200, Marco d'Itri wrote:
> On Jul 25, James Cameron <james.cameron@hp.com> wrote:
> > Is there any reason why you couldn't use MatrixSSL?
>
> I would hate to see EAP-TLS depend on a niche license.
MatrixSSL is dual licensed, and last I checked the GPL is quite common
rather than being niche. It is unfortunate that it isn't LGPL, and
maybe that will stop the idea.
> I do not think I would enable EAP-TLS in the Debian package in this case
> since it would require pulling the MatrixSSL package in the base system.
Oh, certainly. Debian already has OpenSSL. Hopefully it would be a
build option to choose the appropriate dependency, and so the Debian
packaging would use the OpenSSL.
On Tue, Jul 25, 2006 at 05:17:33PM +0200, Jan Just Keijser wrote:
> - openwrt already provides support for openvpn, which in turn uses
> openssl so why is there a need to switch to matrixssl ?
OpenWrt is used on embedded systems with very low memory, and the
OpenVPN package occasionally cannot be used because of the dependency on
OpenSSL (415183 bytes). MatrixSSL is much smaller (41411 bytes), and is
already included in the base system for use by dropbear, the SSH
implementation.
> conclusion: for now, I won't be bothered to migrate my patch from
> openssl to gnutls or matrixssl any time soon. Others are most welcome to
> try , of course, and I am willing to test any patches that others provide.
No worries, I'll ponder it.
(I'm sensitive to the OpenSSL license because of the problems we had
getting an MPPE implementation accepted into the kernel. An early
implementation used source fragments from OpenSSL. The current
implementation does not use source from OpenSSL, but instead uses the
in-kernel crypto.)
--
James Cameron http://quozl.netrek.org/
HP Open Source, Volunteer http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ppp 2.4.4 eap-tls patch
2006-07-25 10:19 ppp 2.4.4 eap-tls patch Jan Just Keijser
` (5 preceding siblings ...)
2006-07-25 23:03 ` James Cameron
@ 2006-07-25 23:07 ` Marco d'Itri
6 siblings, 0 replies; 8+ messages in thread
From: Marco d'Itri @ 2006-07-25 23:07 UTC (permalink / raw)
To: linux-ppp
[-- Attachment #1: Type: text/plain, Size: 382 bytes --]
On Jul 26, James Cameron <james.cameron@hp.com> wrote:
> > > Is there any reason why you couldn't use MatrixSSL?
> > I would hate to see EAP-TLS depend on a niche license.
> MatrixSSL is dual licensed, and last I checked the GPL is quite common
Sorry, I meant "on a niche library", as in "I do not want to add another
dependency without a good reason".
--
ciao,
Marco
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-07-25 23:07 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-25 10:19 ppp 2.4.4 eap-tls patch Jan Just Keijser
2006-07-25 11:04 ` James Cameron
2006-07-25 11:31 ` Marco d'Itri
2006-07-25 11:46 ` Jan Just Keijser
2006-07-25 15:17 ` Jan Just Keijser
2006-07-25 15:20 ` Marco d'Itri
2006-07-25 23:03 ` James Cameron
2006-07-25 23:07 ` Marco d'Itri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).