Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2013 13:20:55 GMT
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/180555: [openbsm] invalid trail name when host: specified in audit_control
Message-ID:  <201307141320.r6EDKtJ2032410@oldred.freebsd.org>
Resent-Message-ID: <201307141330.r6EDU0cF046886@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307141320.r6EDKtJ2032410>