summaryrefslogtreecommitdiffstats
path: root/mod_intercept_form_submit.c
Commit message (Collapse)AuthorAgeFilesLines
* Use the httpd-provided ap_unescape_urlencoded to parse data.Jan Pazdziora2022-01-301-48/+5
|
* No redacting beyond EOS.Jan Pazdziora2022-01-301-0/+3
|
* When we start looking for new fragment, the last fragment_start_bucket is ↵Jan Pazdziora2022-01-301-0/+1
| | | | irrelevant as well.
* No need to play with two brigades.Jan Pazdziora2022-01-301-6/+4
|
* Data was allocated via apr_pstrcat, it is a pool bucket.Jan Pazdziora2022-01-301-1/+1
|
* Do fragment allocation using pool.Jan Pazdziora2022-01-301-9/+10
|
* Ensure we do not work with memory that was already freed (and reused).Jan Pazdziora2022-01-301-0/+5
| | | | | | | | | When mod_authnz_pam does redirect for AuthPAMExpiredRedirect, the remaining input gets slurped from the r->input_filters by ap_send_error_response() and ctx->cached_brigade is cleared from our filter and memory reclaimed. The ctx->password_fragment_start_bucket is then no longer valid because the memory was released and reclaimed, and there is no point attempting to redact the password.
* Put the name of the module to the start of the message on Apache 2.4.Jan Pazdziora2016-11-231-15/+26
|
* Prefer ap_log_rerror for messages related to a particular request.Jan Pazdziora2016-11-231-14/+14
|
* Add InterceptGETOnSuccess on|off.mod_intercept_form_submit-1.0.1Jan Pazdziora2016-05-061-10/+24
| | | | | | | | When the authentication using the POST data passes, the method of the request is internally changed to GET. This stops applications and frameworks that insist on running their own authentication on POST irrespective of REMOTE_USER value to think that they process GET method.
* Removal of forgotten commented piece of code.Jan Pazdziora2014-05-141-1/+0
|
* The latest lookup_identity_hook is fixups/APR_HOOK_LAST while we are ↵Jan Pazdziora2014-05-121-16/+1
| | | | fixups/APR_HOOK_MIDDLE, no need to call explicitly.
* Add support for InterceptFormLoginRealms.mod_intercept_form_submit-0.9.6Jan Pazdziora2014-04-151-1/+39
|
* Move the processing to the middle of the fixup phase to allow mod_headers to ↵mod_intercept_form_submit-0.9.3Jan Pazdziora2014-01-151-6/+7
| | | | process the result.
* If pam_authenticate_with_login_password is not available, skip calling it.mod_intercept_form_submit-0.9.2Jan Pazdziora2014-01-091-0/+4
|
* Declare all functions static for proper isolation.Jan Pazdziora2014-01-091-12/+12
|
* Use pam_authenticate_with_login_password from mod_authnz_pam.mod_intercept_form_submit-0.9.1Jan Pazdziora2014-01-091-57/+21
|
* In the log message, show the module name.Jan Pazdziora2013-12-061-2/+2
|
* Strip parameters like charset from request's Content-Type.Jan Pazdziora2013-12-051-6/+14
|
* Unify the error reporting of PAM failures.Jan Pazdziora2013-11-211-18/+11
|
* Perform PAM account validation, not just authentication.Jan Pazdziora2013-11-211-0/+8
|
* Add support for InterceptFormClearRemoteUserForSkipped.Jan Pazdziora2013-11-191-0/+8
|
* Support redacting the password with InterceptFormPasswordRedact option.Jan Pazdziora2013-11-191-9/+97
|
* Do APR_BRIGADE_CONCAT into the cached brigade right after reading, it will ↵Jan Pazdziora2013-11-191-12/+4
| | | | ensure we will only have one brigade to work with when we attempt to clear the password.
* If there was no & in the bucket, the whole bucket might be continuation of ↵Jan Pazdziora2013-11-191-1/+6
| | | | the previous fragment.
* Call lookup_identity_hook from mod_lookup_identity if it exists, after the ↵Jan Pazdziora2013-11-191-0/+14
| | | | (new) r->user was set.
* Set EXTERNAL_AUTH_ERROR variable upon PAM error.Jan Pazdziora2013-11-191-2/+7
|
* Set the r->user as well (will show up in access_log).Jan Pazdziora2013-11-191-1/+2
|
* No need to spell out the module name for APLOG_DEBUG, it is shown by Apache.Jan Pazdziora2013-11-071-7/+7
|
* If REMOTE_USER is already set (presumably by previous module), skip.Jan Pazdziora2013-11-071-1/+6
|
* Parse enough of input before CGI is forked.Jan Pazdziora2013-11-051-100/+129
| | | | | | | | We run intercept_form_submit_filter_prefetch, look for login and password, and run pam_authenticate if needed. We store the input in f->ctx->cached_brigade and in the intercept_form_submit_filter we just send the cached buckets out upon the first invocation, and passthrough during the following.
* Simplify the code by using the predefined ap_set_string_slot function.Jan Pazdziora2013-11-041-27/+3
|
* Since apr_pcalloc initializes the memory, no need to set manually.Jan Pazdziora2013-11-041-5/+1
|
* Introduce InterceptFormLoginSkip to be able to specify login blacklists.Jan Pazdziora2013-11-041-0/+28
|
* Apache module mod_intercept_form_submit.Jan Pazdziora2013-10-301-0/+335