History log of /lighttpd1.4/src/ (Results 1 – 25 of 4023)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
2925a09512-Mar-2023 Glenn Strauss <[email protected]>

[scons] fix static build to include builtin_mods

708211e212-Mar-2023 Glenn Strauss <[email protected]>

[core] cast to fix compiler error in prior commit

0ccf30c008-Mar-2023 Glenn Strauss <[email protected]>

[mod_accesslog] %{mask}a to mask/anonymize IP

(thx pmconrad)

IPv4: mask final octet (8 bits) of address
IPv6: mask final 10 octets (80 bits) of address

x-ref:
Enable partial masking of IP addres

[mod_accesslog] %{mask}a to mask/anonymize IP

(thx pmconrad)

IPv4: mask final octet (8 bits) of address
IPv6: mask final 10 octets (80 bits) of address

x-ref:
Enable partial masking of IP addresses in access logs
https://github.com/lighttpd/lighttpd1.4/pull/124
IP masking in Universal Analytics
https://support.google.com/analytics/answer/2763052

github: closes #124

show more ...

0074592528-Feb-2023 Glenn Strauss <[email protected]>

[core] use C23 memset_explicit() were available

e081764626-Feb-2023 Glenn Strauss <[email protected]>

[mod_extforward] manage remote addr per request (fixes #3192)

manage remote addr per request for HTTP/2 requests,
rather than remote addr per connection.

Modern load balancers often provide options

[mod_extforward] manage remote addr per request (fixes #3192)

manage remote addr per request for HTTP/2 requests,
rather than remote addr per connection.

Modern load balancers often provide options to reuse connections for
*different* clients, and therefore mod_extforward might change the
remote addr per request.

x-ref:
"RFE: mod_extforward and multiplexed requests via HTTP/2"
https://redmine.lighttpd.net/issues/3192
"Evaluation of remote_addr for mod_maxminddb for multiplexed connections"
https://redmine.lighttpd.net/issues/3191

show more ...

3a8fc4bc26-Feb-2023 Glenn Strauss <[email protected]>

[multiple] store ptrs to remote addr in request_st (#3192)

adds two pointers to (request_st *) (cost: 16 bytes in 64-bit builds)

prepares for upcoming changes to mod_extforward to manage remote add

[multiple] store ptrs to remote addr in request_st (#3192)

adds two pointers to (request_st *) (cost: 16 bytes in 64-bit builds)

prepares for upcoming changes to mod_extforward to manage remote addr
per request for HTTP/2 requests, rather than remote addr per connection.

Modern load balancers often provide options to reuse connections for
*different* clients, and therefore mod_extforward might change the
remote addr per request.

x-ref:
"RFE: mod_extforward and multiplexed requests via HTTP/2"
https://redmine.lighttpd.net/issues/3192
"Evaluation of remote_addr for mod_maxminddb for multiplexed connections"
https://redmine.lighttpd.net/issues/3191

show more ...

02dce5e225-Feb-2023 Glenn Strauss <[email protected]>

[mod_maxminddb] check remote IP each request (fixes #3191)

Many load balancers have options to reuse the same connection for
multiple clients, so check remote IP each request to detect if remote IP

[mod_maxminddb] check remote IP each request (fixes #3191)

Many load balancers have options to reuse the same connection for
multiple clients, so check remote IP each request to detect if remote IP
has changed for a subsequent requests on the same connection, e.g. due
to mod_extforward.

x-ref:
"Evaluation of remote_addr for mod_maxminddb for multiplexed connections"
https://redmine.lighttpd.net/issues/3191

show more ...

de11c96f14-Feb-2023 Glenn Strauss <[email protected]>

[core] cache format secs for high prec errlog

cache formatted secs string for high precision errorlog timestamp

6dd50d1d13-Feb-2023 Glenn Strauss <[email protected]>

[build] skip build separate modules for built-ins

skip building separate modules for built-in modules

Small modules with minimal dependencies are now built-in to lighttpd.
All 12 of these modules h

[build] skip build separate modules for built-ins

skip building separate modules for built-in modules

Small modules with minimal dependencies are now built-in to lighttpd.
All 12 of these modules have a memory footprint that is approximately
the same as 1 single module built as a .dll due to mandatory minimum
binary sections and memory page sizes (4k each).

show more ...

2ecbe1d110-Feb-2023 Glenn Strauss <[email protected]>

[autotools] chmod u+w configparser.c for lemon

chmod u+w configparser.c for lemon

configparser.c might be created mode 444 and then a subsequent
repeat call to lemon will fail EACCES

This fixes th

[autotools] chmod u+w configparser.c for lemon

chmod u+w configparser.c for lemon

configparser.c might be created mode 444 and then a subsequent
repeat call to lemon will fail EACCES

This fixes that scenario in top level ./packdist.sh script.

show more ...

ba2246ad08-Feb-2023 Glenn Strauss <[email protected]>

[core] remove extra HTTP/2 HEADERS frame len check

remove extra HTTP/2 HEADERS frame len check
(now that the check has been added to proper place in prior commit)

1db46ae706-Feb-2023 Glenn Strauss <[email protected]>

[core] fix HTTP/2 HEADERS frame parsing bug

(thx Sig Run for reproduction cases, ASAN logs, valgrind logs)

credit: sig.run https://hackerone.com/sigrun

2023.02.10 edit:
CVE ID assignment requested

[core] fix HTTP/2 HEADERS frame parsing bug

(thx Sig Run for reproduction cases, ASAN logs, valgrind logs)

credit: sig.run https://hackerone.com/sigrun

2023.02.10 edit:
CVE ID assignment requested a few days ago, but id not yet assigned

show more ...

7a2abc1905-Feb-2023 Glenn Strauss <[email protected]>

[mod_webdav] send 409 Conflict if PUT miss parent

send 409 Conflict if PUT into parent collection which does not exist

93b0e85d03-Feb-2023 Glenn Strauss <[email protected]>

[core] reset path-info for cgi.local-redir

cgi.local-redir occurs in the subrequest handler, by which point
path-info has been set. Since CGI local redir might restart the
request for an entirely d

[core] reset path-info for cgi.local-redir

cgi.local-redir occurs in the subrequest handler, by which point
path-info has been set. Since CGI local redir might restart the
request for an entirely different URL, reset the path info.

Note: mod_rewrite, mod_magnet, and others which may restart the request
do so prior to path-info being set.

path-info is always reset between different requests.

show more ...

c46ea25903-Feb-2023 Glenn Strauss <[email protected]>

[core] path-info in debug trace may be unset

path-info in debug trace (debug.log-request-handling) may be unset

76b8298f03-Feb-2023 Glenn Strauss <[email protected]>

[mod_dirlisting] use fdevent_rename() wrapper

7967fdf502-Feb-2023 Glenn Strauss <[email protected]>

[mod_cgi] cygwin supports CGI file I/O redirection

remove the special-case which disabled this for issue in older cygwin

5e9f474802-Feb-2023 Glenn Strauss <[email protected]>

[autotools] skip modules build if LIGHTTPD_STATIC

c8d6209101-Feb-2023 Glenn Strauss <[email protected]>

[autotools] add mod_evhost to static build list

32f0e26d31-Jan-2023 Glenn Strauss <[email protected]>

[core] fdevent_poll_poll avoid potential race

fdevent_poll_poll avoid potential race with pollfds list being extended

8c4dec2931-Jan-2023 Glenn Strauss <[email protected]>

[core] gw_backend more precise backend env alloc

remove excess +1 per env string

d74025f831-Jan-2023 Glenn Strauss <[email protected]>

[core] avoid select() FD_ISSET repeat on active fds

fbf42d7930-Jan-2023 Glenn Strauss <[email protected]>

[core] move headers to help isolate fdevent layer

move headers to help isolate fdevent layer from layers above

0787b10323-Jan-2023 Glenn Strauss <[email protected]>

[core] iOS does not provide netinet/tcp_fsm.h

x-ref:
https://redmine.lighttpd.net/boards/3/topics/10842

7ec82a5523-Jan-2023 Glenn Strauss <[email protected]>

[core] disable sendfile() on TARGET_OS_IPHONE

x-ref:
https://redmine.lighttpd.net/boards/3/topics/10842
https://github.com/ndfred/iperf-ios/issues/17
https://github.com/dotnet/runtime/pull/694

[core] disable sendfile() on TARGET_OS_IPHONE

x-ref:
https://redmine.lighttpd.net/boards/3/topics/10842
https://github.com/ndfred/iperf-ios/issues/17
https://github.com/dotnet/runtime/pull/69436

show more ...

12345678910>>...161