Development issues regarding the cerowrt test router project
 help / color / mirror / Atom feed
From: Dave Taht <dave.taht@gmail.com>
To: Jim Gettys <jg@freedesktop.org>
Cc: cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] making cerowrt chattier
Date: Tue, 12 Jun 2012 23:09:10 -0400	[thread overview]
Message-ID: <CAA93jw72rCng4O410baGtS8+7XCDd_KoBVUT+1P3LWPcLoKnEw@mail.gmail.com> (raw)
In-Reply-To: <4FD7FAEA.80500@freedesktop.org>

On Tue, Jun 12, 2012 at 10:28 PM, Jim Gettys <jg@freedesktop.org> wrote:
> On 06/12/2012 10:22 PM, dpreed@reed.com wrote:
>>
>> I have an awkward worry that the functionality here is expanding to
>> fill all possible space on the machine, so it is less a router than a
>> complete "home appliance".

I guess I'm way ahead of you guys, and should have just deployed the
thing and awaited feedback. The jabber server I have working runs out
of xinetd (so no memory use when not used), and eats less than 100k of
ram per invocation. For more details on in.jabberd and related tools
see:

http://inetdxtra.sourceforge.net/

There is of course an old aphorism that all programs expand until they
can send mail (which ssmtp can do, btw). While I miss the days where
email was the one constant in the universe, lacking secure
authentication and verification as well as direct p2p access in the
current standards is a real problem that has too many overlapping
means to solve at the present time.

I miss email direct to my machine. And netnews for that matter.
(cerowrt has leafnode as an optional package btw), but I wasn't
planning to solve that problem this year.

>>
>>
>>
>> On a machine that has almost no internal isolation capabilities,
>> lurking potential alignment bugs whenever the kernel is updated by the
>> x86 maintainers, vulnerable to the first compromised service, it may
>> be a bit risky to load on to the system every app except the kitchen sink.

I am concerned about most embedded appliances (not just routers)
running nearly every service as root. While cerowrt takes more steps
than most to remedy this (named is in a jail, the web server doesn't
run as root, etc), more work is needed on the configuration web server
among other subsystems. I wish certs weren't such a PITA, for example.

>>
>>
>>
>> My personal bias would be to make a darn good router, and leave the
>> other stuff entirely out of the picture.

My personal bias is toward making a darn good router that *stays one*
and better, improves over time, and that is one motivation towards
making it chattier in some form. Other ideas include adopting a
hip-like protocol to allow remote access to a user selected
independent provider of security services.

In the time we've been working on cerowrt (well over a year now) there
have been over 8 major CVEs to deal with that I can think of off the
top of my head. Some means of pushing out security updates in
particular, in a sane manner, is needed, and a little user
intervention required now and then.

>
> I mostly agree with you, particularly when it comes to running a chat
> server.
>
> But we've identified a number of situations where having the router be
> able to inform you of goings ons/events is needed. One other low tech
> solution is sending email, but you also have a configuration problem
> then (as you will for a chat service too, of course, unless you run via
> multicast, and I doubt if anything but a Linux system will receive those
> without fuss).
>
> That's why I sent a pointer to telepathy; it allows you to send messages
> to a bunch of different back ends, and stays out of the server
> business.  And it's being used on embedded systems (though I don't know
> if they go as small as what a typical home router is today).
>                    - Jim

I will look over telepathy. IRC, as the other major chat standard, would
be nice to support. As well as bonjour.


-- 
Dave Täht
SKYPE: davetaht
http://ronsravings.blogspot.com/

  reply	other threads:[~2012-06-13  3:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12 13:10 Dave Taht
2012-06-12 13:22 ` Mark Constable
2012-06-13  0:52 ` Robert Bradley
2012-06-13  1:41   ` Jim Gettys
2012-06-13  2:22     ` dpreed
2012-06-13  2:28       ` Jim Gettys
2012-06-13  3:09         ` Dave Taht [this message]
2012-06-13 19:49           ` dpreed
2012-06-13 19:57             ` 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/cerowrt-devel.lists.bufferbloat.net/

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

  git send-email \
    --in-reply-to=CAA93jw72rCng4O410baGtS8+7XCDd_KoBVUT+1P3LWPcLoKnEw@mail.gmail.com \
    --to=dave.taht@gmail.com \
    --cc=cerowrt-devel@lists.bufferbloat.net \
    --cc=jg@freedesktop.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox