From: "Nelson Castillo" <nelsoneci@gmail.com>
To: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Module for keyboard statistics / What should I look at?
Date: Tue, 27 Nov 2007 20:07:16 -0500 [thread overview]
Message-ID: <2accc2ff0711271707o636c060ck7587a259dab92917@mail.gmail.com> (raw)
Hi.
More than 2 years ago I wrote a small non-portable patch [1] to gather
some statistics
about keyboard usage[2] ( I show the counters with modulo 10 but still this is a
security risk. Perhaps some random noise should be added ).
[1] http://svn.arhuaco.org/svn/src/pcgotchi/trunk/proc-keystrokes.patch.linux-2.6.12.2.txt
[2] http://pcgotchi.blogspot.com/2005/10/11140-times.html
I liked to use this in my PC but stopped using this because I didn't
want to compile whenever I
upgraded Kernels (Debian).
I thought I had already asked in LKML as suggested by Blaisorblade[3],
but I did ask in
kernelnewbies instead[4].
[3] http://www.mail-archive.com/user-mode-linux-devel@lists.sourceforge.net/msg02168.html
[4] http://mail.nl.linux.org/kernelnewbies/2006-05/msg00367.html
My questions are:
* What should I read to do this in a module?
* Is there a better way to to this? (perhaps using /dev/input/... and
a user-space program) ?
Regards,
Nelson.-
PS: I don't wish to write a keylogger. I really want the statistics
and you are screwed if
someone gets to be root in your machine anyway.
--
http://arhuaco.org
next reply other threads:[~2007-11-28 1:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-28 1:07 Nelson Castillo [this message]
2007-12-02 19:28 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2accc2ff0711271707o636c060ck7587a259dab92917@mail.gmail.com \
--to=nelsoneci@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®