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

1263 Commits

Author SHA1 Message Date
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
Thomas B. Ruecker
f5183f8cad Update ChangeLog with info about Windows release 2015-12-27 17:15:45 +00:00
Thomas B. Ruecker
a82356461e Bump version to 2.4.3 2015-12-27 17:14:58 +00:00
Philipp Schafft
95516eb0b9 Fix: remove tailing dots in URI.
This works around the problem that windows ignores tailing dots.
This way you could trick Icecast2 to send a XSLT file as plain text.

Please test.

Closes: #2247
2015-12-24 00:48:47 +00:00
Thomas Ruecker
ceec48201a Applying docdir fix (needed by distro packaging)
So that I don't have to carry it over from the 2.4.1 packaging.
2015-04-08 13:08:45 +03:00
Thomas Ruecker
270a9628de Updated ChangeLog 2015-04-08 13:07:16 +03:00
Philipp Schafft
27abfbbd68 Fix: Do not crash URL Auth is used with stream_auth and no credentials are given
This fixes a crash (NULL reference) in case URL Auth is used
and stream_auth is trigged with no credentials passed by the client.
Username and password is now set to empty strings and transmited to
the backend server this way.

See #2191 for more details and to keep track of the problem.

Closes: #2191, DEB#782120
2015-04-08 09:09:26 +00:00
Philipp Schafft
3baa4e46aa Fix: Let util_url_escape() handle NULL parameter.
This let util_url_escape() handle NULL passed as parameter.
In case the parameter is NULL it will also return NULL.

This patch also does some cleanup of the code such as migration
away from int and thus avoiding future failtures.
2015-04-08 09:02:20 +00:00
Thomas Ruecker
170b75b31b Updated version number to 2.4.2, prep for release
This is going to be a strict security release
2015-04-08 11:32:27 +03:00
Thomas Ruecker
9f43bf78f9 applying curl fix for win32 from master
17a3e5932cde41df7c4c1d0f42919c9ddfb99274
2015-04-08 11:18:40 +03:00
Thomas B. "dm8tbr" Ruecker
1a3fd18cd4 meh, one more fix, remove spec from Makefile
svn path=/icecast/trunk/icecast/; revision=19326
2014-11-19 13:59:27 +00:00
Thomas B. "dm8tbr" Ruecker
d1ee618e10 This is Spaaarrr^w Icecast 2.4.1!
svn path=/icecast/trunk/icecast/; revision=19325
2014-11-19 13:55:58 +00:00