All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Johnston <samjie@gmail.com>
To: xen-devel@lists.xensource.com
Subject: Xen and Firewalling
Date: Mon, 18 Apr 2005 00:30:23 +0100	[thread overview]
Message-ID: <eda77ff8050417163077a7c5aa@mail.gmail.com> (raw)

Good evening all,

I would like to have a number of fairly autonomous domains on a xen
box and would like to give the admins the ability to maintain their
own firewalls. However netfilter's not compiled in to the domU
kernels:

# iptables -L -n
modprobe: Can't open dependencies file
/lib/modules/2.6.10-xenU/modules.dep (No such file or directory)
iptables v1.2.11: can't initialize iptables table `filter': iptables
who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Is there a reason for this? Is simply doing a make menuconfig inside
linux-2.6.10-xenU and setting the requisite options sufficient?
According to linux-2.6.10-xen-sparse/arch/xen/configs/xenU_defconfig
there are some modules already so it would follow that there's no
problem compiling netfilter as modules? That being the case, why
aren't they compiled by default ? I see that netfilter is indeed
included in the default dom0 config, and can understand why someone
would want to put some basic restrictions on the domains (eg to ensure
that they are using only allocated IPs, for accounting and to enforce
any other administrative policies), but it would certainly be more
flexible to allow each domain to maintain its own security policy.

For this paticular installation the preferred setup would be not
allowing anything but ssh from certain IPs to dom0, and then have each
of the domains taking care of itself - they would be, for all intents
and purposes, standalone machines.

Sam

             reply	other threads:[~2005-04-17 23:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-17 23:30 Sam Johnston [this message]
2005-04-17 23:57 ` Xen and Firewalling Rik van Riel
2005-04-18  0:49   ` Sam Johnston
  -- strict thread matches above, loose matches on Subject: below --
2005-04-18  9:59 Ian Pratt

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=eda77ff8050417163077a7c5aa@mail.gmail.com \
    --to=samjie@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.