How to add new audit class?

看板FB_security作者時間14年前 (2011/06/27 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
Hello, Freebsd-security. I want to create mixed audit class for ``security-sensible'' events. For example, I need to audit: exec*() syscalls from standard `pc' class, but not wait4() or fork(), because fork() is not interesting (new process image is security-sensible, not new process itself) and occurred too often and create noise. connect()/accept() from "nt", but not setsockopt(), for the same reasons. And so on. How should I create new system class? What need to be putted into "classmask" in audit_class(5)? How should I edit audit_event(5) file, as it seems, that one event could belong only to one class, and I don't want to remove these events from their natural classes. --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org> _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #1E1tFbXq (FB_security)
文章代碼(AID): #1E1tFbXq (FB_security)