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

Problem: we would like to use czmq v3 + encryption and curve authentication #843

Merged
merged 3 commits into from
May 17, 2016
Merged

Conversation

taotetek
Copy link
Contributor

Solution: add support for CZMQ v3. This helps move ossec off of deprecated CZMQ v2 APIs but maintains support for building against CZMQ v2. Additionally, if cert paths are defined in the config then the publish socket will be configured as a CURVE server - and will use certificate authentication for clients + encrypt all traffic.

These changes will work with the upcoming improved ZeroMQ support in rsyslog 8.19 - allowing the ossec analyzer to send encrypted messages over zeromq directly to rsyslog.

@ddpbsd
Copy link
Member

ddpbsd commented May 16, 2016

Very cool, I'll try to play with this soon!

@taotetek
Copy link
Contributor Author

@ddpbsd if you run into any issues or questions feel free to give me a holler. I have some other features I'd like to add to the zeromq support as well but I figured one thing at a time. I tried to not break anything for czmq v2 users but I have not tested against v2 yet.

@ddpbsd
Copy link
Member

ddpbsd commented May 16, 2016

The hardest part is finding the free time. I'm not seeing any issues with my older zmq applications. Won't have time to test the v3 stuff for a bit, but looking forward to it.

@taotetek
Copy link
Contributor Author

@ddpbsd for what it's worth I have it working here going from ossec -> command line test tool, and from ossec -> rsyslog (using my branch of rsyslog changes that should go out in 8.19 this month). Glad to hear it worked with v2, and thanks for trying that out before I could get to it!

@atomicturtle
Copy link
Member

This is testing out without any issues to my zeromq/logstash test env.

@taotetek
Copy link
Contributor Author

@atomicturtle fantastic - thanks for the feedback.

@atomicturtle
Copy link
Member

I should add that was a v2 test. And thank you for the PR!

@atomicturtle atomicturtle merged commit f6d60fd into ossec:master May 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants