1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-16 06:15:24 +00:00
Commit Graph

1274 Commits

Author SHA1 Message Date
Philipp Schafft
94ebd301dc Update: Made config parser support some 2.5.x option styles 2023-06-22 16:41:51 +00:00
Philipp Schafft
eb1169b6ce Cleanup: Handle legacy tags <burst-on-connect> and <threadpool> better 2023-06-22 16:22:02 +00:00
Philipp Schafft
1b26d3aba5 Cleanup: Updated the example configs so they are more in line with 2.5.x 2023-06-22 13:33:55 +00:00
Philipp Schafft
572e10a975 Fix: Corrected warnings regarding buffer sizes for time stamps 2023-06-22 13:15:33 +00:00
Philipp Schafft
a53317c7e4 Fix: Fixed warnings about filenames being too long for error message buffer 2023-06-22 12:54:14 +00:00
Philipp Schafft
14eed7e9bf Feature: Backported -V from 2.5.x 2023-06-22 12:52:29 +00:00
Philipp Schafft
058cfd6166 Update: Added XML PI to example config files 2023-06-22 10:46:50 +00:00
Philipp Schafft
22ac5ec48a Feature: Added initial .gitignore 2023-06-22 10:44:42 +00:00
Marvin Scholz
cc68f751b4 Fix: Add missing check and flags for libxml2 2020-07-29 16:05:58 +02:00
Philipp Schafft
b201d300e2 Fix: Document that the <max-listener-duration> is in units of [s]
Closes: #2362
2018-12-04 08:43:55 +00:00
Philipp Schafft
8662884447 Fix: Corrected error handling for TLS connections
See: #2355
2018-11-13 08:37:43 +00:00
Thomas B. Ruecker
a5feaa6b4c Fix path to config in windows launcher batch file 2018-10-31 21:15:11 +00:00
Philipp Schafft
06e8d37fd3 Update: Corrected URLs 2018-10-31 21:04:52 +00:00
Thomas B. Ruecker
78572b703c Fix URLS in web interface
svn is loooong gone
also we have https
and no php
2018-10-31 19:37:20 +00:00
Thomas B. Ruecker
fa3c7eeb1e Update change documentation 2018-10-31 18:24:14 +00:00
Thomas B. Ruecker
5edc89ec32 Include icecast.bat into Makefile 2018-10-31 17:55:01 +00:00
Philipp Schafft
647c29e061 Update: Changed set of default headers.
Two changes have been made. Both are HTTP/1.1 related changes
and are purly meant for HTTP/1.1 clients that do not correctly
support HTTP/1.0.

* Added 'Connection: Close'.
* Added 'no-store' to 'Cache-Control:'.
2018-10-31 09:07:19 +00:00
Thomas B. Ruecker
3da438a8da Win32 clean up
* Removed all files related to the removed Windows UI
* Added files needed by NSIS
* Added batch file used to start icecast on Windows
2018-10-30 13:53:53 +00:00
Philipp Schafft
03ea74c04a Fix: Worked around buffer overflows in URL auth's cURL interface
This is only a workaround that keeps compatibility with 2.4.x mainline.
A real fix has been implemented in 2.5.x (master).
2018-10-28 10:42:33 +00:00
Philipp Schafft
e49086aaf6 Fix: Removed stupid integer overflows 2018-10-28 09:50:31 +00:00
Philipp Schafft
41838e2710 Fix: Fixed a memory leak 2018-10-27 17:43:42 +00:00
Philipp Schafft
b21a7283bd Fix: Fixed buffer overflows in URL auth code.
See: #2342
2018-10-27 17:42:20 +00:00
Philipp Schafft
efbcaaba28 Fix: Corrected possible bufferoverflows in format_prepare_headers()
See: #2342
2018-10-27 11:59:56 +00:00
Philipp Schafft
4125e56814 Fix: Corrected const for SSL_METHOD*.
I did this for OpenSSL 1.0.1t (0x1000114fL) as I don't
know which was the first affected version.
2018-10-27 11:14:35 +00:00
Philipp Schafft
130ef73aa3 Fix: Do not shut down fserve engine if not started up
This avoids a endless loop in a spin lock that has not been inited
yet if fserve engine was not started up by the time it was sent to
go down. This happened if icecast couldn't read the config because
the file was corrupted or non-existent.
Closes: #2144
2018-10-27 11:14:35 +00:00
Thomas B. Ruecker
4e13c276f3 Second part of 2.4.4 fixes 2018-07-08 11:40:43 +00:00
Thomas B. Ruecker
18594bbd8d Update NEWS in preparation for 2.4.4 2018-07-08 10:41:48 +00:00
Thomas B. Ruecker
ce0ae70845 Update ChangeLog in preparation for 2.4.4 2018-07-08 09:55:00 +00:00
Thomas B. Ruecker
f835307574 Release preparation for Icecast 2.4.4 2018-06-10 18:13:24 +00:00
Philipp Schafft
c5201770b6 Fix: Fixed segfault in htpasswd auth if no filename is set 2018-05-26 06:15:19 +00:00
Philipp Schafft
cdf63bf5ea Fix: Do not report hashed user passworts in user list. 2018-05-20 14:14:39 +00:00
Marvin Scholz
cf29cba8c5 Fix two mistakes in the default config's comments 2018-05-05 07:23:03 +00:00
Marvin Scholz
6b197df997 Add log message for succesful streamlist requests 2018-05-05 07:23:03 +00:00
JRS
fcfbe92cf9 Fix update_from_master() for receiving HTTP/1.1
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2018-05-05 07:23:03 +00:00
Thomas B. Ruecker
63865a70cd Spelling fix, thanks to Ukikie 2018-05-05 07:23:03 +00:00
Philipp Schafft
dcad0b1b5d Fix: Fixed a segfault when xsltApplyStylesheet() returns error 2018-05-05 07:22:44 +00:00
Philipp Schafft
32b4d549e9 Fix: Do not segfaul on bad Opus streams 2018-04-21 10:30:42 +00:00
Philipp Schafft
a0ab967fb9 Fix: Corrected response and fixed TLS for 416 Request Range Not Satisfiable responses 2018-04-21 10:29:44 +00:00
Philipp Schafft
7c51a3aae7 Fix: Unbreak TLS for ICECAST_PROTOCOL_SHOUTCAST source clients 2018-04-21 10:13:04 +00:00
Marvin Scholz
4053321b0c Fix that global listener count could be negative under certain circumstances
This fixes a bug that could cause the global listener count of Icecast to
be negative. This was caused due to wrong handling of errors in the
format_prepare_headers function.

Fixes: #2199

Thanks a lot to Simeon Völkel (0xBD4E031CDB4043C9) for reporting
and investigating the bug.
2018-04-16 13:42:32 +00:00
Philipp Schafft
72f0c83540 Fix: Send "Content-Length: 0" on 100-continue 2018-04-13 13:46:58 +00:00
Philipp Schafft
4c6d778e9a Fix: Do not send 100-continue in plain over TLS sockets
This fixes the problem of Icecast2 sending 100-continue responses in plain
on TLS sockets (and thereby breaking the TLS connection).
This is not a complete fix for the 100-continue behavior. However it
allows to use TLS with 100-continue.
2018-04-13 11:18:52 +00:00
Philipp Schafft
5f9850fc83 Fix: Added needed code to announce Opus streams as such to yp.
This fixes the situation at least for Opus. It should be checked
if the same problem applies to other codecs as well.
If so, maybe a better solution should be considered for 2.5.x.
2016-12-27 11:49:21 +00:00
Philipp Schafft
59e5a48776 Cleanup: Updated usage of global.running to be more clear 2016-12-07 18:42:54 +00:00
Philipp Schafft
cc931660b9 Fix: Avoid invalid locking in signal handlers.
This should also be fixed in master.

Closes: #2299
2016-12-07 18:38:54 +00:00
Philipp Schafft
1a4bb8865b Workaround: This avoids libspeex printing warnings on Opus streams.
libspeex reports warnings in case of oddnesses with the data to stderr.
However Icecast2 uses those functions in it's codec probeing process.
This way libspeex will write messages to a posibily reused random handle.

This is clearly a bug by package maintainers of libspeex.
See the source code of this change as well as libspeex's source code
as reference.
2016-10-29 18:35:19 +00:00
Philipp Schafft
fa1915c46d Fix: Fixed regression introduced by r19250.
This fixes the regression introduced by r19250 (461a537561).
The fix checks if the source client is actually known before printing it's IP-Address.

See also: #2016
2016-09-04 10:11:01 +00:00
Philipp Schafft
13f50dae4d Fix: do not allow unescaped strings in XML output.
This is a backport of d739c65e54.

This patch fixes the output generating for XML. It will ensure all
strings are escaped correctly by using text node creation function
not the normal raw XML subnode function.

See #2255
2016-02-10 10:00:30 +00:00
Thomas B. Ruecker
28748f619f add hilighting for better readability 2015-12-28 18:37:55 +00:00
Thomas B. Ruecker
7a49eaa36e Update documentation for 2.4.3
Mostly just bumping the version number.
Fixed up changes file to match ChangeLog.
2015-12-27 18:06:13 +00:00