-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds a new configuration option to the web.config.file which makes it possible to enable logging of unauthorized requests. If "log_unauthorized" at config file's top level is set to true, any unauthorized request will have the ip as well as the X-Forwarded-For header logged. This way, a program that might parse the logs can determent for itself if the X-Forwarded-For header can be trusted. Signed-off-by: networkException <[email protected]>
- Loading branch information
1 parent
7cd0e90
commit 38570d2
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters