unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: mongrel-unicorn@rubyforge.org
Subject: SSL support pushed out to unicorn.git :x
Date: Thu, 15 Sep 2011 22:46:09 +0000	[thread overview]
Message-ID: <20110915224608.GA21568@dcvr.yhbt.net> (raw)

Consider this a joke until somebody who knows crypto well can review it
(_and_ kgio-monkey[1]).  I know it works with curl (test case included)
and I can't see plain-text when I strace/tcpdump, that's about it :)

Subject: [PATCH] add preliminary SSL support

This will also be the foundation of SSL support in Rainbows!
and Zbatery.  Some users may also want to use this in
Unicorn on LANs to meet certain security/auditing requirements.
Of course, Nightmare! (in whatever form) should also be able to
use it.
---
  The patch is a big, so you can view it here
  http://bogomips.org/unicorn.git/patch?id=ac346b5abc

  [1] - http://bogomips.org/kgio-monkey/
        git clone git://bogomips.org/kgio-monkey.git

  This is absolutely NOT intended to be an endorsement of the current
  certificate authority system.  Don't support or encourage it.

 lib/unicorn/configurator.rb     |   13 +++--
 lib/unicorn/http_server.rb      |    3 +
 lib/unicorn/ssl_client.rb       |    6 ++
 lib/unicorn/ssl_configurator.rb |  104 +++++++++++++++++++++++++++++++++++++++
 lib/unicorn/ssl_server.rb       |   42 ++++++++++++++++
 script/isolate_for_tests        |    1 +
 t/.gitignore                    |    2 +
 t/sslgen.sh                     |   63 +++++++++++++++++++++++
 t/t0600-https-server-basic.sh   |   48 ++++++++++++++++++
 test/unit/test_sni_hostnames.rb |   47 +++++++++++++++++
 10 files changed, 325 insertions(+), 4 deletions(-)
 create mode 100644 lib/unicorn/ssl_client.rb
 create mode 100644 lib/unicorn/ssl_configurator.rb
 create mode 100644 lib/unicorn/ssl_server.rb
 create mode 100755 t/sslgen.sh
 create mode 100755 t/t0600-https-server-basic.sh
 create mode 100644 test/unit/test_sni_hostnames.rb

-- 
Eric Wong
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

                 reply	other threads:[~2011-09-15 23:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110915224608.GA21568@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=mongrel-unicorn@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).