USB sniffing on linux
The linux kernel has a facility called “usbmon” which can be used to sniff the USB bus. It’s been in there for ages, and the output is really easy to collect, even from the command line shell. Simply mount debugfs and insmod the usbmon module:
mount -t debugfs none_debugs /sys/kernel/debug modprobe usbmon
Then you can just cat USB traffic like this:
cat /sys/kernel/debug/usbmon/1u Read more...
Mini How-To
Where to begin?
I frequently get asked how I managed to end up working on the Fedora kernel for living by people hoping to one day get into kernel hacking themselves. One of the most common things I hear is that the kernel is so big, how could anyone possibly understand it all? Truth is, there are very few people that really understand the whole kernel. The majority of the ‘big name’ kernel hackers got where they are today by specialising in one thing, and branching out. There are exceptions to this of course, with a number of people like Andrew Morton, Alan Cox, and Linus who are ‘all rounders’, who have hacked on close to everything in the tree at some point. Whilst the kernel could always use more people like these superheros, there is nothing wrong with becoming a specialist in one area. Read more…
Posted by admin Date: Saturday, December 5, 2009
Categories: kernel
Tags: Alan Cox, Andrew Morton, beginner, Fedora, howto, Jonathan, Jonathan Corbet, kernel, kernel hackers, Linus, lot, pointer arithmetic, Robert Love, tutorial
Welcome to The QoH‘in!
Hi, and Welcome to The Quality Of Hacking Blog.
Here we will post different interesting things about linux/unix kernel hacking and etc.