Article View: alt.free.newsservers
Article #159515Re: Disabled SSLv2 and SSLv3 on nntpswitch.blueworldhosting.com
From: Jesse
Date: Fri, 27 Mar 2015 01:07
Date: Fri, 27 Mar 2015 01:07
111 lines
5440 bytes
5440 bytes
Michael Baeuerle wrote:
> Jesse wrote:
>> For what it is worth, I finally got around to disabling SSLv2/3 support
>> in NNTPSwitch code. If your client is broken, sorry, but I won't go
>> back to using SSLv2 or SSLv3.
>
> Currently working at the TLS support of flnews, I have run some tests
> against your server ...
>
> First problem was the wildcard in the subject of your certificate. This
> is allowed according to RFC4642, therefore it was a bug in flnews (fixed
> since version 0.11pre6).
>
> Now I can establish a connection and read articles:
> ------------------------------------------------------------------------
> [...]
> flnews: TLS: Location of X.509 CRLs for verify: ~/.flnews/crls/
> flnews: TLS: OpenSSL library version: 1.0.1k (0x100010BF)
> flnews: TLS: Warning: Offering weak cipher suites to server
> flnews: TLS: Using protocol: TLSv1.2 with cipher suite AES256-GCM-SHA384
> flnews: TLS: --------------------------------------------------------
> flnews: TLS: Automatic CRL maintenance not implemented yet (the following hints may be helpful for manual installation)
> flnews: TLS: Server certificate:
> flnews: TLS: Issuer: C = US, O = GeoTrust Inc., CN = RapidSSL SHA256 CA - G3
> flnews: TLS: CRL distribution point 0: http://gv.symcb.com/gv.crl
> flnews: TLS: Intermediate certificate:
> flnews: TLS: Issuer: C = US, O = GeoTrust Inc., CN = GeoTrust Global CA
> flnews: TLS: CRL distribution point 0: http://g.symcb.com/crls/gtglobal.crl
> flnews: TLS: Intermediate certificate:
> flnews: TLS: Issuer: C = US, O = Equifax, OU = Equifax Secure Certificate Authority
> flnews: TLS: CRL distribution point 0: http://crl.geotrust.com/crls/secureca.crl
> flnews: TLS: --------------------------------------------------------
> flnews: TLS: Server certificate:
> flnews: TLS: Subject Alternative Name: *.blueworldhosting.com (matches hostname using wildcard)
> flnews: TLS: Server certificate verification successful
> ------------------------------------------------------------------------
>
> Second (not a real) problem is that your server seem to reject all
> cipher suites that use DHE key exchange. flnews - if configured to
> "strong" mode - offers only such cipher suites to enforce forward
> secrecy. Therefore it only works using the "weak" compatibility mode
> that offers old stuff - defined as mandatory by RFC4642 - too (like
> "RSA-RSA-RC4-MD5").
>
> Is forward secrecy disabled on your server by intent?
NNTPSwitch uses OpenSSL to handle its SSL handling and I don't see any
specific mention of specific ciphers in the NNTPSwitch code.
Which specific ciphers aren't working for you that use DHE? Technically
the available ciphers list comes from the client, as I understand (I
could be wrong), and here is the list that my server would accept as
compared to a Mac compilation of the openssl client. It would seem that
it definitely supports DHE and ECDHE.
<SNIP>
-n Testing ECDHE-RSA-AES256-GCM-SHA384...
YES
-n Testing ECDHE-ECDSA-AES256-GCM-SHA384...
NO (sslv3 alert handshake failure)
-n Testing ECDHE-RSA-AES256-SHA384...
YES
-n Testing ECDHE-ECDSA-AES256-SHA384...
NO (sslv3 alert handshake failure)
-n Testing ECDHE-RSA-AES256-SHA...
YES
-n Testing DHE-DSS-AES256-GCM-SHA384...
NO (sslv3 alert handshake failure)
-n Testing DHE-RSA-AES256-GCM-SHA384...
YES
-n Testing DHE-RSA-AES256-SHA256...
YES
-n Testing DHE-DSS-AES256-SHA256...
NO (sslv3 alert handshake failure)
-n Testing DHE-RSA-AES256-SHA...
YES
-n Testing DHE-DSS-AES256-SHA...
NO (sslv3 alert handshake failure)
-n Testing DHE-RSA-CAMELLIA256-SHA...
YES
<SNIP>
Here is the script I use to test the supported ciphers:
#!/usr/bin/env bash
# OpenSSL requires the port number.
SERVER=nntpswitch.blueworldhosting.com:443
DELAY=1
ciphers=$(openssl ciphers 'ALL:eNULL' | sed -e 's/:/ /g')
echo Obtaining cipher list from $(openssl version).
for cipher in ${ciphers[@]}
do
echo -n Testing $cipher...
result=$(echo -n | openssl s_client -cipher "$cipher" -connect $SERVER 2>&1)
if [[ "$result" =~ "Cipher is ${cipher}" || "$result" =~ "Cipher :"
]] ; then
echo YES
else
if [[ "$result" =~ ":error:" ]] ; then
error=$(echo -n $result | cut -d':' -f6)
echo NO \($error\)
else
echo UNKNOWN RESPONSE
echo $result
fi
fi
sleep $DELAY
done
Technical Details
Message-ID:
<b2f50$5514ad69$17750dbd$17476@nntpswitch.blueworldhosting.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<b2aba$5510adb7$17750dbd$2399@nntpswitch.blueworldhosting.com> <AABVFAM+PJ4AABJv.A1.flnews@WStation3.stz-e.de>Show Full Headers
Complete Article Headers
Message-ID: <b2f50$5514ad69$17750dbd$17476@nntpswitch.blueworldhosting.com> Subject: Re: Disabled SSLv2 and SSLv3 on nntpswitch.blueworldhosting.com Date: Thu, 26 Mar 2015 20:07:52 -0500 From: Jesse <jesse.rehmer@blueworldhosting.com> References: <b2aba$5510adb7$17750dbd$2399@nntpswitch.blueworldhosting.com> <AABVFAM+PJ4AABJv.A1.flnews@WStation3.stz-e.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Organization: BWH Usenet NNTPSwitch-Cluster X-Trace: b2f505514ad69b2d0a81817476 Content-Type: text/plain; charset=ISO-8859-1 User-Agent: Postbox 3.0.11 (Macintosh/20140602) In-Reply-To: <AABVFAM+PJ4AABJv.A1.flnews@WStation3.stz-e.de> Content-Transfer-Encoding: 7bit X-Received-Bytes: 5459 Mime-Version: 1.0 Nntp-Posting-Date: Thu, 26 Mar 2015 20:07:53 -0500 X-Complaints-To: abuse@blueworldhosting.com Lines: 111 Newsgroups: alt.free.newsservers