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

--invalid-requests=<filename> format and can contain reg exp ? #2733

Open
par7133 opened this issue Oct 1, 2024 · 4 comments
Open

--invalid-requests=<filename> format and can contain reg exp ? #2733

par7133 opened this issue Oct 1, 2024 · 4 comments

Comments

@par7133
Copy link

par7133 commented Oct 1, 2024

Hello,

I would like to know about the actual implementation of --invalid-requests= format. Eg. If it can contain reg exp expecially for what concern the remote_addr, http_agent and referer.

And if not, if it could contain reg exp in the next future.

-Dan

@allinurl
Copy link
Owner

allinurl commented Oct 1, 2024

at the moment, it just takes whatever filename you give to output invalid requests. Is there a scenario where using regex for the output filename would be beneficial?

@par7133
Copy link
Author

par7133 commented Oct 2, 2024

You mean it should contain something just like "GET /hello.html HTTP1.1' or what?

@allinurl
Copy link
Owner

It would display the entire request line that couldn't be processed.

@par7133
Copy link
Author

par7133 commented Oct 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants