Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install from packages #47

Merged
merged 3 commits into from
Mar 28, 2016
Merged

Install from packages #47

merged 3 commits into from
Mar 28, 2016

Conversation

chewi
Copy link
Contributor

@chewi chewi commented Sep 8, 2015

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.

@chewi
Copy link
Contributor Author

chewi commented Nov 10, 2015

I imagine @jtimberman will be happy with @tas50's changes in #52 and I'm keen to get this merged so I went ahead and rebased my changes on those. RuboCop still comes back clean.

@chewi chewi mentioned this pull request Nov 18, 2015
5 tasks
chewi added 3 commits March 28, 2016 10:46
WUI is apparently unmaintained, unsupported and somewhat buggy. It
also lacks up-to-date packages, probably for that reason. Alternatives
such as LightSIEM have been suggested.
…instead of from source. Unfortunately there are no packages currently
available for Arch.

A missing or empty agent_server_ip attribute or client.keys file now
prevents the service from attempting to start. See the README for
details.
lsb-release is pre-installed on the Debian basebox but wasn't present
on our production servers. Ohai uses it to set the
node['lsb']['codename'] attribute.
@chewi
Copy link
Contributor Author

chewi commented Mar 28, 2016

Rebased again on the latest. The new Chef Specs die horribly as you might expect. I lack the time to deal with these and obviously they weren't an issue at the time I did the work.

@tas50 tas50 merged commit c152abe into sous-chefs:master Mar 28, 2016
@chewi chewi deleted the packages branch March 28, 2016 16:42
@lock
Copy link

lock bot commented Jul 23, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants