Hello,
I am currently working on bachelor thesis named "Access Controll for USB Bus". As title says, I need to make software, which will block some USB devices, depending on user input (specific type of USB, for example all mouses or all devices from specific vendor). Unfortunately, my supervisor is working in IT security sector but has no experience with USB devices in linux. So far, I figured out that I probably cant do that by writing device driver and found linux subsystem called "udev" with its daemon "udevd". Udev, among other things, detects newly plugged in devices and match them with correct driver. I need to stop udev before matching device with its driver and check it first - if it is on black list, block that device, if not, let it live its life. Problem is, I have no idea how to do it and have big problems find any documents and materials that would help me. So I want to ask, if there is anybody who would tell me more how these things work, or at least recommend any documents, which I should read. Anything would be helpful, I am kinda stuck at this point and need to move on to work on my thesis. Of course, I do not expect solution, just a little help which path should I take. Thank you in advance.
I am currently working on bachelor thesis named "Access Controll for USB Bus". As title says, I need to make software, which will block some USB devices, depending on user input (specific type of USB, for example all mouses or all devices from specific vendor). Unfortunately, my supervisor is working in IT security sector but has no experience with USB devices in linux. So far, I figured out that I probably cant do that by writing device driver and found linux subsystem called "udev" with its daemon "udevd". Udev, among other things, detects newly plugged in devices and match them with correct driver. I need to stop udev before matching device with its driver and check it first - if it is on black list, block that device, if not, let it live its life. Problem is, I have no idea how to do it and have big problems find any documents and materials that would help me. So I want to ask, if there is anybody who would tell me more how these things work, or at least recommend any documents, which I should read. Anything would be helpful, I am kinda stuck at this point and need to move on to work on my thesis. Of course, I do not expect solution, just a little help which path should I take. Thank you in advance.