Commit Graph

148 Commits (2209c0cf6e556c47c8f21fbe91e75b4b4558304c)

Author SHA1 Message Date
Glenn Strauss a46f519eb2 [multiple] use NSS crypto if no other crypto avail
use NSS crypto if no other crypto avail, but NSS crypto is available

"NSS crypto support" is not included in tests/
due to NSS libraries (freebl3) lacking public export for HMAC funcs
2020-10-19 21:40:14 -04:00
Glenn Strauss c3a85c9bf5 [mod_wolfssl] standalone module
standalone module forked from mod_openssl
2020-10-11 12:19:26 -04:00
Glenn Strauss ceddd40ad6 [build] fix typo in option description for wolfSSL
(thx avij)
2020-10-11 12:19:26 -04:00
Glenn Strauss 5a694281da [core] ls-hpack optimizations
  lighttpd does not require HTTP/1.1 output compat from HPACK decoder
  ("field-name: value\r\n")

define NDEBUG (in ls-hpack/lshpack.c)
  lighttpd spends upwards of 20% total lighttpd CPU time in HPACK
  encode/decode in h2load test on static file over cleartext (not TLS)
  Defining NDEBUG eliminates some asserts() and results in a small
  but measurable reduction in CPU usage
2020-10-11 12:19:26 -04:00
Glenn Strauss 70b1af0640 [core] link in ls-hpack (EXPERIMENTAL)
LiteSpeed ls-hpack v2.2.1

XXX: might be better to include this as a git submodule
but minor code changes were made here for portability:
- C99 flexible array members defined as a[] instead of a[0])
- pedantic compiler warnings (excess ';' and missing declarations)
- deletion of large tables from ls-hpack/huff-tables.h (code size)
2020-10-11 11:43:06 -04:00
Glenn Strauss bc5d4b3492 [mod_compress] remove mod_compress 2020-08-02 06:46:22 -04:00
Glenn Strauss f47ffb438c [build] bzip2 default to not-enabled in build
./configure --with-bzip2 to enable

(autoconf build previously had bzip2 enabled by default, but bzip2
 already disabled by default in CMake, SCONS, and meson build configs)
2020-08-02 06:46:22 -04:00
Glenn Strauss 8d5e237c60 [mod_deflate] Brotli support
configuration option: ./configure --with-brotli
2020-08-02 06:46:22 -04:00
Glenn Strauss fed2ecae19 [mod_authn_dbi] authn backend employing DBI 2020-07-16 00:29:43 -04:00
Glenn Strauss e00deb5578 [mod_nss] NSS option for TLS (fixes #1218)


mod_nss supports most ssl.* config options supported by mod_openssl

  "alternate ssl backend"
2020-07-08 22:51:32 -04:00
Glenn Strauss 68387462e0 [build] point ./configure --help to support forum
./configure --help will point people to the support forums, as the vast
majority of "bugs" filed are support requests. The lighttpd homepage
( sidebar links "bugs" to
2020-07-08 22:51:31 -04:00
Glenn Strauss bf4054f8ec [mod_gnutls] GnuTLS option for TLS (fixes #109)

mod_gnutls supports most ssl.* config options supported by mod_openssl

  "GnuTLS support for the mod_ssl"
2020-07-08 22:51:31 -04:00
Glenn Strauss 455dc03778 [core] prefer getxattr() instead of get_attr()
(when lighttpd is built ./configure --with-attr)
2020-07-08 22:51:31 -04:00
Glenn Strauss cb753ec5b5 [mod_mbedtls] mbedTLS option for TLS

mod_mbedtls supports most ssl.* config options supported by mod_openssl

thx Ward Willats for the initial discussion and attempt in the comments
2020-07-08 22:51:31 -04:00
Glenn Strauss b28a3714c4 [multiple] ./configure --with-nettle to use Nettle
./configure --with-nettle to use Nettle crypto lib for algorithms,
instead of OpenSSL or wolfSSL.  Note: Nettle does not provide TLS.

  "How to use SHA-256 without OpenSSL?"
2020-07-08 19:54:30 -04:00
Glenn Strauss 0d62b8657b [mod_webdav] use copy_file_range() if available 2020-07-08 19:54:29 -04:00
Glenn Strauss 2230b08ef4 - next is 1.4.56 2020-01-31 22:27:44 -05:00
Niclas Rosenvik 8c9b5480f3 [core] Solaris has getloadavg in sys/loadavg.h
SunOS/Solaris/Illumos has getloadavg declared in sys/loadavg.h .

github: closes #101
2020-01-30 21:47:59 -05:00
Glenn Strauss e790203a75 [build] PGSQL_CFLAGS with pkg-config for postgres (#2965)
  "pg_config is deprecated to build postgres client applications"
2019-09-11 02:04:44 -04:00
Glenn Strauss 3eff9bac4e [build] prefer pkg-config for postgres (fixes #2965)
  "pg_config is deprecated to build postgres client applications"
2019-09-07 14:53:00 -04:00
Stefan Bühler 79760d935a Use explicit_memset from NetBSD if available for safe_memclear (fixes #2971) 2019-08-22 13:08:28 +02:00
Glenn Strauss 51a46f0211 - next is 1.4.55 2019-05-27 17:46:26 -04:00
Glenn Strauss 4ac239c401 [mod_maxminddb] MaxMind GeoIP2 support 2019-05-26 10:21:57 -04:00
Glenn Strauss 52c489837f [build] detect FreeBSD elftc_copyfile() 2019-05-05 23:05:02 -04:00
yangfl 6962fc2a5a [mod_webdav] fix uuid detection macro
github: #97

2019-04-22 01:08:58 -04:00
Glenn Strauss 2f46736edc [build] remove -Wdeclaration-after-statement
Declarations after statements has been permitted since C99.
(That was 20 years ago!)
2019-03-09 23:20:21 -05:00
Glenn Strauss 40ded06b08 - next is 1.4.54 2019-01-27 04:47:20 -05:00
Glenn Strauss 4608ddec2f [build] autotools: try mysqlclient.pc and mariadb.pc (fixes #2925)
(thx helmut)

  "autotools cross build failure with lighttpd"
2019-01-19 17:42:12 -05:00
Glenn Strauss 53c231a764 - next is 1.4.53 2018-11-28 23:56:50 -05:00
Glenn Strauss 3d60d8535f [build] Fix unportable test(1) operator
(thx Thomas Klausner)
2018-10-16 09:59:43 -04:00
Glenn Strauss c9a64d94fc - next is 1.4.52 2018-10-14 18:34:55 -04:00
Glenn Strauss 778b07a034 [build] automake support for wolfSSL 2018-10-07 23:47:56 -04:00
Glenn Strauss fc1ddbed33 [mod_sockproxy] add to build
2018-09-23 18:01:58 -04:00
Glenn Strauss df4812ec2e [mod_authn_pam] mod_auth PAM support (fixes #688)
  "auth via pam"
2018-09-23 18:01:58 -04:00
Glenn Strauss a9e131fa37 - next is 1.4.51 2018-08-13 00:43:56 -04:00
Glenn Strauss 6ccccaaa38 [tests] move src/test_*.c to src/t/ 2018-08-05 03:44:15 -04:00
Glenn Strauss fefc82153a [build] remove m4 AC_PATH_PROG for PKG_CONFIG
2018-03-25 01:06:58 -04:00
Glenn Strauss ae54806dc2 - next is 1.4.50 2018-03-11 21:54:44 -04:00
Glenn Strauss 7265c72b6c [autoconf] reduce minimum automake version to 1.13
Although removal of AM_PROG_CC_C_O in f107bac8 requires automake 1.14
to provide the same functionality in AC_PROG_CC, any widely used,
modern compiler supports cc -c -o.  Reducing the minimum required
automake version avoids the current need for Centos 7 maintainers
to patch in order to build binary packages.
2018-03-07 00:35:55 -05:00
Glenn Strauss de937f47f8 - next is 1.4.49 2017-11-12 00:53:51 -05:00
Glenn Strauss d61714dd0d [mod_authn_sasl] SASL auth (new) (fixes #2275)

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

  "SASL auth like libapache2-mod-authn-sasl"
2017-11-05 20:11:07 -05:00
Glenn Strauss fdc4c324c4 [mod_authn_ldap] replace use of deprecated funcs
replace use of deprecated funcs
2017-11-05 18:50:25 -05:00
Glenn Strauss 82d374328f [autobuild] allow sendfile() in cross-compile (fixes #2836)
allow sendfile() in cross-compile if sys/sendfile.h header detected
and sendfile() symbol detected (e.g. in libc)

If sendfile() is present but always returns ENOSYS, lighttpd will
be slightly less efficient, but will fall back to writev() or write()

User should explicitly set = "writev" in
lighttpd.conf on systems with broken sendfile()

  "Remove check for broken sendfile implementations"
2017-11-02 00:41:53 -04:00
Glenn Strauss caab4cdf8a [autobuild] remove obsolete warning about mmap use
lighttpd protects against SIGBUS when accessing mmap'd files
2017-10-28 23:02:32 -04:00
Stefan Bühler 6976b5e8a8 [autobuild] generate version id with m4 instead of awk 2017-10-28 22:48:12 -04:00
Stefan Bühler a45f3bac58 [autobuild] improve feature+module counting 2017-10-28 22:48:12 -04:00
Stefan Bühler 6751571805 [autobuild] simple check for fork 2017-10-28 22:48:12 -04:00
Stefan Bühler 5854466908 [autobuild] improve crypt[_r] 2017-10-28 22:48:12 -04:00
Stefan Bühler 34ded72469 [autobuild] improve openssl 2017-10-28 22:48:12 -04:00
Stefan Bühler 2c69ef6704 [autobuild] kerberos improvements 2017-10-28 22:48:12 -04:00