9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: sqweek <sqweek@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] p9p upas
Date: Thu, 17 Jan 2008 17:58:43 +0900	[thread overview]
Message-ID: <140e7ec30801170058g76a4774cj192c287731bf7b12@mail.gmail.com> (raw)

Howdy,
 I've been trying to get upas going over imaps here at work. Finally
today I noticed src/cmd/upas/nfs and inferred the n is for "new" so
had a play. The source served as documentation but I didn't manage to
get very far before some program called "stunnel" started whinging at
me.
 OK, so it turns out stunnel is an SSL wrapper thingy. Fair enough.
After a bit of investigation I discovered why it was complaining -
upas/nfs was written for stunnel3, and then they went and completely
ballsed up the interface for stunnel4[1]. Seriously, what the fuck
were they thinking... anyway, after a failed attempt at writing a
wrapper for stunnel3 style arguments in stunnel4 I went to look for an
stunnel3 package and ran across a perl wrapper[2].
 The wrapper works, though of course I had to modify upas/nfs/imap.c
to exec it instead of /usr/sbin/stunnel directly. Now I'm off to play
with acme Mail, but I figure this information will be useful to anyone
else trying to get setup.
-sqweek

[1] http://www.freebsddiary.org/stunnel-v3-to-v4.php
[2] http://mirror.hudecof.net/stunnel/obsolete/stunnel3/stunnel3-1.0


             reply	other threads:[~2008-01-17  8:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-17  8:58 sqweek [this message]
2008-01-17 19:05 ` Lou Kamenov

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

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

  git send-email \
    --in-reply-to=140e7ec30801170058g76a4774cj192c287731bf7b12@mail.gmail.com \
    --to=sqweek@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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.
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).