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
Agent Container libcurl missing #48
Comments
Hey, Thanks for getting in touch! Could you share the Docker Run command you used? Just a quick reminder, If you've used a token, make sure to keep it masked for security. Looking forward to hearing from you, Oriane |
Hi,
I then run this e.g. in foreground to see the messages: this then shows the output like seen above (full again here:)
I use a local (non-docker) nginx and have the module deployed. Although, I did not find out, how the nginx module communicates with the agent... using TCP (what port?) using sockets, other stuff? Thanks for your help. |
Thanks for the information. We are looking into the issue and will come back to you. |
Hi, Regarding the libcurl missing warning, we've looked into this, and while this doesn't affect deployment we understand the inconvenience and it will be removed. As to your installation, while this flow isn't officially supported yet, we have investigated your use case. To deploy open-appsec with an Embedded attachment on a Linux server, please follow these instructions available at: open-appsec Attachment Compilation Instructions. To verify a successful installation, execute the following command: cat /etc/nginx/nginx.conf Inspect the first line of the configuration file for the presence of the following line: load_module /usr/lib/nginx/modules/ngx_cp_attachment_module.so; Once the attachment is compiled, you can proceed to map it to the agent container using the following Docker command: docker run -d --name=agent-container --ipc=host -v /dev/shm/:/dev/shm/:rw -it ghcr.io/openappsec/agent:latest /cp-nano-agent --token <Token> Please ensure you replace Should you encounter any issues or have further questions, please don't hesitate to reach out. We're here to help you with open-appsec. |
Hi,
I used the docker container ghcr.io/openappsec/agent:latest (V 1.0.1)
when I run it, I see an error after the Fog address:
Attaching to open-appsec-agent
and I have problems - I assume the install script was not able to correctly set the Fog address - as in the logfile /var/log/nano_agent/cp-nano-http-transaction-handler.dbg1 I see the following:
this address indeed does not resolve via DNS... ( i get NXDOMAIN)
I assume this is due to the error when trying to set the fog server, because of the missing lib/libcurl.so in the container...
thanks for any help.
The text was updated successfully, but these errors were encountered: