General list for discussing Bufferbloat
 help / color / mirror / Atom feed
From: David Collier-Brown <davec-b@rogers.com>
To: bloat@lists.bufferbloat.net
Subject: Re: [Bloat] [Cerowrt-devel] wired article about bleed and, bloat and underfunded critical infrastructure
Date: Mon, 14 Apr 2014 15:51:42 -0400	[thread overview]
Message-ID: <534C3C4E.2000903@rogers.com> (raw)
In-Reply-To: <mailman.3.1397502002.11580.bloat@lists.bufferbloat.net>

From: Dave Taht <dave.taht@gmail.com> wrote:

>> in the 80's, we've
>> known that security-based code should not be exposed to user code and vice
>> versa.  Yet the SSL libraries are linked in, in userspace, with the
>> application code.
> I note that I am glad that they are mostly dynamically linked in -
> something that wasn't the case for some other crypto libs - because
> finding applications
> that linked statically would be even more difficult.
>
>
Arguably, one shouldn't have security-critical code in an space
addressable by the application program. In the specific case of a
complicated encryption engine, I'd wish to have a fairly stupid system
service to do the time-sensitive part,  on the other side of a system
call with limited options. A ring-crossing if I could, an ioctl if I
must (;-))  Most of the rest I'd have in a daemon, with some syntactic
sugar in a callable library, but with no privilege attached to the sugar.

Application calls sugar, sugar calls ioctl, fast but stupid service
sends data.  On certain hardware, the fast-but-stupid  stuff is a crypto
accelerator the CPU board. I'd *strongly* want using that hardware to be
privileged.

This isn't sufficient, mind you: bugs will still happen.  What I really
want is a defence in depth to mitigate the effects of bad code, bad
requirements and bad schedules. 

--dave
[One smallish part might be a funded attack team, possibly named MI5
(not 6!)]

-- 
David Collier-Brown,         | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
davecb@spamcop.net           |                      -- Mark Twain


       reply	other threads:[~2014-04-14 19:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3.1397502002.11580.bloat@lists.bufferbloat.net>
2014-04-14 19:51 ` David Collier-Brown [this message]
     [not found] <mailman.25637.1397518890.1815.bloat@lists.bufferbloat.net>
2014-04-15  1:16 ` David Collier-Brown
2014-04-11 18:22 [Bloat] wired article about bleed and " Dave Taht
2014-04-11 19:43 ` [Bloat] [Cerowrt-devel] " dpreed
2014-04-14  0:57   ` Dave Taht
2014-04-14 23:22     ` dpreed
2014-04-14 23:41       ` Dave Taht

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://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=534C3C4E.2000903@rogers.com \
    --to=davec-b@rogers.com \
    --cc=bloat@lists.bufferbloat.net \
    --cc=davecb@spamcop.net \
    /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