Comments (7)
Hi
I have this configuration in docker-compose.yml to send logs to a external syslog server and work with any problems
If you run syslog in same machine simply not config syslog-address
logging:
driver: syslog
options:
syslog-address: "udp://xxx.xxx.xxx.xxx:514"
tag: "corazawaf"
from coraza-spoa.
Hi,
sorry I should have been more precise, I am using the debian package with systemd.
In general systemd is abstracting away stdout and stderr already to be a socket which can not be used with coraza-spoa anymore.
So I am looking for a way to configure the syslog within the coraza config.
from coraza-spoa.
Maybe yo can try this
https://www.loggly.com/ultimate-guide/centralizing-with-syslog/
from coraza-spoa.
It does not work because under systemd you can not use stdout in coraza-spoa as well.
It only gives the error message that there is no such file to open.
Systemd abstracts away stdout ans coraza-spoa does not seem to be able to handle that.
I can only log to a file at the moment.
from coraza-spoa.
@svenauhagen the "security" configs in https://github.com/corazawaf/coraza-spoa/blob/main/contrib/coraza-spoa.service are a bit crazy. I could only guess which line it is, but just remove all the private/protected/.... stuff until writing to stdout works.
My guess is PrivateDevices=true
, buts thats a guess only.
from coraza-spoa.
Looking at the chrony.service file in debian is probably a good start for a sane implamentation of that systemd service.
from coraza-spoa.
fixed by PR105
from coraza-spoa.
Related Issues (20)
- Systemd service failed
- SPOE deprecated in haproxy 3.1 HOT 3
- Add unit tests for internal package
- Adds readme/command to run a example application HOT 1
- Panic on empty Application name
- Adds support for FTW
- Drop logger, logLevel and use coraza's
- Argument version and headers not found HOT 11
- Use github.com/corazawaf/coraza/v3/http/e2e for E2E tests
- coraza-spoa always returns "-" on verdict %[var(txn.coraza.fail) instead of "1" as per documentation HOT 5
- Garbarge in client and hostname fields in Coraza's log
- MYSQL Injection Not Detected HOT 5
- Support json format as loglevel in config.yaml HOT 9
- Multiple domains - backend HOT 3
- Error sample_app, error: Key not found HOT 1
- Fetch methods for app parameter HOT 4
- Runtime error checking header user-agent HOT 1
- Listen "server" on .sock
- Excessive memory and CPU usage HOT 5
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 coraza-spoa.