From: Octavian Purdila <opurdila@ixiacom.com>
To: Cong Wang <amwang@redhat.com>
Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>,
davem@davemloft.net, linux-kernel@vger.kernel.org,
eric.dumazet@gmail.com, linux-rdma@vger.kernel.org,
netdev@vger.kernel.org, nhorman@tuxdriver.com,
linux-sctp@vger.kernel.org
Subject: Re: [RFC Patch] net: reserve ports for applications using fixed port numbers
Date: Fri, 5 Feb 2010 14:28:12 +0200 [thread overview]
Message-ID: <201002051428.12767.opurdila@ixiacom.com> (raw)
In-Reply-To: <4B6BB447.8080806@redhat.com>
On Friday 05 February 2010 08:01:43 you wrote:
> >> If you can accept his version, I want to use his version (with an
> >> interface for updating above "reserved_ports" by not only root user's
> >> sysctl() but also MAC's policy configuration).
> >
> > I think that simply using an interface to update the reserved_ports from
> > MAC policy configuration module wouldn't work, as root will be able to
> > modify the policy via sysctl.
> >
> > I think that we might need to:
> >
> > a) have a reserved_port updater
> >
> > b) put a LSM hook into that
> >
> > c) use the reserved_port updater from sysctl
>
> Ideally, you'd provide an interface for port allocator to use, so
> doing port reservation will be easier.
>
If I understand the TOMOYO requirements correctly, we need a way to restrict a
user action based on some security policy (in this case the ability to clear
reserved ports). Traditionally that has been done with LSM hooks, so I think
that approach is preferable.
next prev parent reply other threads:[~2010-02-05 12:31 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-03 4:30 Amerigo Wang
2010-02-03 4:39 ` Eric Dumazet
2010-02-03 5:15 ` Cong Wang
2010-02-03 11:12 ` Octavian Purdila
2010-02-04 3:23 ` Cong Wang
2010-02-04 12:44 ` Octavian Purdila
2010-02-04 17:41 ` David Miller
2010-02-04 18:15 ` Octavian Purdila
2010-02-04 18:21 ` David Miller
2010-02-04 21:45 ` Tetsuo Handa
2010-02-04 21:56 ` David Miller
2010-02-05 0:41 ` Tetsuo Handa
2010-02-05 1:05 ` Octavian Purdila
2010-02-05 6:01 ` Cong Wang
2010-02-05 12:28 ` Octavian Purdila [this message]
2010-02-05 4:45 ` Cong Wang
2010-02-05 12:05 ` Octavian Purdila
2010-02-08 3:21 ` Cong Wang
2010-02-08 16:51 ` Octavian Purdila
2010-02-05 7:11 ` Bart Van Assche
2010-02-05 7:25 ` Cong Wang
2010-02-05 9:08 ` [RFC Patch] net: reserve ports for applications using fixed portnumbers Tetsuo Handa
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=201002051428.12767.opurdila@ixiacom.com \
--to=opurdila@ixiacom.com \
--cc=amwang@redhat.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linux-sctp@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
--cc=penguin-kernel@i-love.sakura.ne.jp \
/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
Powered by JetHome