misc/180555: [openbsm] invalid trail name when host: specified in audit_control

Ryan Steinmetz zi at FreeBSD.org
Sun Jul 14 13:30:00 UTC 2013


>Number:         180555
>Category:       misc
>Synopsis:       [openbsm] invalid trail name when host: specified in audit_control
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 14 13:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ryan Steinmetz
>Release:        9.1-RELEASE
>Organization:
>Environment:
>Description:
If the sender has "host:sender.test.com" in /etc/security/audit_control, this will cause auditdistd to attempt to create a remote trail of "20130714125533.20130714130411.sender.test.com".

The logic in trail_validate_name() considers this to be invalid and produces the following errors:

Jul 14 09:14:29 audit01 auditdistd[33699]: [sender] (receiver) Sender wants to open file "20130714125533.20130714130411.sender.test.com", which has invalid name.
Jul 14 09:14:29 audit01 auditdistd[33699]: [sender] (receiver) Request failed: (seq=13) OPEN(20130714125533.20130714130411.sender.test.com): invalid trail file name.
>How-To-Repeat:
Install openbsm-1.2-alpha3.
>Fix:
A workaround is to remove the host: line from /etc/security/audit_control

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list