Archive for December, 2009

USB sniffing on linux

The linux ker­nel has a facil­ity called “usb­mon” which can be used to sniff the USB bus. It’s been in there for ages, and the out­put is really easy to col­lect, even from the com­mand line shell. Sim­ply mount debugfs and ins­mod the usb­mon module:

mount -t debugfs none_debugs /sys/kernel/debug
modprobe usbmon

Then you can just cat USB traf­fic like this:

cat /sys/kernel/debug/usbmon/1u
 Read more...

Be the first to comment - What do you think?

Posted by admin    Date: Saturday, December 5, 2009

Categories: USB

Tags: , , , , ,

Mini How-To

Where to begin?

I fre­quently get asked how I man­aged to end up work­ing on the Fedora ker­nel for liv­ing by peo­ple hop­ing to one day get into ker­nel hack­ing them­selves. One of the most com­mon things I hear is that the ker­nel is so big, how could any­one pos­si­bly under­stand it all? Truth is, there are very few peo­ple that really under­stand the whole ker­nel. The major­ity of the ‘big name’ ker­nel hack­ers got where they are today by spe­cial­is­ing in one thing, and branch­ing out. There are excep­tions to this of course, with a num­ber of peo­ple like Andrew Mor­ton, Alan Cox, and Linus who are ‘all rounders’, who have hacked on close to every­thing in the tree at some point. Whilst the ker­nel could always use more peo­ple like these super­heros, there is noth­ing wrong with becom­ing a spe­cial­ist in one area. Read more…

Be the first to comment - What do you think?

Posted by admin    Date: Saturday, December 5, 2009

Categories: kernel

Tags: , , , , , , , , , , , , ,

Welcome to The QoH‘in!

Hi, and Wel­come to The Qual­ity Of Hack­ing Blog.

Here we will post dif­fer­ent inter­est­ing things about linux/unix ker­nel hack­ing and etc.

1 comment - What do you think?

Posted by admin    Date: Saturday, December 5, 2009

Categories: qohin

Tags: