9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: YAMANASHI Takeshi <uncover@beat.cc.titech.ac.jp>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] If hostid==uid, then /lib/ndb/auth is not checked.
Date: Sat, 13 Mar 2004 00:45:39 +0900	[thread overview]
Message-ID: <cec26dbcef61492681bcdfba31fa89ba@orthanc.cc.titech.ac.jp> (raw)

> Keeping people out of a machine is another problem altogether.
: 
> Perhaps we could do something similar on a per service basis,
> i.e., a servicesdb that each service (or listen itself) can
> consult to determine yay or nay for the service.  For example,
> you could make /lib/ndb/common:
> 
> tcp=cpu port=17013 uid=!presotto uid=*

I thought of similar control, but based on the idea of tcpwrappers, like:

/lib/ndb/local:
ipnet=xxx.xx.xx.xx ipmask=xxx.xxx.xxx.xxx
	permit=tcp10
	permit=tcp20
	deny=all

using ndb/ipquery to determine if a connection is allowed or not.
ndb is so powerful, isn't it?


P.S
	Thank you for all who helped me to understand the speaksfor
	relationship.
-- 



             reply	other threads:[~2004-03-12 15:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-12 15:45 YAMANASHI Takeshi [this message]
2004-03-12 19:05 ` boyd, rounin
  -- strict thread matches above, loose matches on Subject: below --
2004-03-14 12:30 YAMANASHI Takeshi
2004-03-14  3:55 YAMANASHI Takeshi
2004-03-14  4:27 ` boyd, rounin
2004-03-14  9:46 ` Bruce Ellis
2004-03-12 15:12 YAMANASHI Takeshi
2004-03-12 19:07 ` boyd, rounin
2004-03-12  6:48 YAMANASHI Takeshi
2004-03-12  7:24 ` lucio
2004-03-12  6:01 YAMANASHI Takeshi
2004-03-12  6:16 ` lucio
2004-03-12 11:35 ` boyd, rounin
2004-03-12  5:47 YAMANASHI Takeshi
2004-03-12  5:56 ` lucio
2004-03-12 12:38 ` David Presotto
     [not found] <7131c0c74ea686afc44d40cdaf2222f7@orthanc.cc.titech.ac.jp>
2004-03-12  5:10 ` 9nut
2004-03-12  5:30   ` lucio

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=cec26dbcef61492681bcdfba31fa89ba@orthanc.cc.titech.ac.jp \
    --to=uncover@beat.cc.titech.ac.jp \
    --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).