What is the modern way to develop a Linux auditing kernel module?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
4
down vote

favorite












I'm new to Linux Kernel development, and I am now assigned a task to develop a Linux kernel module, which can monitor the network, filesystem, USB and serial ports.



I am aware of the things like netfilter/iptables, libpcap, inotify and lse (linux security modules). I know there is always more than one way to skin a cat, especially in Linux world.



I am still wondering, what the proper way to do auditing things in Linux kernel nowadays is.



Any suggestion is appreciated.







share|improve this question




















  • auditd is a popular+modern approach to auditing such things. wiki.archlinux.org/index.php/Audit_framework
    – steve
    Dec 25 '17 at 12:14










  • @steve thanks will take a look at
    – haohaolee
    Dec 25 '17 at 14:48














up vote
4
down vote

favorite












I'm new to Linux Kernel development, and I am now assigned a task to develop a Linux kernel module, which can monitor the network, filesystem, USB and serial ports.



I am aware of the things like netfilter/iptables, libpcap, inotify and lse (linux security modules). I know there is always more than one way to skin a cat, especially in Linux world.



I am still wondering, what the proper way to do auditing things in Linux kernel nowadays is.



Any suggestion is appreciated.







share|improve this question




















  • auditd is a popular+modern approach to auditing such things. wiki.archlinux.org/index.php/Audit_framework
    – steve
    Dec 25 '17 at 12:14










  • @steve thanks will take a look at
    – haohaolee
    Dec 25 '17 at 14:48












up vote
4
down vote

favorite









up vote
4
down vote

favorite











I'm new to Linux Kernel development, and I am now assigned a task to develop a Linux kernel module, which can monitor the network, filesystem, USB and serial ports.



I am aware of the things like netfilter/iptables, libpcap, inotify and lse (linux security modules). I know there is always more than one way to skin a cat, especially in Linux world.



I am still wondering, what the proper way to do auditing things in Linux kernel nowadays is.



Any suggestion is appreciated.







share|improve this question












I'm new to Linux Kernel development, and I am now assigned a task to develop a Linux kernel module, which can monitor the network, filesystem, USB and serial ports.



I am aware of the things like netfilter/iptables, libpcap, inotify and lse (linux security modules). I know there is always more than one way to skin a cat, especially in Linux world.



I am still wondering, what the proper way to do auditing things in Linux kernel nowadays is.



Any suggestion is appreciated.









share|improve this question











share|improve this question




share|improve this question










asked Dec 25 '17 at 11:48









haohaolee

1212




1212











  • auditd is a popular+modern approach to auditing such things. wiki.archlinux.org/index.php/Audit_framework
    – steve
    Dec 25 '17 at 12:14










  • @steve thanks will take a look at
    – haohaolee
    Dec 25 '17 at 14:48
















  • auditd is a popular+modern approach to auditing such things. wiki.archlinux.org/index.php/Audit_framework
    – steve
    Dec 25 '17 at 12:14










  • @steve thanks will take a look at
    – haohaolee
    Dec 25 '17 at 14:48















auditd is a popular+modern approach to auditing such things. wiki.archlinux.org/index.php/Audit_framework
– steve
Dec 25 '17 at 12:14




auditd is a popular+modern approach to auditing such things. wiki.archlinux.org/index.php/Audit_framework
– steve
Dec 25 '17 at 12:14












@steve thanks will take a look at
– haohaolee
Dec 25 '17 at 14:48




@steve thanks will take a look at
– haohaolee
Dec 25 '17 at 14:48















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412944%2fwhat-is-the-modern-way-to-develop-a-linux-auditing-kernel-module%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412944%2fwhat-is-the-modern-way-to-develop-a-linux-auditing-kernel-module%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)