Re: [PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-17 Thread Paul Moore
On Tue, Oct 17, 2017 at 12:01 PM, Steve Grubb wrote: > On Tuesday, October 17, 2017 11:11:31 AM EDT Paul Moore wrote: >> On Mon, Oct 16, 2017 at 6:28 PM, Steve Grubb wrote: >> > On Monday, October 16, 2017 6:06:47 PM EDT Steve Grubb wrote: >> >> > > +/* Log information about who is connecting to

Re: [PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-17 Thread Steve Grubb
On Tuesday, October 17, 2017 11:11:31 AM EDT Paul Moore wrote: > On Mon, Oct 16, 2017 at 6:28 PM, Steve Grubb wrote: > > On Monday, October 16, 2017 6:06:47 PM EDT Steve Grubb wrote: > >> > > +/* Log information about who is connecting to the audit multicast > >> > > socket > >> > > */ +static voi

Re: [PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-17 Thread Paul Moore
On Mon, Oct 16, 2017 at 6:28 PM, Steve Grubb wrote: > On Monday, October 16, 2017 6:06:47 PM EDT Steve Grubb wrote: >> > > +/* Log information about who is connecting to the audit multicast >> > > socket >> > > */ +static void audit_log_multicast_bind(int group, const char *op, int >> > > err) +{

Re: [PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-17 Thread Paul Moore
On Mon, Oct 16, 2017 at 7:04 PM, Richard Guy Briggs wrote: > To use the AUDIT_TASK record idea, a local audit context would need to > be created and used for the AUDIT_CONFIG_CHANGE and AUDIT_TASK records > only. For the record, the more I think about the AUDIT_TASK record idea, the more I'm sour

Re: [PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-17 Thread Paul Moore
On Mon, Oct 16, 2017 at 6:06 PM, Steve Grubb wrote: > On Monday, October 16, 2017 5:35:55 PM EDT Paul Moore wrote: >> On Fri, Oct 13, 2017 at 3:58 PM, Steve Grubb wrote: >> > Log information about programs connecting and disconnecting to the audit >> > netlink multicast socket. This is needed so

Re: [PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-16 Thread Steve Grubb
On Monday, October 16, 2017 7:04:14 PM EDT Richard Guy Briggs wrote: > On 2017-10-16 22:28, Steve Grubb wrote: > > On Monday, October 16, 2017 6:06:47 PM EDT Steve Grubb wrote: > > > > > +/* Log information about who is connecting to the audit multicast > > > > > socket > > > > > */ +static void au

Re: [PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-16 Thread Richard Guy Briggs
On 2017-10-16 22:28, Steve Grubb wrote: > On Monday, October 16, 2017 6:06:47 PM EDT Steve Grubb wrote: > > > > +/* Log information about who is connecting to the audit multicast > > > > socket > > > > */ +static void audit_log_multicast_bind(int group, const char *op, int > > > > err) +{ > > > > +

Re: [PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-16 Thread Steve Grubb
On Monday, October 16, 2017 6:06:47 PM EDT Steve Grubb wrote: > > > +/* Log information about who is connecting to the audit multicast > > > socket > > > */ +static void audit_log_multicast_bind(int group, const char *op, int > > > err) +{ > > > + const struct cred *cred; > > > + struct

Re: [PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-16 Thread Steve Grubb
On Monday, October 16, 2017 5:35:55 PM EDT Paul Moore wrote: > On Fri, Oct 13, 2017 at 3:58 PM, Steve Grubb wrote: > > Log information about programs connecting and disconnecting to the audit > > netlink multicast socket. This is needed so that during investigations a > > security officer can tell

Re: [PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-16 Thread Paul Moore
On Fri, Oct 13, 2017 at 3:58 PM, Steve Grubb wrote: > Log information about programs connecting and disconnecting to the audit > netlink multicast socket. This is needed so that during investigations a > security officer can tell who or what had access to the audit trail. This > helps to meet the

Re: [PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-16 Thread Richard Guy Briggs
On 2017-10-16 18:56, Richard Guy Briggs wrote: > On 2017-10-13 19:58, Steve Grubb wrote: > > Log information about programs connecting and disconnecting to the audit > > netlink multicast socket. This is needed so that during investigations a > > security officer can tell who or what had access to

Re: [PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-16 Thread Richard Guy Briggs
On 2017-10-13 19:58, Steve Grubb wrote: > Log information about programs connecting and disconnecting to the audit > netlink multicast socket. This is needed so that during investigations a > security officer can tell who or what had access to the audit trail. This > helps to meet the FAU_SAR.2 req

[PATCH 1/1] audit: log binding and unbinding to netlink multicast

2017-10-13 Thread Steve Grubb
Log information about programs connecting and disconnecting to the audit netlink multicast socket. This is needed so that during investigations a security officer can tell who or what had access to the audit trail. This helps to meet the FAU_SAR.2 requirement for Common Criteria. Sample event: typ