Comments (5)
Hi,
The AWS integration is getting the value of /proc/sys/net/core/rmem_max
in order to get the maximum socket buffer size.
rmem_max
is kernel parameter that controls the maxium size of receive buffers used by sockets.
The source code lines involved are:
We will fix this for next versions, in case you want to make it work now, you can apply the following hot fix:
Get your current rmem_max value from your docker host:
[root@localhost vagrant]# cat /proc/sys/net/core/rmem_max
212992
Modify the source code to hardcode this parameter:
vi /var/ossec/wodles/aws/aws-s3
- Replace the following content:
with open('/proc/sys/net/core/rmem_max', 'r') as kernel_param:
max_queue_buffer = int(kernel_param.read().strip())
By:
max_queue_buffer = int(212992)`
- Save changes
That's should be all, let us know how it goes.
Regards,
Pedro.
from wazuh-docker.
Hello @fillipejs and @snaow,
We are sorry for the delay.
The variable that caused problems in this section,
https://github.com/wazuh/wazuh/blob/master/wodles/aws/aws-s3.py#L782-L783
is no longer used.
The following PR fixes the AWS integration used in Docker: #1880
We are working on an alternative solution until the PR is accepted.
We will keep you informed. Thank you very much for your patience.
Best regards,
Alfonso Ruiz-Bravo
from wazuh-docker.
Hello @fillipejs and @snaow,
We have created a branch dedicated to integration with AWS. This is a temporary solution, until the corrected code is accepted and merged.
Branch: https://github.com/wazuh/wazuh-docker/tree/aws-integration-compatibility
Use: https://github.com/wazuh/wazuh-docker/blob/aws-integration-compatibility/Use.txt
We hope we have been helpful.
Thank you for your attention and for your patience.
Best regards,
Alfonso Ruiz-Bravo
from wazuh-docker.
Hello @fillipejs and @snaow,
The PR #69 solves the problem. This is a temporary solution, until the corrected code is accepted and merged.
Thank you for your attention and for your patience.
Regards,
Alfonso Ruiz-Bravo
from wazuh-docker.
We will continue this issue here: #68.
Thanks.
from wazuh-docker.
Related Issues (20)
- A Whole bunch of errors after signing in. HOT 5
- Generate final tag and publish draft release for Wazuh 4.7.4
- Post release tasks for 4.7.4
- Can't use netflow module HOT 1
- wazuh docker deployment issues HOT 1
- Support new stage RC 1 for 4.8.0 in wazuh-docker repository HOT 1
- Error in config file wazuh-agent in /var/ossec/etc/ossec.conf
- Error deploying "driver failed programming external connectivity on endpoint" HOT 1
- How to remove agent with Wazuh Docker Single-node deployment using CLI? HOT 2
- Authentication finally failed HOT 6
- Wazuh did not load properly. Check the server output for more information. HOT 2
- Support new stage RC 2 for 4.8.0 in wazuh-docker repository
- Support new Wazuh version 4.7.5 in wazuh-docker repository
- Enable additional Wazuh modules via Dashboard environment variables
- PSA: Do not use & in admin password with docker HOT 1
- Support new stage RC 1 for 4.7.5 in wazuh-docker repository HOT 1
- Scheduled upward merges for numbered branches in wazuh-docker repository - Fortnight #10 HOT 1
- Support new stage RC 3 for 4.8.0 in wazuh-docker repository
- ldap with starttls breaks indexer cluster
- Syslog events ingesting issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wazuh-docker.