[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Line.LNX.4.64.0707091842360.9417@d.namei>
Date: Mon, 9 Jul 2007 18:50:27 -0400 (EDT)
From: James Morris <jmorris@...ei.org>
To: Tetsuo Handa <from-netdev@...ove.SAKURA.ne.jp>
cc: davem@...emloft.net, netdev@...r.kernel.org,
linux-security-module@...r.kernel.org
Subject: Re: [RFC] Allow LSM to use IP address/port number.
On Mon, 9 Jul 2007, Tetsuo Handa wrote:
> It drops messages from unwanted IP address/ports.
> (To be exact, it doesn't drop, it just tells userland process
> not to use received messages by returning errors.)
This is broken.
You need to properly fail the network operation and ensure that the peers
are appropriately notified using the standard failure paths, not just
arbitrarily propagate errors to the local user.
- James
--
James Morris
<jmorris@...ei.org>
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists