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

Commits on Dec 5, 2022

  1. csv-scanner: add support for CSV_SCANNER_ESCAPE_BACKSLASH_WITH_SEQUENCES

    Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
    bazsi committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    8e0f932 View commit details
    Browse the repository at this point in the history
  2. csv-scanner: added more unit tests to cover all escape mechanisms

    Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
    bazsi committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    3dc160d View commit details
    Browse the repository at this point in the history
  3. csv-parser: fix parsing of the dialect() option

    Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
    bazsi committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    9d8c24e View commit details
    Browse the repository at this point in the history
  4. csv-parser: add support for escape-backslash-with-sequences dialect

    Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
    bazsi committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    6db6417 View commit details
    Browse the repository at this point in the history
  5. scl/apache: use escape-backslash-with-sequences to parse apache acces…

    …s.log
    
    Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
    bazsi committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    a79b701 View commit details
    Browse the repository at this point in the history
  6. scl/apache: handle invalid rawrequest values

    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>
    bazsi committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    8ed6ddd View commit details
    Browse the repository at this point in the history
  7. light: add support for csv-parser() in SyslogNGConfig

    Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
    bazsi committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    b48c5cd View commit details
    Browse the repository at this point in the history
  8. light: add testcase coverage for csv-parser()

    Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
    bazsi committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    d5dff54 View commit details
    Browse the repository at this point in the history
  9. news: added news entries

    Signed-off-by: Balazs Scheidler <bazsi77@gmail.com>
    bazsi committed Dec 5, 2022
    Configuration menu
    Copy the full SHA
    6bd8cc2 View commit details
    Browse the repository at this point in the history