Re: Filtering USB storage data in kernel module

2011-11-21 Thread Abhijit Pawar
On 11/18/2011 09:05 PM, Abhijit Pawar wrote: On 11/18/2011 08:16 PM, Greg KH wrote: On Fri, Nov 18, 2011 at 06:36:18PM +0530, Abhijit Pawar wrote: On 11/17/2011 08:19 PM, Greg KH wrote: On Thu, Nov 17, 2011 at 02:15:35PM +0530, Abhijit Pawar wrote: Hi All, I need to filter the data

Re: Filtering USB storage data in kernel module

2011-11-18 Thread Abhijit Pawar
On 11/17/2011 08:19 PM, Greg KH wrote: On Thu, Nov 17, 2011 at 02:15:35PM +0530, Abhijit Pawar wrote: Hi All, I need to filter the data written/read to and from the USB storage disk. Why? I want to build a secure machine with data protection. I want to have a security around the machine

Re: Filtering USB storage data in kernel module

2011-11-18 Thread Greg KH
On Fri, Nov 18, 2011 at 06:36:18PM +0530, Abhijit Pawar wrote: On 11/17/2011 08:19 PM, Greg KH wrote: On Thu, Nov 17, 2011 at 02:15:35PM +0530, Abhijit Pawar wrote: Hi All, I need to filter the data written/read to and from the USB storage disk. Why? I want to build a secure machine with

Re: Filtering USB storage data in kernel module

2011-11-18 Thread Abhijit Pawar
On 11/18/2011 08:16 PM, Greg KH wrote: On Fri, Nov 18, 2011 at 06:36:18PM +0530, Abhijit Pawar wrote: On 11/17/2011 08:19 PM, Greg KH wrote: On Thu, Nov 17, 2011 at 02:15:35PM +0530, Abhijit Pawar wrote: Hi All, I need to filter the data written/read to and from the USB storage disk. Why?

Filtering USB storage data in kernel module

2011-11-17 Thread Abhijit Pawar
Hi All, I need to filter the data written/read to and from the USB storage disk. Now the way USB is made known to OS is through SCSI and then respective filesystem ( mostly usbfs). So is there any way I can intercept this stack and have my kernel module invoked so that I will get the data. I

Re: Filtering USB storage data in kernel module

2011-11-17 Thread Greg KH
On Thu, Nov 17, 2011 at 02:15:35PM +0530, Abhijit Pawar wrote: Hi All, I need to filter the data written/read to and from the USB storage disk. Why? What are you wanting to do at filter time? Why just USB disks? What makes them special? How are you going to determine if a disk is a USB