From: Gianni Tedesco <gianni@ecsc.co.uk>
To: Abhishek Singh <abhi@cc.gatech.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Secure usage of netfilter hooks
Date: 30 Jan 2003 17:47:51 +0000 [thread overview]
Message-ID: <1043948872.720.28.camel@lemsip> (raw)
In-Reply-To: <Pine.LNX.4.44.0301301229130.22137-100000@novascotia-lnx.cc.gatech.edu>
[-- Attachment #1: Type: text/plain, Size: 951 bytes --]
On Thu, 2003-01-30 at 17:33, Abhishek Singh wrote:
> Is it possible for a netfilter hook registered during module insertion
> time to be removed by a userspace application (such as iptables) without
> the insertion of a new module?
Yeah, remove all rules using it and rmmod the module.
> What I am trying to do is implement a hook for secure packet processing
> using netfilter. If however an attacker can remove this hook without
> inserting a new module or compromising the kernel in some way then the
> security level of this hook is compromised.
You gotta be root to manipulate iptables. If a user could manipulate ANY
iptables rules security would already be compromised because any user
could fuck with firewall rules.
HTH
--
// Gianni Tedesco (gianni at scaramanga dot co dot uk)
lynx --source www.scaramanga.co.uk/gianni-at-ecsc.asc | gpg --import
8646BE7D: 6D9F 2287 870E A2C9 8F60 3A3C 91B5 7669 8646 BE7D
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2003-01-30 17:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-30 17:33 Secure usage of netfilter hooks Abhishek Singh
2003-01-30 17:47 ` Gianni Tedesco [this message]
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=1043948872.720.28.camel@lemsip \
--to=gianni@ecsc.co.uk \
--cc=abhi@cc.gatech.edu \
--cc=linux-kernel@vger.kernel.org \
/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.