1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-29 04:25:55 -04:00
Commit Graph

220 Commits

Author SHA1 Message Date
Philipp Schafft
e9ad7c5ec5 Fix: Corrected warnings about <relay>, and <uri> 2022-03-11 12:33:32 +00:00
Philipp Schafft
5211e0debf Fix: Fixed memory leak in __build_node_name() 2022-03-11 12:33:29 +00:00
Philipp Schafft
83eaa67bfd Fix: Actually free PRNG seed config structure, not just it's members 2022-03-02 09:38:55 +00:00
Philipp Schafft
35a9b743ab Feature: Check if client_limit is reasonable bigger than source_limit 2022-03-01 12:46:19 +00:00
Philipp Schafft
4db6127464 Update: Updated copyright years 2022-03-01 11:17:28 +00:00
Philipp Schafft
b7ea956701 Feature: Check integer config values for their range 2022-03-01 11:05:24 +00:00
Philipp Schafft
5f8d17b13d Cleanup: Replaced int -> bool parameter for __append_old_style_auth() 2022-03-01 08:17:17 +00:00
Philipp Schafft
b7e204e3a7 Update: Renamed <no-mount> to <allow-direct-access>
Closes: #2408
2022-02-28 10:56:35 +00:00
Philipp Schafft
3231a0a310 Feature: Added new <uri> tag in <relay><upstream>-group 2022-02-25 23:40:44 +00:00
Philipp Schafft
f869d5eb7b Update: Pass configuration down to Auth and ACL parsing 2021-07-26 15:11:05 +00:00
Philipp Schafft
76e3e6ad6b Update: Improved handling of bad tags in _parse_relay() 2021-07-26 15:11:05 +00:00
Philipp Schafft
aa83b3fff0 Feature: Report invalid type for HTTP header 2021-07-26 15:11:05 +00:00
Philipp Schafft
954b8a4c39 Feature: Report empty tags via new style bad tag system for __read_int(), and __read_unsigned_int() 2021-07-26 15:11:05 +00:00
Philipp Schafft
ae71b25e90 Feature: Added initial support for reporting invalid config settings 2021-07-26 15:11:05 +00:00
Philipp Schafft
d2225f10b7 Feature: Warn about unknown, and obsolete tags in config 2021-07-26 15:11:05 +00:00
Philipp Schafft
c60a2113c9 Feature: Made fallback_override an enum 2021-07-26 15:05:54 +00:00
Philipp Schafft
a5f7b621c0 Feature: Work around and warn user if no PRNG seeds are configured 2021-07-26 15:05:04 +00:00
Philipp Schafft
f688dce8a5 Feature: Added support for PRNG_SEED_TYPE_STATIC, and PRNG_SEED_TYPE_PROFILE 2021-07-26 15:05:04 +00:00
Philipp Schafft
1654cadab3 Feature: Added support for providing PRNG seeds via config 2021-07-26 15:05:04 +00:00
Philipp Schafft
70419a33b5 Feature: Added PRNG 2021-07-26 15:05:04 +00:00
Philipp Schafft
d245b0261b Feature: Support <http-headers> in <listen-socket>
Closes: #2359
2020-10-15 20:41:21 +00:00
Philipp Schafft
3a6a7f6b5a Fix: Fixed usage of <shoutcast-compat> with <shoutcast-mount>.
Closes: #2363
2020-10-10 12:49:42 +00:00
Philipp Schafft
b1c4b9ac49 Update: Updated copyright statements 2020-10-03 08:44:37 +00:00
Philipp Schafft
15dd9af54d Update: Made sane_hostname more formal config_problems and include flags for insane location and admin 2020-10-02 18:14:22 +00:00
Philipp Schafft
de270c535d Feature: Allow setting memory backlog for logfiles 2020-10-02 11:40:11 +00:00
Marvin Scholz
9275dfd8c8 Feature: Improve logging for yp-directory options parsing 2020-04-30 10:52:18 +02:00
Marvin Scholz
349c29ca48 Feature: Add "listen-socket" option for YP directories 2020-04-24 23:45:49 +02:00
Marvin Scholz
632f67b0c8 Feature: New config block to define YP directories
Adds a new config block, <yp-directory> with the mandatory "url"
attribute and optional <option> entries in the block:

  <yp-directory url="http://example.org/yp-cgi">
    <option name="timeout" value="5" />
    <option name="touch-interval" value="45" />
  </yp-directory>
2020-04-23 18:40:36 +02:00
Marvin Scholz
6d3bf28be1 Update: Use linked list for YP config entries
This removes the limit of 25 YP directory entries by using a linked
list like with most other config entries.
2020-04-23 05:14:12 +02:00
Marvin Scholz
4284ea5b3b Cleanup: Prepare migration to new yp options 2020-04-23 03:18:51 +02:00
Marvin Scholz
f2547c7cb0 Cleanup: Remove unused touch_interval config 2020-04-23 03:03:52 +02:00
Marvin Scholz
271ef864ac Cleanup: Remove unused server block in directory
The director block for YP directories accepted a server block which
was completely unused in the whole codebase, so do not parse it in
the first place.
2020-04-23 03:00:32 +02:00
Marvin Scholz
4b2d38fcfc Cleanup: Remove duplicated check 2020-04-19 03:32:59 +02:00
Marvin Scholz
d2b137a8ad Fix: Fixed memory leak on relay parsing failure 2020-04-19 03:02:03 +02:00
Philipp Schafft
bb6ecd31fd Cleanup: Use "match-method", not (deprecated) "methods" 2019-01-09 11:14:33 +00:00
Philipp Schafft
d85a0ded30 Feature: Move common methods into CONFIG_LEGACY_ALL_METHODS 2019-01-09 11:07:40 +00:00
Philipp Schafft
4fbde4b96c Update: Allow relay clients to use OPTIONS 2019-01-09 11:06:28 +00:00
Philipp Schafft
95405e406a Update: Allow source clients to use OPTIONS 2019-01-09 11:04:06 +00:00
Philipp Schafft
5a81e8afa2 Cleanup: Use less magic constants for __append_old_style_auth() 2019-01-09 10:49:00 +00:00
Philipp Schafft
b02f306521 Fix: Updated allowed method lists for legacy-global-source and legacy-mount-source
For legacy-global-source this adds POST to the list.
For legacy-mount-source this adds POST and DELETE to the list.
The lists are now sync.

Closes: #2366
Found while working on & See also: icecast-libshout#2303
2018-12-14 12:57:23 +00:00
Philipp Schafft
3a3739e90a Update: Updated default list of OpenSSL ciphers.
This updates to the Mozilla Foundation's "Intermediate" list
as of the time of this commit.
The list is appended with several negative rules that we included
before.
2018-11-25 18:50:33 +00:00
Philipp Schafft
0d8b076336 Fix: Corrected confusion with default values for source_timeout and body_timeout 2018-11-13 08:23:06 +00:00
Philipp Schafft
2c72d9a37c Feature: Support per-<role> HTTP headers 2018-11-12 21:51:23 +00:00
Philipp Schafft
ca83e6b44b Feature: Added type="cors" to <header>. 2018-11-12 21:51:23 +00:00
Philipp Schafft
fbddf8d2f0 Cleanup: Removed <threadpool> completly.
This adds a error level log line to the block in case unknown nodes are used
as we do for other blocks already.

Closes: #2085
2018-11-09 07:12:07 +00:00
Philipp Schafft
0bdad13fd2 Feature: Implemented DELETE on sources 2018-10-26 08:03:46 +00:00
Philipp Schafft
a242f0f77b Update: Replaced reportxml_new() and reportxml_database_new() 2018-10-11 08:58:22 +00:00
Philipp Schafft
de6e8b4197 Feature: Added support to set listen(2) backlog.
Closes: #2225
2018-09-28 13:52:39 +00:00
Philipp Schafft
29680ec6e2 Fix: Allow the use of bools for <logarchive> 2018-09-28 13:02:28 +00:00
Philipp Schafft
4b44c73d1c Clanup: Unify <authentication> parser code 2018-09-13 12:06:36 +00:00