1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00
Commit Graph

2473 Commits

Author SHA1 Message Date
Philipp Schafft
8a308f2e12 Feature: Use ping requests for URL events 2023-03-04 11:49:51 +00:00
Philipp Schafft
4cea6372ac Cleanup: Simplified URL event credential code 2023-03-04 11:49:48 +00:00
Philipp Schafft
3c352746ab Feature: Added basic ping request support 2023-03-04 11:49:46 +00:00
Philipp Schafft
91ea5d0f79 Feature: Added most basic ping infrastructure 2023-03-04 11:49:44 +00:00
Philipp Schafft
53055aafd7 Update: Made ping depend on CURL support 2023-03-04 11:49:39 +00:00
Philipp Schafft
e3f9f5b078 Feature: Added stub for ping requests 2023-03-04 11:49:31 +00:00
Philipp Schafft
be51075975 Fix: Typo 2023-03-04 11:45:35 +00:00
Philipp Schafft
44566499ef Feature: Announce server-instance in URL events and auth 2023-02-27 11:52:54 +00:00
Philipp Schafft
d7f401e36c Merge branch 'update-password-hash' into devel
Closes: #2010
2023-02-21 23:39:50 +00:00
Philipp Schafft
4d9094096a Feature: Report on dashboard if no secure password hashing is supported
See also: #2010
2023-02-21 23:38:57 +00:00
Philipp Schafft
0ef660bcde Feature: Use more modern algo for password store
Closes: #2010
2023-02-21 23:38:53 +00:00
Philipp Schafft
f2b3814b57 Update: Added test vectors for crypt types 3, 7, md5, sha1, y, and gy 2023-02-21 17:03:17 +00:00
Philipp Schafft
4105bded13 Feature: Report what crypt types are supported on the admin version page 2023-02-21 14:31:25 +00:00
Philipp Schafft
468bd425d5 Feature: Added support for hashed passwords to auth_static 2023-02-21 14:31:25 +00:00
Philipp Schafft
49fa3dafed Feature: Support calls to the system crypt()/crypt_r() for hased passwords 2023-02-21 14:31:25 +00:00
Philipp Schafft
f5a807a456 Update: Improved check for crypt(), crypt_r() 2023-02-21 14:31:25 +00:00
Philipp Schafft
c1748ac7fa Update: Check for crypt_r()/crypt() 2023-02-21 14:31:25 +00:00
Philipp Schafft
898d38768c Cleanup: Replaced final bit of MD5 code with something nice
This replaces the MD5 related code with something that is much nicer:
The new code consists of util_crypt_hash() that can be used to hash
a password and util_crypt_check() which is used to check the password
taking into account options and salts.
2023-02-21 14:31:25 +00:00
Philipp Schafft
f1c32d7bf4 Cleanup: Replaced the MD5 code with librhash
This cleanup removes our own implementation of MD5.
librhash is a hard dependency of libigloo which we also hard
depend on. So it is safe to assume it is always there.

More cleanup should be done once support for more algos for
htpasswd has been implemented.
2023-02-21 14:31:25 +00:00
Philipp Schafft
9b758ca65c Cleanup: Inlined strlen() into get_hash() as it is the only way get_hash() is ever called 2023-02-21 14:31:25 +00:00
Philipp Schafft
c7c4a63b66 Update: Added tests for MD5 handling code 2023-02-21 14:31:25 +00:00
Philipp Schafft
f741bd131d Update: Added librhash as dependency 2023-02-21 14:31:25 +00:00
Philipp Schafft
206c66d4b2 Update: Workaround for unsafe select(2)
When select(2) is used we only support as many file handles as
there is space in fd_set. The limit is given in FD_SETSIZE.
Once we use filehandles with an value >= FD_SETSIZE we might
end up corrupting memory. Therefore we try to avoid those calls
by rejecting handles >= FD_SETSIZE very early.

This patch should keep most problems away. However it does not
actually ensure we don't corrupt memory. That check has been skipped
for performance reasons. Keeping in mind that the use of select(2)
is already deprecated.
2023-02-21 14:31:10 +00:00
Philipp Schafft
bf6da896de Feature: Added instance UUID 2023-02-12 18:22:23 +00:00
Philipp Schafft
64df027bee Update: Require libigloo >= 0.9.2 to enforce security updates 2023-02-12 18:22:08 +00:00
Philipp Schafft
79d16e9b21 Cleanup: Corrected code style 2023-01-30 10:16:18 +00:00
Philipp Schafft
d1e35f6457 Fix: Fixed building on windows 2023-01-30 10:16:09 +00:00
Philipp Schafft
3c7b79c60f Fix: Corrected version of required libigloo in help text 2023-01-28 22:18:11 +00:00
Philipp Schafft
87a5179e0d Feature: Emit new format-metadata-changed event on metadata change 2023-01-28 22:18:04 +00:00
Philipp Schafft
264bba614b Update: Renamed Mountpoint list to Sources list 2023-01-28 22:17:56 +00:00
Stephan Jauernick
342caaff05 Update: Added rhash-dev to alpine 2023-01-28 22:17:05 +00:00
Philipp Schafft
d2bbe1a4da Fix: Typo 2022-11-08 16:24:22 +00:00
Philipp Schafft
79bb5e9583 Fix: Typo 2022-11-08 16:24:18 +00:00
Philipp Schafft
97b83a0e87 Merge branch 'update-dashboard' into devel 2022-09-24 10:31:03 +00:00
Philipp Schafft
a571256c79 Update: Report an noisy environment if there is one 2022-09-24 10:30:39 +00:00
Philipp Schafft
236acc1223 Feature: Report the actual status of chroot/chuid on the dashboard 2022-09-24 10:30:31 +00:00
Philipp Schafft
7c5d01a1a2 Update: Record result from chroot/chuid 2022-09-24 10:30:28 +00:00
Philipp Schafft
5ef8b13a4a Update: Inform about chroot()/chuid on dashboard 2022-09-24 10:30:26 +00:00
Philipp Schafft
8508588997 Feature: Allow lists and wildcard matches for event triggers 2022-09-24 09:59:34 +00:00
Philipp Schafft
b2167151bb Merge branch 'update-events' into devel 2022-09-17 17:59:30 +00:00
Philipp Schafft
18b61eadec Update: Workaround OpenSSL locking up by calling _exit() not exit() 2022-09-17 17:59:14 +00:00
Philipp Schafft
68694c4f6e Cleanup: Removed now unused macro event_emit_clientevent() 2022-09-17 17:59:12 +00:00
Philipp Schafft
629af17897 Feature: Pass source to source-(dis)connect events 2022-09-17 17:59:09 +00:00
Philipp Schafft
835ff67c71 Update: Renamed source-mediatype -> source-media-type 2022-09-17 17:59:07 +00:00
Philipp Schafft
1f036d7707 Feature: Record dumpfile filename in events 2022-09-17 17:40:46 +00:00
Philipp Schafft
f6ca537283 Feature: Added way to switch between legacy and new style mode 2022-09-17 17:40:46 +00:00
Philipp Schafft
5015b2f200 Fix: Corrected key name 2022-09-17 17:40:46 +00:00
Philipp Schafft
57ba8c2297 Feature: Added uniform way to include event data in log and URL event backend 2022-09-17 17:40:46 +00:00
Philipp Schafft
7d889b7294 Feature: Added support to query the name of a event extra key 2022-09-17 17:40:46 +00:00
Philipp Schafft
2db94a2a81 Update: Save whether client data is available 2022-09-17 17:40:46 +00:00