login
Header Space

 
 

Out of tree module using LSM

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Wednesday, November 28, 2007 - 8:42 am

Hi Linus, all,

During one recent LKML discussion 
(http://marc.info/?l=linux-kernel&m=119267398722085&w=2) about LSM going 
static  you called for LSM users to speak up.

We here at Sophos (the fourth largest endpoint security vendor in the world) 
have such a module called Talpa which is a part of our main endpoint security 
product for Linux  that protects from viruses and malware hosted on Linux, 
including those targetting Windows or other connected devices,  
(http://www.sophos.com/products/enterprise/endpoint/security-and-control/linux/index.ht...) 
which is GPL code and has been in the field for almost three years now. It's 
source code has been shipping with the product from the start.  We also have 
a SourceForge project at http://sourceforge.net/projects/talpa/ to host it.

In essence, what our module does is it intercepts file accesses and allows 
userspace daemons to vet them. One of the means we implemented that is 
through LSM and although it is not a perfect match for such use we prefer to 
use an official interface. Unfortunately, with time it became impossible to 
use LSM on some distributions (SELinux) so we had to implement other 
intercept methods which are significantly less nice, and which may also 
become unworkable over time.

The main point here is that making LSM not available for modules makes our 
life even more difficult and we would like to ask you to revert that change 
until another acceptable, secure solution is found.

At this point I would not like this to turn into a discussion on technical or 
code merits of our current approach. It is just that usage scenarios of 
(dis-)allowing access to files based on their content, regardless of the 
actual details, do sound like a reasonable idea. What we would like to do is 
to start discussion about possible solutions in which other interested 
parties will hopefully join and in future create some progress on this front.

-- 
Tvrtko August Ursulin
Senior Software Engineer, Sophos

Tel: 01235 559933
Web: www.sophos.com
Protecting business against viruses, spyware, spam and policy abuse

Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon,
OX14 3YP, United Kingdom.

Company Reg No 2096520. VAT Reg No GB 348 3873 20.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Out of tree module using LSM, Tvrtko A. Ursulin, (Wed Nov 28, 8:42 am)
Re: Out of tree module using LSM, Andi Kleen, (Wed Nov 28, 3:20 pm)
Re: Out of tree module using LSM, , (Thu Nov 29, 12:39 pm)
Re: Out of tree module using LSM, Pavel Machek, (Sat Dec 1, 4:43 am)
Re: Out of tree module using LSM, , (Sun Dec 2, 3:44 pm)
Re: Out of tree module using LSM, Pavel Machek, (Sun Dec 2, 4:22 pm)
Re: Out of tree module using LSM, , (Sun Dec 2, 5:09 pm)
Re: Out of tree module using LSM, Pavel Machek, (Sun Dec 2, 5:56 pm)
Re: Out of tree module using LSM, Jan Engelhardt, (Sun Dec 2, 7:15 pm)
Re: Out of tree module using LSM, Pavel Machek, (Sun Dec 2, 7:23 pm)
Re: Out of tree module using LSM, Andi Kleen, (Sun Dec 2, 4:06 pm)
Re: Out of tree module using LSM, Arjan van de Ven, (Sun Dec 2, 4:02 pm)
Re: Out of tree module using LSM, Alan Cox, (Wed Nov 28, 3:52 pm)
Re: Out of tree module using LSM, , (Wed Nov 28, 4:05 pm)
Re: Out of tree module using LSM, Greg KH, (Wed Nov 28, 8:58 pm)
Re: Out of tree module using LSM, Christoph Hellwig, (Wed Nov 28, 10:41 am)
Re: Out of tree module using LSM, Casey Schaufler, (Wed Nov 28, 12:38 pm)
Re: Out of tree module using LSM, Christoph Hellwig, (Wed Nov 28, 12:46 pm)
Re: Out of tree module using LSM, , (Wed Nov 28, 2:15 pm)
Re: Out of tree module using LSM, Al Viro, (Wed Nov 28, 2:30 pm)
Re: Out of tree module using LSM, , (Thu Nov 29, 12:26 pm)
Re: Out of tree module using LSM, Alan Cox, (Thu Nov 29, 1:36 pm)
Re: Out of tree module using LSM, Andi Kleen, (Thu Nov 29, 5:09 pm)
Re: Out of tree module using LSM, Ray Lee, (Thu Nov 29, 2:40 pm)
Re: Out of tree module using LSM, Jon Masters, (Thu Nov 29, 2:56 pm)
Re: Out of tree module using LSM, Ray Lee, (Thu Nov 29, 3:11 pm)
Re: Out of tree module using LSM, Jon Masters, (Thu Nov 29, 3:45 pm)
Re: Out of tree module using LSM, Alan Cox, (Thu Nov 29, 5:45 pm)
Re: Out of tree module using LSM, Jon Masters, (Thu Nov 29, 7:34 pm)
Re: Out of tree module using LSM, , (Fri Nov 30, 2:20 am)
Re: Out of tree module using LSM, Alan Cox, (Fri Nov 30, 9:30 am)
Re: Out of tree module using LSM, Justin Banks, (Thu Nov 29, 6:12 pm)
Re: Out of tree module using LSM, Al Viro, (Thu Nov 29, 9:48 pm)
Re: Out of tree module using LSM, Justin Banks, (Fri Nov 30, 11:37 am)
Re: Out of tree module using LSM, , (Thu Nov 29, 4:56 pm)
Re: Out of tree module using LSM, Jon Masters, (Thu Nov 29, 7:31 pm)
Re: Out of tree module using LSM, Al Viro, (Thu Nov 29, 6:08 pm)
Re: Out of tree module using LSM, James Morris, (Thu Nov 29, 8:50 pm)
Re: Out of tree module using LSM, Greg KH, (Wed Nov 28, 8:38 pm)
Re: Out of tree module using LSM, Jan Engelhardt, (Wed Nov 28, 8:53 pm)
Re: Out of tree module using LSM, Greg KH, (Wed Nov 28, 9:07 pm)
Re: Out of tree module using LSM, Jon Masters, (Thu Nov 29, 12:36 pm)
Re: Out of tree module using LSM, Greg KH, (Thu Nov 29, 12:47 pm)
Re: Out of tree module using LSM, Jan Engelhardt, (Thu Nov 29, 12:53 pm)
Re: Out of tree module using LSM, Greg KH, (Thu Nov 29, 1:03 pm)
Re: Out of tree module using LSM, Ray Lee, (Thu Nov 29, 1:35 pm)
Re: Out of tree module using LSM, Al Viro, (Thu Nov 29, 1:51 pm)
Re: Out of tree module using LSM, Greg KH, (Thu Nov 29, 1:45 pm)
Re: Out of tree module using LSM, Ray Lee, (Thu Nov 29, 2:03 pm)
Re: Out of tree module using LSM, Justin Banks, (Thu Nov 29, 2:19 pm)
Re: Out of tree module using LSM, Jon Masters, (Thu Nov 29, 2:38 pm)
Re: Out of tree module using LSM, Christoph Hellwig, (Thu Nov 29, 12:57 pm)
Re: Out of tree module using LSM, Alan Cox, (Thu Nov 29, 1:27 pm)
Re: Out of tree module using LSM, Andi Kleen, (Thu Nov 29, 6:58 pm)
Re: Out of tree module using LSM, Pavel Machek, (Sat Dec 8, 6:50 am)
Re: Out of tree module using LSM, Jon Masters, (Thu Nov 29, 1:05 pm)
Re: Out of tree module using LSM, Greg KH, (Thu Nov 29, 1:14 pm)
Re: Out of tree module using LSM, Stephen Hemminger, (Wed Nov 28, 1:39 pm)
Re: Out of tree module using LSM, , (Wed Nov 28, 2:22 pm)
Re: Out of tree module using LSM, James Morris, (Wed Nov 28, 8:12 pm)
Re: Out of tree module using LSM, Jon Masters, (Thu Nov 29, 12:27 pm)
Re: Out of tree module using LSM, Jan Engelhardt, (Thu Nov 29, 12:52 pm)
Re: Out of tree module using LSM, Greg KH, (Thu Nov 29, 12:51 pm)
Re: Out of tree module using LSM, Stephen Hemminger, (Thu Nov 29, 12:51 pm)
Re: Out of tree module using LSM, Jan Engelhardt, (Wed Nov 28, 8:51 pm)
Re: Out of tree module using LSM, Casey Schaufler, (Wed Nov 28, 9:45 pm)
Re: Out of tree module using LSM, Alan Cox, (Wed Nov 28, 3:50 pm)
Re: Out of tree module using LSM, , (Thu Nov 29, 12:12 pm)
speck-geostationary