[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52D04C59.20406@quarksecurity.com>
Date: Fri, 10 Jan 2014 14:39:05 -0500
From: Joshua Brindle <brindle@...rksecurity.com>
To: Victor Porton <porton@...od.ru>
CC: selinux@...ho.nsa.gov, linux-kernel@...r.kernel.org
Subject: Re: Create new NetFilter table
Victor Porton wrote:
> I propose to create a new NetFilter table dedicated to rules created programmatically (not by explicit admin's iptables command).
>
> Otherwise an admin could be tempted to say `iptables -F security` which would probably break rules created for example by sandboxing software (which may follow same-origin policy to restrict one particular program to certain domain and port only). Note that in this case `iptables -F security` is a security risk (sandbox breaking)?
>
> New table could be possibly be called:
>
> - temp
> - temporary
> - auto
> - automatic
> - volatile
> - daemon
> - system
> - sys
>
> In iptables docs it should be said that this table should not be manipulated manually.
Is it possible that the solution to your sandboxing problem is seccomp
filter?
http://outflux.net/teach-seccomp/
You'd filter out any syscall that can make outbound connections and then
only pass already opened sockets to the sandboxed threads?
seccomp filter was actually created for sandboxing, so that user
applications could voluntarily shed the ability to call certain syscalls
before handling untrusted data.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists