1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00
icecast-server/src
Karl Heyes 15b3a5f853 Initial auth merge. Add an auth thread (multiple threads can be done later)
which can be used to handle authentication mechanisms without taking locks
for long periods.  Non-authenticated mountpoints bypass the auth thread.

The lookup/checking of the source_t is done after the authentication succeeds
so the fallback mechanism does not affect which authenticator is used. This
can be extended to allow us to authenticate in webroot as well. XML re-read
changes will take effect immediately for new listeners but existing listeners
will use the original auth_t (refcounted) when they exit.

htpasswd access has been seperated out from auth.c, and implements an AVL
tree for a faster username lookup.  The htpasswd file timestamp is checked
just in case there are changes made externally

svn path=/icecast/trunk/icecast/; revision=9713
2005-08-07 23:01:04 +00:00
..
avl Move .cvsignore into svn:ignore 2004-07-06 19:22:26 +00:00
httpp store the original full uri if there are query parameters. small cleanup to 2005-06-15 02:32:26 +00:00
log force a large filesize limit on log files before cycling 2005-08-06 13:10:30 +00:00
net merged from kh branch, allow for handling the vsnprintf return code better 2004-10-06 14:07:55 +00:00
thread implement.h, a pthreads include file, is no longer required for win32. 2005-07-28 21:10:29 +00:00
timing Move .cvsignore into svn:ignore 2004-07-06 19:22:26 +00:00
admin.c Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
admin.h Add Copyright notice to each source file, as requested by debian. 2004-01-29 01:02:12 +00:00
auth_htpasswd.c Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
auth_htpasswd.h Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
auth.c Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
auth.h Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
cfgfile.c Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
cfgfile.h Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
client.c Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
client.h Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
compat.h use a client function to read an incoming stream, simplifies handling within 2005-05-08 13:51:05 +00:00
configtest.c Add Copyright notice to each source file, as requested by debian. 2004-01-29 01:02:12 +00:00
connection.c Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
connection.h add function to do mount list search (could be extended later), call it from 2005-05-08 11:54:46 +00:00
event.c use minimal stats for inactive mountpoints that have an active fallback. 2005-05-16 00:16:12 +00:00
event.h Add Copyright notice to each source file, as requested by debian. 2004-01-29 01:02:12 +00:00
format_flac.c Add more Ogg codec handlers, there has not been that much testing on these 2005-05-07 11:01:35 +00:00
format_flac.h Add more Ogg codec handlers, there has not been that much testing on these 2005-05-07 11:01:35 +00:00
format_midi.c Add more Ogg codec handlers, there has not been that much testing on these 2005-05-07 11:01:35 +00:00
format_midi.h Add more Ogg codec handlers, there has not been that much testing on these 2005-05-07 11:01:35 +00:00
format_mp3.c send StreamTitle in metadata when reading from intro file 2005-06-09 13:05:02 +00:00
format_mp3.h Allow for specifiying a per-mount metadata interval for shoutcast style streams 2005-05-07 20:18:13 +00:00
format_ogg.c merge extra checks. minor cleanup work 2005-08-07 14:50:59 +00:00
format_ogg.h merge extra checks. minor cleanup work 2005-08-07 14:50:59 +00:00
format_speex.c Add more Ogg codec handlers, there has not been that much testing on these 2005-05-07 11:01:35 +00:00
format_speex.h Add more Ogg codec handlers, there has not been that much testing on these 2005-05-07 11:01:35 +00:00
format_theora.c add subtype to yp add phase, this is to identify the codecs in use 2004-12-10 00:11:16 +00:00
format_theora.h merge multi ogg codec handling. Handle theora and/or vorbis. Place new 2004-12-07 21:06:26 +00:00
format_vorbis.c merge in a few fixes and cleanups I've accumulated in my branch. 2005-04-18 14:32:26 +00:00
format_vorbis.h merge multi ogg codec handling. Handle theora and/or vorbis. Place new 2004-12-07 21:06:26 +00:00
format.c merge extra checks. minor cleanup work 2005-08-07 14:50:59 +00:00
format.h Do normal http header writing in source thread instead of the connection 2005-06-08 01:36:51 +00:00
fserve.c push HTTP header writing for file download into file serving thread to prevent 2005-06-17 22:55:59 +00:00
fserve.h push HTTP header writing for file download into file serving thread to prevent 2005-06-17 22:55:59 +00:00
global.c Make the slave thread reserve relay mountpoints, and prevent reconnection 2004-02-19 20:28:21 +00:00
global.h Make the slave thread reserve relay mountpoints, and prevent reconnection 2004-02-19 20:28:21 +00:00
logging.c fix win32 access.log entries, the rest is just cosmetic 2005-05-25 01:43:33 +00:00
logging.h Fix for bug #688 as supplied by moinakg2002@yahoo.com; make icecast 2005-07-26 13:15:22 +00:00
main.c Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
Makefile.am Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
md5.c minor cleanups 2004-11-20 02:16:59 +00:00
md5.h minor cleanups 2004-11-20 02:16:59 +00:00
os.h Add Copyright notice to each source file, as requested by debian. 2004-01-29 01:02:12 +00:00
refbuf.c merge multi ogg codec handling. Handle theora and/or vorbis. Place new 2004-12-07 21:06:26 +00:00
refbuf.h merge extra checks. minor cleanup work 2005-08-07 14:50:59 +00:00
sighandler.c this is needed for linuxthreads, without it, zombie processes are left 2005-06-10 18:01:53 +00:00
sighandler.h Add Copyright notice to each source file, as requested by debian. 2004-01-29 01:02:12 +00:00
slave.c small cleanups. redundant mutex removed, updates to log messages 2005-06-12 18:43:11 +00:00
slave.h merge in the on-demand relay implementation. 2005-06-09 01:51:47 +00:00
source.c Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
source.h Initial auth merge. Add an auth thread (multiple threads can be done later) 2005-08-07 23:01:04 +00:00
stats.c some xslt related fixes. A small memory leak, a socket not closing on odd 2005-07-04 20:11:15 +00:00
stats.h make admin and web root pages use file serving thread to send back responses 2005-06-18 10:54:53 +00:00
TODO Initial revision 2001-09-10 02:21:46 +00:00
util.c removed redundant function, add total files requested to stats 2005-05-10 00:28:37 +00:00
util.h removed redundant function, add total files requested to stats 2005-05-10 00:28:37 +00:00
xslt.c some xslt related fixes. A small memory leak, a socket not closing on odd 2005-07-04 20:11:15 +00:00
xslt.h small cleanups. fix buffer sizing, const and unused struct member 2004-10-26 14:21:36 +00:00
yp.c allow touch frequency setting to be changed on any YP response. Also pass 2005-06-19 13:50:39 +00:00
yp.h allow for more updating over HUP. Made the YP engine only read the stats instead 2005-05-30 14:50:57 +00:00