Hardware-ID Device Driver for Linux

Download

Currently, there are two version for download: An old version for kernel 2.2.x that has been in use for some time and is considered as stable and a new release for kernel 2.4.x. If you use this new release feedback is always welcome. Please report to the project forum to let me know if it works for you. The latest version is always available from our CVS . Please note that only the kernel 2.4 version is currently improved. You can also download the daily CVS snapshot.

Please note that the "Quickstarters guide to procfs programming" is part of the driver and is not available for download separately.

Short description

Hardware-ID is a very small and simple Linux module (device driver) that intercepts the IOCTL system call and allows you to modify the returned value for hardware id queries.

Basically, you can use this to assigne any hardware id to an application that thinks it cannot live with what your system provides as the default. This is mostly the case when you restore a backup to a new hard disk or want to change your Ethernet card while some application depend on the mac address or the drive id of the old hardware.

An other thing is security. There are some commercial programs out in the wild, that try to send personal information to people you don't trust or even know. Sending hardware IDs is a popular way to track users through the WEB. If you have to use such software, this module helps you to decide what information you want to give out.

The new version contains a feature that records all accesses to hardware IDs and present this to the user via the procfs interface.

Supported features

Programmers point of view

The module is a very small and readable piece of source demonstrating system call interception and use of the proc file system. If you want to add proc file system support for you own driver you might want to take a look at this module.

I wrote a little tutorial on how to use the procfs in kernel 2.4. It is called "Quickstarters guide to procfs programming" and could be useful to people how want to add procfs support to there own modules. The file is written in LaTeX and includes parts of the module source code. Please check out the current CVS or the tar ball to read it.

FAQ

ATTENTION

THE INTENTION OF THIS SOFTWARE IS TO MAKE BACKUPS WORK AND SOFTWARE INSTALLATION MORE PAINLESS. HOWEVER, MAKING BACKUPS IS FOR SOME STUPID REASONS ILLEGAL IN MANY COUNTRIES. NEITHER THE AUTHOR NOR SOURCEFORGE CAN BE HELD LIABLE FOR ANY USE OR MISUSE OF THIS SOFTWARE. MOREOVER, USING THIS SOFTWARE IS COMPLETELY AT YOUR OWN RISK WITH NO GUARANTEES AT ALL.

SourceForge
Logo