The ever-fabulous Need to Know brings us the story of an amazing hack in the current issue. It's called Subterfugue, and it:
lets you insert [...] code between the OS and an application, mangling and filtering any data along the way.
It works by letting you write "tricks", which are essentially wrappers that let you get in the communication channel between the application and kernel, via the system calls the app makes, and the signals raised by the kernel.
It lets you do things like:
And of course, tricks can be written in a high-level language (i.e. not C).
Got you salivating yet? When I hear "code", "filtering" and "data" in the same sentence, I naturally think of Perl. Unfortunately, the only high-level language supported is Python. In fact, it's just a very clever Python hack.
So, if you have a spare week-end or two, why don't you write Subterfugue in Perl? That would be cool.
and it's subterfugue, not, as I orginally wrote, subterfuge. Thanks, vsarkiss.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Subterfugue for Linux
by vladb (Vicar) on Apr 09, 2002 at 13:46 UTC |