[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Libcurl-ssl / RPM package
- To: mint <mint@lists.fishpool.fi>
- Subject: Re: [MiNT] Libcurl-ssl / RPM package
- From: Paul Wratt <paul.wratt@gmail.com>
- Date: Wed, 16 Jun 2010 16:25:37 +1000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=shdux4cHXx5ya9jjD2jrB20UD5N14ZwYRfQgvFphK0s=; b=VhxdYcbm+kGYClHaf2yyjHgPhoW9PS6fWqmMRx+V3NZj8PhkUYcXHvGGtuesQkxnFy XkqX8aGscf0rYlImGsJHBMoot8DlEuJSGKanydB8MFM65UwuU8Xe5/zJzSwFAf7lPJWC 55lM0shawicHJAkAmi4b150qR3ZpPOCRZ+hdY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gBdPZ0wmutd5TJXlj6RVQJvo1G9Zg2efJApF5fMnW0AdwKB2VCjX/GeDeNlgsx8Lht Q3ckMk7sz76QxUJhCs2StMTxE23wutbtjFBX3FHi1c/OCTJmAQ/hmiRY44EDUlWQZKFn boVqo6ffzoFAKe5X8JGgmsCpMaJcqKH/He0ic=
- In-reply-to: <1d5d766301378c26ebdcb9a9cd15e42c-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYJX15oA1dTMl5dRkMHWlpYQl0=-webmailer2@server02.webmailer.hosteurope.de>
- List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
- List-id: <mint.lists.fishpool.fi>
- List-owner: <mailto:tjhukkan@fishpool.fi>
- List-post: <mailto:mint@lists.fishpool.fi>
- List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
- List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
- References: <ed8542bdc154dd7693c8d3210c31d89b-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYOWkF0A1w6XF1YR0AAWlhfQw==-webmailer2@server08.webmailer.hosteurope.de> <4C163DF4.9060102@freesbee.fr> <845495def3bc16e5a0fcba375627015b-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYOWkF0A1w6XF1YR0AAWF9bSA==-webmailer2@server08.webmailer.hosteurope.de> <4C16472E.20003@freesbee.fr> <4da79e1fae9dff640c696a8c4321ab4e-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYJX15oA1dTMl5dRkMHW1peQV4=-webmailer2@server02.webmailer.hosteurope.de> <49a29d3bcf0ac52834bb6357bd0a845a-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYJX15oA1dTMl5dRkMHW1JcRF0=-webmailer2@server02.webmailer.hosteurope.de> <1d5d766301378c26ebdcb9a9cd15e42c-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYJX15oA1dTMl5dRkMHWlpYQl0=-webmailer2@server02.webmailer.hosteurope.de>
- Sender: mint-bounce@lists.fishpool.fi
2010/6/15 m0n0 <ole@monochrom.net>:
>
> Am Montag, den 14.06.2010, 22:49 +0200 schrieb m0n0 <ole@monochrom.net>:
>> I just tested SSLv2 with curl. It's seems to work fast... It works out
> ok.
>> :)
>> But when using SSLv3 it waits forever... :( So it seems to be an issue
>> with SSLv3 ... but I expect SSLv3 is what most servers require.
>
> I tried SSLv3 with an other page, that also seems to work fast enough. It
> seems that the https URL I tried (https://webmailer.hosteurope.de) is
> causing problems...
>
I think you have found your major: "not all servers are created equal"
The rest of this post is simply to round of this thread, for readers
in years to come..
RE: SSLv2 vs SSLv3
this is what the wiki has to say:
"SSL v3 improved upon SSL v2 by adding SHA-1 based ciphers, and
support for certificate authentication. Additional improvements in SSL
v3 include better handshake protocol flow and increased resistance to
man-in-the-middle attacks"
this is what it says about SSL:
"The SSL protocol was originally developed by Netscape. Version 1.0
was never publicly released; version 2.0 was released in February 1995
but "contained a number of security flaws which ultimately led to the
design of SSL version 3.0". (Rescorla 2001) SSL version 3.0 was
released in 1996."
I think the following is linked to the above, and your specific
problem (from OpenSSL mail-list):
""
I have been using openssl 0.9.6 under windows and have found some
behaviour that I find curious. When I change the suite from V2 to V3 I
am getting an enormous performance hit.
SSL_METHOD * pMethod = SSLv2_client_method();
SSL connection using : RC4-MD5
Peer name SSLeay demo server
2113863 bytes written
In 0.36 seconds
and
SSL_METHOD * pMethod = SSLv3_client_method();
SSL connection using : RC4-MD5
Peer name SSLeay demo server
2113863 bytes written
In 25.797 seconds
""
RE: SSL on m68k
I believe the reason for the initial (usable) versions of OpenSSL
ports to m68k platforms being FPU specific are obvious, as both Ole
and Vincent have expained (from different ends).
The fact is that SSL is maths intensive, and therefore, in order to be
useful on these lowspec (m68k) platforms, it was immediately apparent
that compiling with an FPU was mandatory is order to make it usable
(which it appears to be)
I would therefore be interested to see what was possible with 030 &
060 without FPU, as there are "standard" machines out there without
FPU's, however I dont think they are in very wide use.
The reason I ask this, is because of overclocked CTx 060 cpu's where
the FPU is unstable, even thought the CPU may not be.
This may be a good enough reason for someone to supply (in this
example) non-FPU enabled binaries of SSL and libs based on SSL
This is not an issue in general, which is obviously why the special
CPU option: -m68020-60 is the standard target, which suggests it is
impractical to create later versions of GCC binaries without FPU usage
(there is just too much maths going on for what appears to be a slow
CPU target anyway, a plain 68000)
Off the top of my head I cannot remember exactly how this impacts the
use of CF v4e, but I think the issues are dealt with because it is a
finite solution, ie there is no (full) v4e support where the target
may get unsupported instructions.
Last bits:
There is a benefit in the issue with SSL requiring FPU support, in
that there is the opportunity to maintain 68000 support where SSL is
not needed
As much as I would hate to do the actual full install process of
Gentoo (from source), it is becoming more an more attractive for
specific hardware combinations, as outlined above.
It would be interesting to see if there was a practical way (read
fast) of compiling distributions for Atari platforms using modern
hardware and cross-compiling, where the OS does ONLY that, the
creation of the binary distro, with no desktop, no/limited services,
no X running, no extra kernel interfaces, etc, just enough to run
make/configure/gcc (or other compiling processes)
Paul