Commit Graph

2517 Commits (d61714dd0de1acd75ffe3dab7dc109a73926a49a)
 

Author SHA1 Message Date
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
6 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
6 years ago
Glenn Strauss 5a5ce3dc75 [doc] NEWS - fix improper format line breaks 6 years ago
Glenn Strauss c09acbeb8a [mod_openssl] ssl.openssl.ssl-conf-cmd (fixes #2758)
(similar to Apache mod_ssl SSLOpenSSLConfCmd directive)

(experimental)

This new directive is for use with OpenSSL only, and is not currently
available in LibreSSL.

https://wiki.openssl.org/index.php/Manual:SSL_CONF_cmd(3)

lighttpd takes "file commands" not "command line commands" as
openssl SSL_CONF_cmd() appears to permit only one mode at a time.

lighttpd processes this directive after all other ssl.* directives
have been applied for the $SERVER["socket"] scope.

x-ref:
  "Option to disable TLS session tickets"
  https://redmine.lighttpd.net/issues/2758
  "Allow to selectively disable TLS 1.0, 1.1 and 1.2 versions"
  https://github.com/lighttpd/lighttpd1.4/pull/84

github: closes #84
6 years ago
Glenn Strauss 1a22ca87f9 [mod_openssl] allow specifying server cert chain (fixes #2692)
x-ref:
  "allow setting explicit SSL server certificate chain"
  https://redmine.lighttpd.net/issues/2692
  https://github.com/lighttpd/lighttpd1.4/pull/62

github: closes #62
6 years ago
Glenn Strauss 35ecd4dd9d [mod_openssl] more pedantic check of return values
more pedantic check of return values for openssl interfaces

(and minor adjustment of whitespace)

x-ref:
  https://redmine.lighttpd.net/issues/2692
  https://github.com/lighttpd/lighttpd1.4/pull/62
6 years ago
Glenn Strauss da6b2dc1b6 [core] quiet coverity false positive 6 years ago
Glenn Strauss a9d1c46fb9 [build] fix link of test_configfile.c 6 years ago
Glenn Strauss d6e184aca9 [mod_cgi] quiet trace if mod_cgi sends SIGTERM (fixes #2838)
(spurious trace began in lighttpd 1.4.46)

x-ref:
  ".47 always kills git-http-backend"
  https://redmine.lighttpd.net/issues/2838
6 years ago
Glenn Strauss 0e84df8180 [core] fix lighttpd -1 one-shot graceful shutdown
fix lighttpd -1 graceful shutdown (one-shot mode)
(regression in lighttpd 1.4.46)
6 years ago
Glenn Strauss bfef0907bd [mod_openssl] error if ssl.engine in wrong section (fixes #2837)
error if ssl.engine in wrong section of config.
ssl.engine is valid only in global scope or $SERVER["socket"] condition

x-ref:
  "HTTPS requests timeout when cert not set for socket"
  https://redmine.lighttpd.net/issues/2837
6 years ago
Glenn Strauss 8f3bbd7f13 [core] isolate backend fdevent handler defs 6 years ago
Glenn Strauss 7b2514cdad [core] quiet pedantic cc warning for excess comma 6 years ago
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 server.network-backend = "writev" in
lighttpd.conf on systems with broken sendfile()

x-ref:
  "Remove check for broken sendfile implementations"
  https://redmine.lighttpd.net/issues/2836
6 years ago
Glenn Strauss 142971a80c [core] consolidate backend network write handlers
network_write.[ch] isolates various write, writev, sendfile wrappers
6 years ago
Glenn Strauss 9287c87dcd [core] cleanup: consolidate FAM code in stat_cache 6 years ago
Glenn Strauss 6e87da7195 [core] cleanup unused ifndef 6 years ago
Glenn Strauss f97f2e359c [stat_cache] remove debug code littered in file 6 years ago
Glenn Strauss 1367f60626 [core] isolate sock_addr manipulation 6 years ago
Glenn Strauss caab4cdf8a [autobuild] remove obsolete warning about mmap use
lighttpd protects against SIGBUS when accessing mmap'd files
6 years ago
Glenn Strauss f394207d5f [core] fix implicit wildcard IPv4 and IPv6 listen
fix implicit wildcard IPv4 and IPv6 listening (regression in 1.4.46)

(broken in commit:5248b46c)

workaround (without this patch): server.set-v6only = "disable"
(which may produce a warning when lighttpd parses config)

x-ref:
  https://redmine.lighttpd.net/boards/2/topics/7720
6 years ago
Glenn Strauss b27f1c0910 [core] fix var.CWD (regression in 1.4.46) (fixes #2835)
(broken in commit:86bb8be2)

x-ref:
  "empty var.CWD"
  https://redmine.lighttpd.net/issues/2835
6 years ago
Stefan Bühler 16c4530e61 [meson] new build system
Needed to extend lemon to take an output path parameter.
6 years ago
Glenn Strauss 02ad06b080 [autobuild] Merge branch 'personal/stbuehler/autobuild-cleanup' 6 years ago
Stefan Bühler 6976b5e8a8 [autobuild] generate version id with m4 instead of awk 6 years ago
Stefan Bühler a45f3bac58 [autobuild] improve feature+module counting 6 years ago
Stefan Bühler 6751571805 [autobuild] simple check for fork 6 years ago
Stefan Bühler 5854466908 [autobuild] improve crypt[_r] 6 years ago
Stefan Bühler 34ded72469 [autobuild] improve openssl 6 years ago
Stefan Bühler 2c69ef6704 [autobuild] kerberos improvements 6 years ago
Stefan Bühler 955b029f2f [autobuild] move some checks to the top
Moved some generic checks from the middle of the "feature checks" to the
top.
6 years ago
Stefan Bühler 41cd7d25a8 [autobuild] lots of small cleanups
- remove checks with unused results
- make some failures explicit
- improve some fail messages
6 years ago
Stefan Bühler d8d7d1977a [autobuild] m4 and shell quoting, whitespace changes, sort some lists 6 years ago
Stefan Bühler f107bac819 [autobuild] require autoconf >= 2.60, automake >= 1.14
- AC_USE_SYSTEM_EXTENSIONS requires autoconf 2.60; using it replaces
  AC_AIX, AC_ISC_POSIX, AC_MINIX and -D__EXTENSIONS__
- require at least automake 1.12 to remove hack for serial-tests
- automake 1.12 is from 2012, automake 1.14 from 2013
- automake 1.14 allows us to drop AM_PROG_CC_C_O
- we don't use $LN_S, drop AC_PROG_LN_S
- silent-rules replaces AM_SILENT_RULES
6 years ago
Glenn Strauss 735d9757f7 [scons] Merge branch 'personal/stbuehler/scons-cleanup' 6 years ago
Stefan Bühler 3ba68b25d4 [scons] parse config programs output in a generic way 6 years ago
Stefan Bühler 2e79799681 [scons] break some lines in Append(...) calls 6 years ago
Stefan Bühler d57029c075 [scons] move LIB* initializing block 6 years ago
Stefan Bühler 7733376b5a [scons] split function names, break some lines 6 years ago
Stefan Bühler 42704e312e [scons] wrap Configure in local Autoconf class 6 years ago
Stefan Bühler 706910ac6a [scons] add some generic defintions early
Also add _GNU_SOURCE.
6 years ago
Stefan Bühler f78749d3c6 [scons] fix warnings with deprecated ldap api 6 years ago
Stefan Bühler 66e0cd16b2 [scons] explicit fails when wanted features are missing 6 years ago
Stefan Bühler 505cc7856d [scons] check all features in autoconf block and sort them 6 years ago
Stefan Bühler 08c8749b48 [scons] add with_uuid option, document webdav relations 6 years ago
Stefan Bühler a4f7845dbf [scons] fix dbi 6 years ago
Stefan Bühler 2eb7287a98 [scons] don't screw env[LIBS]
- copy() when collecting dependencies for static module linking
- copy() when following operations append to it and we don't reset it to
  an empty list
- use autoadd = 0 for many functions to prevent modifying env[LIBS] in
  the first place
- append to env[LIBS] manually to make it explicit (fam and rt)
6 years ago
Stefan Bühler 2144cd2e39 [scons] link -static-libgcc instead of gcc_s 6 years ago
Stefan Bühler 68a92f2c3c [scons] don't link pthread twice in --whole-archive workaround 6 years ago
Stefan Bühler b8989bf2dd [scons] fix some lib dependencies
- mod_cml: doesn't need pcre
- mod_trigger_b4_dl: needs gdbm
- lighttpd: needs crypto and pcre
6 years ago