Skip to content

Commit 30fbc24

Browse files
author
Colum Paget
committed
v4.6
1 parent 9c81b58 commit 30fbc24

File tree

7 files changed

+189
-37
lines changed

7 files changed

+189
-37
lines changed

CHANGELOG

+142
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
v4.6 (2025-03-10)
2+
* bundled libUseful dir now named libUseful-bundled to prevent confusion with any installed libUseful
3+
* Upgrade to libUseful-5, this should fix issues with rotating logfiles
4+
5+
v4.5 (2022-04-04)
6+
* Use locale timezone.
7+
* Added -pfs and PerfectForwardSecrecy options to command-line and config file
8+
* add Settings.Timezone
9+
* fix XML returned on PROPFIND 404
10+
11+
v4.4 (2020-11-30)
12+
* Fix for uninitialized pidfile path error
13+
* Add -P command-line option and PidFile= config file option
14+
* Fix for bug introduced by 'unshare' feature that disables 'ChHome' feature
15+
16+
v4.1 (2020-10-09)
17+
* fastopen now only enabled in https by default. added TCPFastOpen and ListenQueue config options
18+
19+
v4.0 (2020-10-09)
20+
* added REUSEPORT and namespaces
21+
* added namespaces support
22+
* handle chroot better when server not running as root
23+
* Fix for pipes being held open by other processes that shouldn't even have them
24+
25+
v3.2 (2020-04-24)
26+
* fix for vpath directory traversals
27+
28+
v3.1 (2020-04-23)
29+
* Handle being used through a proxy or frontend that is encrypting for us.
30+
* Added 'Upload' events support.
31+
* Don't display 'move selected' and 'delete selected' if interactive mode not enabled.
32+
33+
v3.0 (2020-04-12)
34+
* Support HTTPS/HTTP on same port.
35+
* Added SOCKS service support.
36+
* Fix CGI bug for slow .cgi scripts.
37+
* Add proxy allow/deny config.
38+
39+
v2.3 (2019-10-29)
40+
* Fix for silly 'missing return' issue that leaves directory listing broken on some systems, while miraculously working on others
41+
42+
v2.2 (2019-10-18)
43+
* fix for autoconf check for xattr. Only use this feature if asked
44+
* Fix for SIGPIPE issues.
45+
* Added 'local' vpath type (for use with let's encrypt).
46+
47+
v2.1 (2016-04-06)
48+
* Fixed slow cgi scripts.
49+
* Fixed 'UTC only' in cgi scripts
50+
* bugfix: fix crash when permission denied on reading a media file into an m3u listing
51+
52+
v2.0 (2016-03-25)
53+
* Added -sslv command-line option.
54+
* Fixing some problems with KeepAlive/Session Reuse
55+
* Added 'password' option to VPaths
56+
* bugfixes for PROXY VPaths
57+
* multiple bugfixes, including one relating to authentication
58+
* fix for cookie-header problem.
59+
* Fixes for POST to cgi programs
60+
* Session Cookie Authentication added.
61+
* Connection: Keep-Alive is now on by default
62+
* Bigger default memory resources due to experience with php.
63+
* VPaths can now take 'user=' and 'group=' arguments to specify which user to switch to when accessing a vpath
64+
* read resolution of image files. So far only works for BMP!
65+
* cache-age can now be set against a VPath. Better handling of child processes and the sockets they talk on. The 'send directory as tar' option can now support a selection of files, and user-defined package types using external programs like tar, rar or zip.
66+
* pam-account checking added
67+
* Initial Websockets work
68+
* added REMOTE_MAC support
69+
* log to file (event logfile) now works
70+
* Better handling of POST requests
71+
* upgraded libUseful. Fixed handling of form data containing HTTP entites.
72+
* MkDir now works with folders that have a spaces within the name.
73+
* Access tokens can now be generated on a file's Edit/Details page. General fixes for compiler warnings.
74+
* Only supply access tokens in .m3u files if access token authentication is enabled
75+
* Authentication cleanups, Fix for 'deny' mode not working if pam not enabled
76+
* Fix for paths containing single-quotes
77+
* MaxLogSize setting can now take k,M,G suffixes
78+
* Fixed stray \r bug for cgi scripts (added 'StripTrailingWhitespace'),
79+
* Added Resource Limits
80+
* Events framework extended to work with response codes, even from within chroot.
81+
* Changes to ensure exit if SSL negotation fails
82+
* Anti-shellshock changes with the 'SetEnvironmentVariable' function that cleans occurances of '()' out of CGI envornment variables.
83+
* changes to prevent 'endless loop' when reading ID3 tags
84+
* More changes to access tokens to allow their use in less trusted environments, and removal of insistance on HTTP Method, so an access token now grants permission to HEAD, GET, OPTIONS, but never PUT or POST
85+
* Added X-Media headers
86+
* added timezone setting
87+
* File properties stored in .prop file or xattr.
88+
* Added secret key for access token authentication
89+
* Safari has issues with http keep-alive, so that feature can now be turned on or off as required
90+
* Run Event scripts as a non-root user
91+
92+
v1.3
93+
* Support for client certificates.
94+
* Support for Perfect Forward Secrecy.
95+
96+
v1.2
97+
* IPv6 support added.
98+
* Capabilities support added: most capabilities dropped at startup.
99+
100+
v1.1
101+
* Proxy support working again.
102+
* 'UserAgentSettings' added.
103+
* Digest Authentication added (READ THE 'README'!).
104+
* Ability to log out of HTTP session by going to a fake url.
105+
106+
v1.0.4
107+
* Support for custom headers to be added from config-file.
108+
* Added 'LookupClientHost' option to allow turning client hostname lookups on/off.
109+
110+
v1.0.1
111+
* Anti-cross-site-scripting system added.
112+
113+
v1.0.0
114+
* Numerous minor bugfixes,
115+
116+
v0.0.11
117+
* Added security hash for cgi scripts.
118+
* Added specifiable interpreters for scripting languages.
119+
* Added support for 'chained' certificates bundled in a .pem format file.
120+
121+
v0.0.10
122+
* webdav 'COPY' implemented
123+
124+
v0.0.9
125+
* enhanced directory listings added.
126+
127+
v0.0.8
128+
* proxy POST added.
129+
130+
v0.0.7
131+
* Gzip compression added for downloads.
132+
133+
v0.0.6
134+
* Authentication 'realm' now set to hostname and overridable via commandline/config file options.
135+
136+
v0.0.5
137+
* Rudimentary proxy server support added ('CONNECT' method and proxy 'GET' method).
138+
139+
v0.0.4
140+
* Fixes to PROPFIND to work with cyberduck
141+
* -allowed and -denied switches added to command-line-args
142+

common.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include "Authenticate.h"
77

88
TSettings Settings;
9-
char *Version="4.5";
9+
char *Version="4.6";
1010

1111
void SetTimezoneEnv()
1212
{

config.log

+14-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ running configure, to aid debugging if configure makes a mistake.
44
It was created by configure, which was
55
generated by GNU Autoconf 2.71. Invocation command line was
66

7-
$ ./configure --enable-ssl --without-libuseful
7+
$ ./configure --enable-ssl
88

99
## --------- ##
1010
## Platform. ##
@@ -27,14 +27,19 @@ uname -v = #135-Ubuntu SMP Fri Sep 27 13:53:58 UTC 2024
2727
/usr/bin/oslevel = unknown
2828
/bin/universe = unknown
2929

30-
PATH: /usr/prebin/
3130
PATH: /home/colum/.local/bin/
3231
PATH: /home/colum/bin/
32+
PATH: /usr/prebin/
33+
PATH: ~/bin/
34+
PATH: /usr/local/sbin/
3335
PATH: /usr/local/bin/
36+
PATH: /usr/sbin/
3437
PATH: /usr/bin/
38+
PATH: /sbin/
3539
PATH: /bin/
36-
PATH: /usr/local/games/
3740
PATH: /usr/games/
41+
PATH: /usr/local/games/
42+
PATH: /snap/bin/
3843

3944

4045
## ----------- ##
@@ -243,8 +248,8 @@ configure:4075: $? = 0
243248
configure:4085: result: yes
244249
configure:4097: checking for EVP_CIPHER_CTX_init in -lcrypto
245250
configure:4120: gcc -o conftest -g -O2 conftest.c -lcrypto -lcrypt -lz >&5
246-
/usr/bin/ld: /tmp/ccToJYpf.o: in function `main':
247-
/home/colum/alaya-test/alaya-ooe/conftest.c:20: undefined reference to `EVP_CIPHER_CTX_init'
251+
/usr/bin/ld: /tmp/ccQclzmI.o: in function `main':
252+
/home/colum/work/alaya-next/conftest.c:20: undefined reference to `EVP_CIPHER_CTX_init'
248253
collect2: error: ld returned 1 exit status
249254
configure:4120: $? = 1
250255
configure: failed program was:
@@ -278,8 +283,8 @@ configure:4167: $? = 0
278283
configure:4177: result: yes
279284
configure:4191: checking for SSL_library_init in -lssl
280285
configure:4214: gcc -o conftest -g -O2 conftest.c -lssl -lcrypto -lcrypt -lz >&5
281-
/usr/bin/ld: /tmp/cclKosdI.o: in function `main':
282-
/home/colum/alaya-test/alaya-ooe/conftest.c:21: undefined reference to `SSL_library_init'
286+
/usr/bin/ld: /tmp/ccDSqKVp.o: in function `main':
287+
/home/colum/work/alaya-next/conftest.c:21: undefined reference to `SSL_library_init'
283288
collect2: error: ld returned 1 exit status
284289
configure:4214: $? = 1
285290
configure: failed program was:
@@ -334,8 +339,8 @@ generated by GNU Autoconf 2.71. Invocation command line was
334339
on colum-HP-ProDesk-400-G1-SFF
335340

336341
config.status:720: creating Makefile
337-
configure:5749: === configuring in libUseful-bundled (/home/colum/alaya-test/alaya-ooe/libUseful-bundled)
338-
configure:5810: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--enable-ssl' '--without-libuseful' --cache-file=/dev/null --srcdir=.
342+
configure:5749: === configuring in libUseful-bundled (/home/colum/work/alaya-next/libUseful-bundled)
343+
configure:5810: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--enable-ssl' --cache-file=/dev/null --srcdir=.
339344

340345
## ---------------- ##
341346
## Cache variables. ##

config.status

+3-3
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ $config_files
410410
411411
Report bugs to the package provider."
412412

413-
ac_cs_config='--enable-ssl --without-libuseful'
413+
ac_cs_config='--enable-ssl'
414414
ac_cs_version="\
415415
config.status
416416
configured by ./configure, generated by GNU Autoconf 2.71,
@@ -420,7 +420,7 @@ Copyright (C) 2021 Free Software Foundation, Inc.
420420
This config.status script is free software; the Free Software Foundation
421421
gives unlimited permission to copy, distribute and modify it."
422422

423-
ac_pwd='/home/colum/alaya-test/alaya-ooe'
423+
ac_pwd='/home/colum/work/alaya-next'
424424
srcdir='.'
425425
INSTALL='/usr/bin/install -c'
426426
test -n "$AWK" || AWK=awk
@@ -489,7 +489,7 @@ if $ac_cs_silent; then
489489
fi
490490

491491
if $ac_cs_recheck; then
492-
set X /bin/bash './configure' '--enable-ssl' '--without-libuseful' $ac_configure_extra_args --no-create --no-recursion
492+
set X /bin/bash './configure' '--enable-ssl' $ac_configure_extra_args --no-create --no-recursion
493493
shift
494494
\printf "%s\n" "running CONFIG_SHELL=/bin/bash $*" >&6
495495
CONFIG_SHELL='/bin/bash'

libUseful-bundled/config.log

+26-21
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ running configure, to aid debugging if configure makes a mistake.
44
It was created by configure, which was
55
generated by GNU Autoconf 2.71. Invocation command line was
66

7-
$ ./configure --disable-option-checking --prefix=/usr/local --enable-ssl --without-libuseful --cache-file=/dev/null --srcdir=.
7+
$ ./configure --disable-option-checking --prefix=/usr/local --enable-ssl --cache-file=/dev/null --srcdir=.
88

99
## --------- ##
1010
## Platform. ##
@@ -27,14 +27,19 @@ uname -v = #135-Ubuntu SMP Fri Sep 27 13:53:58 UTC 2024
2727
/usr/bin/oslevel = unknown
2828
/bin/universe = unknown
2929

30-
PATH: /usr/prebin/
3130
PATH: /home/colum/.local/bin/
3231
PATH: /home/colum/bin/
32+
PATH: /usr/prebin/
33+
PATH: ~/bin/
34+
PATH: /usr/local/sbin/
3335
PATH: /usr/local/bin/
36+
PATH: /usr/sbin/
3437
PATH: /usr/bin/
38+
PATH: /sbin/
3539
PATH: /bin/
36-
PATH: /usr/local/games/
3740
PATH: /usr/games/
41+
PATH: /usr/local/games/
42+
PATH: /snap/bin/
3843

3944

4045
## ----------- ##
@@ -166,8 +171,8 @@ configure:4011: $? = 0
166171
configure:4011: result: yes
167172
configure:4017: checking for htonll
168173
configure:4017: gcc -o conftest -g -O2 conftest.c -lc >&5
169-
/usr/bin/ld: /tmp/cc5KGcwf.o: in function `main':
170-
/home/colum/alaya-test/alaya-ooe/libUseful-bundled/conftest.c:47: undefined reference to `htonll'
174+
/usr/bin/ld: /tmp/cc5y5k3T.o: in function `main':
175+
/home/colum/work/alaya-next/libUseful-bundled/conftest.c:47: undefined reference to `htonll'
171176
collect2: error: ld returned 1 exit status
172177
configure:4017: $? = 1
173178
configure: failed program was:
@@ -224,8 +229,8 @@ configure: failed program was:
224229
configure:4017: result: no
225230
configure:4023: checking for ntohll
226231
configure:4023: gcc -o conftest -g -O2 conftest.c -lc >&5
227-
/usr/bin/ld: /tmp/ccfzOvL6.o: in function `main':
228-
/home/colum/alaya-test/alaya-ooe/libUseful-bundled/conftest.c:47: undefined reference to `ntohll'
232+
/usr/bin/ld: /tmp/ccVGScpp.o: in function `main':
233+
/home/colum/work/alaya-next/libUseful-bundled/conftest.c:47: undefined reference to `ntohll'
229234
collect2: error: ld returned 1 exit status
230235
configure:4023: $? = 1
231236
configure: failed program was:
@@ -370,8 +375,8 @@ configure:4364: $? = 0
370375
configure:4364: result: yes
371376
configure:4379: checking for EVP_CIPHER_CTX_init in -lcrypto
372377
configure:4402: gcc -o conftest -g -O2 conftest.c -lcrypto -lc -lc -lc -lc >&5
373-
/usr/bin/ld: /tmp/ccZBvb7x.o: in function `main':
374-
/home/colum/alaya-test/alaya-ooe/libUseful-bundled/conftest.c:52: undefined reference to `EVP_CIPHER_CTX_init'
378+
/usr/bin/ld: /tmp/ccw6ph5S.o: in function `main':
379+
/home/colum/work/alaya-next/libUseful-bundled/conftest.c:52: undefined reference to `EVP_CIPHER_CTX_init'
375380
collect2: error: ld returned 1 exit status
376381
configure:4402: $? = 1
377382
configure: failed program was:
@@ -437,8 +442,8 @@ configure:4449: $? = 0
437442
configure:4459: result: yes
438443
configure:4473: checking for SSL_library_init in -lssl
439444
configure:4496: gcc -o conftest -g -O2 conftest.c -lssl -lcrypto -lc -lc -lc -lc >&5
440-
/usr/bin/ld: /tmp/ccgQGnSy.o: in function `main':
441-
/home/colum/alaya-test/alaya-ooe/libUseful-bundled/conftest.c:53: undefined reference to `SSL_library_init'
445+
/usr/bin/ld: /tmp/ccLPhAP9.o: in function `main':
446+
/home/colum/work/alaya-next/libUseful-bundled/conftest.c:53: undefined reference to `SSL_library_init'
442447
collect2: error: ld returned 1 exit status
443448
configure:4496: $? = 1
444449
configure: failed program was:
@@ -505,8 +510,8 @@ configure:4543: $? = 0
505510
configure:4553: result: yes
506511
configure:4572: checking for OpenSSL_add_all_algorithms
507512
configure:4572: gcc -o conftest -g -O2 conftest.c -lssl -lcrypto -lc -lc -lc -lc >&5
508-
/usr/bin/ld: /tmp/ccMIveIS.o: in function `main':
509-
/home/colum/alaya-test/alaya-ooe/libUseful-bundled/conftest.c:73: undefined reference to `OpenSSL_add_all_algorithms'
513+
/usr/bin/ld: /tmp/cc4oeujr.o: in function `main':
514+
/home/colum/work/alaya-next/libUseful-bundled/conftest.c:73: undefined reference to `OpenSSL_add_all_algorithms'
510515
collect2: error: ld returned 1 exit status
511516
configure:4572: $? = 1
512517
configure: failed program was:
@@ -589,8 +594,8 @@ configure: failed program was:
589594
configure:4572: result: no
590595
configure:4578: checking for EVP_MD_CTX_create
591596
configure:4578: gcc -o conftest -g -O2 conftest.c -lssl -lcrypto -lc -lc -lc -lc >&5
592-
/usr/bin/ld: /tmp/ccHzqZdy.o: in function `main':
593-
/home/colum/alaya-test/alaya-ooe/libUseful-bundled/conftest.c:73: undefined reference to `EVP_MD_CTX_create'
597+
/usr/bin/ld: /tmp/ccUEzyG0.o: in function `main':
598+
/home/colum/work/alaya-next/libUseful-bundled/conftest.c:73: undefined reference to `EVP_MD_CTX_create'
594599
collect2: error: ld returned 1 exit status
595600
configure:4578: $? = 1
596601
configure: failed program was:
@@ -677,8 +682,8 @@ configure:4584: $? = 0
677682
configure:4584: result: yes
678683
configure:4590: checking for EVP_MD_CTX_destroy
679684
configure:4590: gcc -o conftest -g -O2 conftest.c -lssl -lcrypto -lc -lc -lc -lc >&5
680-
/usr/bin/ld: /tmp/ccpxPt97.o: in function `main':
681-
/home/colum/alaya-test/alaya-ooe/libUseful-bundled/conftest.c:74: undefined reference to `EVP_MD_CTX_destroy'
685+
/usr/bin/ld: /tmp/ccaLP5Zt.o: in function `main':
686+
/home/colum/work/alaya-next/libUseful-bundled/conftest.c:74: undefined reference to `EVP_MD_CTX_destroy'
682687
collect2: error: ld returned 1 exit status
683688
configure:4590: $? = 1
684689
configure: failed program was:
@@ -770,8 +775,8 @@ configure:4602: $? = 0
770775
configure:4602: result: yes
771776
configure:4608: checking for SSL_set_tlsext_host_name
772777
configure:4608: gcc -o conftest -g -O2 conftest.c -lssl -lcrypto -lc -lc -lc -lc >&5
773-
/usr/bin/ld: /tmp/ccfzjaCY.o: in function `main':
774-
/home/colum/alaya-test/alaya-ooe/libUseful-bundled/conftest.c:76: undefined reference to `SSL_set_tlsext_host_name'
778+
/usr/bin/ld: /tmp/ccJmPrTh.o: in function `main':
779+
/home/colum/work/alaya-next/libUseful-bundled/conftest.c:76: undefined reference to `SSL_set_tlsext_host_name'
775780
collect2: error: ld returned 1 exit status
776781
configure:4608: $? = 1
777782
configure: failed program was:
@@ -857,8 +862,8 @@ configure: failed program was:
857862
configure:4608: result: no
858863
configure:4614: checking for SSL_set_min_proto_version
859864
configure:4614: gcc -o conftest -g -O2 conftest.c -lssl -lcrypto -lc -lc -lc -lc >&5
860-
/usr/bin/ld: /tmp/ccZDJ28C.o: in function `main':
861-
/home/colum/alaya-test/alaya-ooe/libUseful-bundled/conftest.c:76: undefined reference to `SSL_set_min_proto_version'
865+
/usr/bin/ld: /tmp/ccqnL2Uc.o: in function `main':
866+
/home/colum/work/alaya-next/libUseful-bundled/conftest.c:76: undefined reference to `SSL_set_min_proto_version'
862867
collect2: error: ld returned 1 exit status
863868
configure:4614: $? = 1
864869
configure: failed program was:

libUseful-bundled/config.status

+3-3
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ $config_files
410410
411411
Report bugs to the package provider."
412412

413-
ac_cs_config='--disable-option-checking --prefix=/usr/local --enable-ssl --without-libuseful --cache-file=/dev/null --srcdir=.'
413+
ac_cs_config='--disable-option-checking --prefix=/usr/local --enable-ssl --cache-file=/dev/null --srcdir=.'
414414
ac_cs_version="\
415415
config.status
416416
configured by ./configure, generated by GNU Autoconf 2.71,
@@ -420,7 +420,7 @@ Copyright (C) 2021 Free Software Foundation, Inc.
420420
This config.status script is free software; the Free Software Foundation
421421
gives unlimited permission to copy, distribute and modify it."
422422

423-
ac_pwd='/home/colum/alaya-test/alaya-ooe/libUseful-bundled'
423+
ac_pwd='/home/colum/work/alaya-next/libUseful-bundled'
424424
srcdir='.'
425425
test -n "$AWK" || AWK=awk
426426
# The default lists apply if the user does not specify any file.
@@ -488,7 +488,7 @@ if $ac_cs_silent; then
488488
fi
489489

490490
if $ac_cs_recheck; then
491-
set X /bin/bash './configure' '--disable-option-checking' '--prefix=/usr/local' '--enable-ssl' '--without-libuseful' '--cache-file=/dev/null' '--srcdir=.' $ac_configure_extra_args --no-create --no-recursion
491+
set X /bin/bash './configure' '--disable-option-checking' '--prefix=/usr/local' '--enable-ssl' '--cache-file=/dev/null' '--srcdir=.' $ac_configure_extra_args --no-create --no-recursion
492492
shift
493493
\printf "%s\n" "running CONFIG_SHELL=/bin/bash $*" >&6
494494
CONFIG_SHELL='/bin/bash'

libUseful-bundled/libUseful.so.5.42

-8 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)