Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This addresses issue #44. This is obviously a big change and many of the attributes have now been removed as the installer is no longer used. Some of the changes were driven by my upcoming authd pull request so see that for further details. Despite all that, I tried to respect the existing recipes so that they would continue to do the same thing.
It's a shame that WUI had to go but I did not wish to waste effort on a dead project.
I have made use of the new yum-atomic cookbook but an existing problem with it will prevent these changes from working on Debian/Ubuntu until brianhays/yum-atomic#1 is fixed.
I had wanted to use the standalone "ossec" repository rather than the larger "atomic" one but the guy behind those told me that the former is no longer maintained.
I have prevented OSSEC from attempting to start under certain problematic scenarios. The most annoying of these, where an empty client.keys prevents the server from listening, has been raised in ossec/ossec-hids#662.
The DEB packages were missing the
ossec-batch-manager.pl
script but I contacted the maintainer and he added it. However, he only added it to the server package. This is fine as things stand but if #42 gets merged, it'll need to be added to the agent package too. I have raised this in santiago-bassett/ossec-debian#1.The loss of some attributes may inconvenience some users so the next challenge is to make the configuration more attribute-driven. My initial aim was only to get the agents talking to the server so I'll take a short break from this and come back to it later.