FQDN in agent name

0 views
Skip to first unread message

Bilford

unread,
Sep 2, 2009, 12:10:01 AM9/2/09
to ossec-dev
We ran across a small bug in the WUI (.3) where the Integrity Checking
page wouldn't show an agent (when hitting 'dump database) when the
agent's name was a FQDN. It's a small fix to line 265 of lib/
os_lib_syscheck.php



Original File (line 265):

$filepattern = "/^\(([a-zA-Z0-9_-]+)\) ".

Fix:

$filepattern = "/^\(([a-zA-Z0-9_\.-]+)\) ".
Reply all
Reply to author
Forward
0 new messages