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

Apache access log fix for non http requests #4228

Merged

Conversation

bazsi
Copy link
Collaborator

@bazsi bazsi commented Nov 28, 2022

Added NEWS file, test coverage et al.

This contains a new CSV escaping mode, unit + light tests and a couple of fixes to csv-parser()

@github-actions
Copy link
Contributor

No news file has been detected. Please write one, if applicable.

@bazsi bazsi force-pushed the apache-access-log-fix-for-non-http-requests branch from 94a7ffc to e18b3ed Compare November 29, 2022 09:58
@bazsi bazsi changed the title WIP: Apache access log fix for non http requests Apache access log fix for non http requests Nov 29, 2022
@bazsi bazsi force-pushed the apache-access-log-fix-for-non-http-requests branch from e18b3ed to a64baac Compare November 29, 2022 16:59
smortex
smortex previously approved these changes Nov 29, 2022
Copy link
Contributor

@smortex smortex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully tested here! Looks great!

@MrAnno MrAnno added this to the syslog-ng-4.0 milestone Dec 4, 2022
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
…s.log

Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
Sometimes the rawrequest is not a proper HTTP request (e.g. when someone
submits an request like this), handle this case properly.

_default_:443 106.75.178.169 "-" - [22/Nov/2022:00:03:53 +0100] "{\"params\": [\"miner1\", \"bf\", \"00000001\", \"504e86ed\", \"b2957c02\"], \"id\": 4, \"method\": \"mining.submit\"}\n" 400 226 "-" "-"

Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
@bazsi bazsi force-pushed the apache-access-log-fix-for-non-http-requests branch from a64baac to 6bd8cc2 Compare December 5, 2022 09:46
@MrAnno MrAnno merged commit 8fa4dc8 into syslog-ng:master Dec 5, 2022
bazsi added a commit that referenced this pull request Dec 8, 2022
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
bazsi added a commit that referenced this pull request Dec 10, 2022
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
bazsi added a commit that referenced this pull request Dec 15, 2022
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
alltilla pushed a commit that referenced this pull request Dec 15, 2022
Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants