Glenn Strauss
f03e5e239d
[tests] t/test_keyvalue
...
create t/test_keyvalue to replace sparse tests in
tests/mod-redirect.t and tests/mod-rewrite.t
remove tests/mod-redirect.t and tests/mod-rewrite.t
4 years ago
Glenn Strauss
5a32d0f72a
[mod_access] t/test_mod_access
...
create t/test_mod_access to test mod_access basic logic
remove tests/mod-access.t
4 years ago
Glenn Strauss
8aad091613
[mod_evhost] t/test_mod_evhost
...
create t/test_mod_evhost to test mod_evhost basic logic
remove tests/mod-evhost.t
4 years ago
Glenn Strauss
b2a6239851
[mod_simple_vhost] t/test_mod_simple_vhost
...
create t/test_mod_simple_vhost to test mod_simple_vhost basic logic
remove tests/mod-simplevhost.t, which was not testing mod_simple_vhost
4 years ago
Glenn Strauss
923b321094
[build] meson support for wolfSSL
...
meson.build needed to change some args to lists to support meson objects
4 years ago
Glenn Strauss
e3c39f5cbc
[meson] build fixes for libmariadb and libsasl2
...
(commented out test for libmysqlclient in favor of libmariadb)
4 years ago
Glenn Strauss
d6bd929e5d
[build] put request.c in common src
...
put request.c in common src for CMake, SCons, and meson builds
(request.c is already in common source list in Makefile.am)
4 years ago
Glenn Strauss
2dbcfc9266
[core] inline status_counter routines
4 years ago
Glenn Strauss
002a4c524d
[core] array_get_int_ptr()
4 years ago
Glenn Strauss
66ff05db8f
[tests] t/test_array.c
...
(more tests should be added, but starting with something has benefits)
4 years ago
Glenn Strauss
fc1ddbed33
[mod_sockproxy] add to build
...
(experimental)
4 years ago
Glenn Strauss
df4812ec2e
[mod_authn_pam] mod_auth PAM support ( fixes #688 )
...
x-ref:
"auth via pam"
https://redmine.lighttpd.net/issues/688
4 years ago
Glenn Strauss
3dd3cde902
[core] abstraction layer for HTTP header manip
...
http_header.[ch]
convert existing calls to manip request/response headers
convert existing calls to manip environment array (often header-related)
4 years ago
Glenn Strauss
c791877f13
[build] add missing file for test_burl
...
add missing file for test_burl for cmake and meson builds
4 years ago
Glenn Strauss
3eb7902e10
[core] server.http-parseopts URL normalization opt ( fixes #1720 )
...
server.http-parseopts = ( ... ) URL normalization options
Note: *not applied* to CONNECT method
Note: In a future release, URL normalization likely enabled by default
(normalize URL, reject control chars, remove . and .. path segments)
To prepare for this change, lighttpd.conf configurations should
explicitly select desired behavior by enabling or disabling:
server.http-parseopts = ( "url-normalize" => "enable", ... )
server.http-parseopts = ( "url-normalize" => "disable" )
x-ref:
"lighttpd ... compares URIs to patterns in the (1) url.redirect and (2) url.rewrite configuration settings before performing URL decoding, which might allow remote attackers to bypass intended access restrictions, and obtain sensitive information or possibly modify data."
https://www.cvedetails.com/cve/CVE-2008-4359/
"Rewrite/redirect rules and URL encoding"
https://redmine.lighttpd.net/issues/1720
4 years ago
Glenn Strauss
6ccccaaa38
[tests] move src/test_*.c to src/t/
4 years ago
Glenn Strauss
a46bc4f5de
[core] remove proc_open.[ch], reduce stdio.h use
4 years ago
Glenn Strauss
c56b21084e
[core] http_kv.[ch] method, status, version str
...
move method, status, version strings from keyvalue.[ch] to http_kv.[ch]
4 years ago
Glenn Strauss
1b62dc325c
[tests] test_request unit tests
...
unit tests for request processing
collect existing request processing tests from Perl tests/*.t
(test_request.c runs *much* more quickly than Perl tests/*.t)
4 years ago
Glenn Strauss
e8c1efd5df
[core] data_config_pcre_compile,exec()
...
collect PCRE usage related to config processing
4 years ago
Glenn Strauss
d61714dd0d
[mod_authn_sasl] SASL auth (new) ( fixes #2275 )
...
(experimental)
HTTP Basic authentication using saslauthd
server.modules += ( "mod_auth" )
server.modules += ( "mod_authn_sasl" )
auth.backend = "sasl"
auth.backend.sasl.opts = ( "pwcheck_method" => "saslauthd" ) # default
x-ref:
"SASL auth like libapache2-mod-authn-sasl"
https://redmine.lighttpd.net/issues/2275
5 years ago
Glenn Strauss
fdc4c324c4
[mod_authn_ldap] replace use of deprecated funcs
...
[mod_authn_ldap,mod_vhostdb_ldap]
replace use of deprecated funcs
remove -DLDAP_DEPRECATED
5 years ago
Glenn Strauss
a9d1c46fb9
[build] fix link of test_configfile.c
5 years ago
Glenn Strauss
142971a80c
[core] consolidate backend network write handlers
...
network_write.[ch] isolates various write, writev, sendfile wrappers
5 years ago
Glenn Strauss
1367f60626
[core] isolate sock_addr manipulation
5 years ago
Stefan Bühler
16c4530e61
[meson] new build system
...
Needed to extend lemon to take an output path parameter.
5 years ago