9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Devon H. O'Dell" <devon.odell@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Plan 9 on Routers?
Date: Wed, 25 Mar 2009 09:00:58 -0400	[thread overview]
Message-ID: <9ab217670903250600h48d64c13t9276e42c07a9a222@mail.gmail.com> (raw)
In-Reply-To: <9511f83e0903241600v21f4681bj846bbb6e8f69cc31@mail.gmail.com>

2009/3/24 Rahul Murmuria <rahul.is.also@gmail.com>:
> @ Devon:
> About Packet Classification. I read that iptables is not needed on
> Plan 9 because its "mount /net over the network" concept achieved
> anonymity or transparency -- something along those lines. "There are
> no logs about who is sending what, and that is a good thing".

This is a flawed argument. If using Plan 9 as an edge router instead
of a bridge, it's imperative to have some sort of filtering. This
doesn't just apply to NAT situations (and even then, mounting /net
isn't really the same thing as NAT). There is ipmux, but as Eric says,
it's not fleshed out enough to implement NAT.

Eric also says: ``as long as you restrict your network to plan 9
machines, it is possible to import /net from a gateway machine and
avoid sticky things like packet filtering.'' This is a good idea in
theory, but in practice most machines are not Plan 9 and there's
almost always a need for a heterogeneous environment. Some would solve
this by porting the ability to `import /net' to other operating
systems. My feeling has always been that some sort of packet
filtration system should exist to make Plan 9 useful in routing in
such heterogeneous networks. It's easier to do and would facilitate
wider adoption (whether that's a good thing or not is always up for
debate).

> I am not sure where exactly the packet classification idea fits in. I
> read in the /proc documents that /proc/net provides useful information
> about the network stack. There is this ip_conntrack which is used to
> list / track network connections. I wonder what we would need to get
> packet information and perform filtering. Is it desirable to get that
> filtering to work if it already does not exist?

I believe I have a rudimentary and probably non-working (at this
point) packet filter in /n/sources/contrib/dho somewhere (it was
written at least 4 years ago). I think it's called ``nfil.''  I
believe it is desirable. Others disagree. Its usefulness is related
directly to its application, and without it, there's no way to test
Plan 9 in an environment in which it would be useful.

You said earlier ``I qualify for GSoC but I was planning not to apply,
as from where I see it, that brings in restrictions to the
independence of thought. I am open to applying though, if this is a
good enough (and small enough) idea for SoC.'' -- I'm not sure why you
think that the idea of the SoC project restricts independence of
thought -- I've certainly never seen it as such. While creating an
entire routing suite (such as Zebra/Quagga) is probably outside of the
scope of a 3 month project, I think a diligent student could probably
do something useful with OSPF or BGP. It's entirely possible that a 3
month project could consist of analyzing Plan 9's ability to function
in this environment and making changes to facilitate the
implementation of routing protocols. Or creating a packet filter. In
either case, I'd personally be excited to see this suggested as a SoC
project if it was well thought out. I've wanted to work with somebody
on Plan 9 as a routing device in networks for some time, at least in
the field of packet classification.

> Thank you all for replying so far!

No problem :)

--dho

> --
> Rahul Murmuria
>
>



  parent reply	other threads:[~2009-03-25 13:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 19:11 Rahul Murmuria
2009-03-24 19:35 ` [9fans] drawterm font Benjamin Huntsman
2009-03-24 19:52   ` erik quanstrom
2009-03-24 20:01   ` Russ Cox
2009-03-24 20:12     ` Benjamin Huntsman
2009-03-24 19:45 ` [9fans] Plan 9 on Routers? Devon H. O'Dell
2009-03-24 19:51   ` J.R. Mauro
2009-03-24 20:05   ` Rahul Murmuria
2009-03-24 20:33     ` J.R. Mauro
2009-03-24 21:35     ` Bakul Shah
2009-03-24 23:00       ` Rahul Murmuria
2009-03-24 23:20         ` erik quanstrom
2009-03-25  6:35           ` Rahul Murmuria
2009-03-25 10:41           ` Eris Discordia
2009-03-25 13:00         ` Devon H. O'Dell [this message]
2009-03-25 13:25           ` erik quanstrom
2009-03-25 13:31             ` Devon H. O'Dell
2009-03-25 15:47           ` Bakul Shah
2009-03-25 15:59             ` Devon H. O'Dell
2009-03-26  4:37           ` lucio
2009-03-26 13:26             ` Devon H. O'Dell
2009-03-24 19:58 ` erik quanstrom
2009-03-25 15:09 ` jetskean
2009-03-25 15:40   ` andrey mirtchovski

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=9ab217670903250600h48d64c13t9276e42c07a9a222@mail.gmail.com \
    --to=devon.odell@gmail.com \
    --cc=9fans@9fans.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;
as well as URLs for NNTP newsgroup(s).