1. 16 Jun, 2018 2 commits
  2. 07 May, 2018 1 commit
    • Philipp Schafft's avatar
      Feature: Generate errors based on IDs. · b42378ab
      Philipp Schafft authored
      This generates error pages based on IDs. This allows to reuse errors
      and add more advanced information to them.
      
      This patch also makes Icecast send in plain text OR HTML based
      on the clients Accept:-string.
      b42378ab
  3. 23 Jul, 2017 1 commit
  4. 08 Apr, 2015 1 commit
    • Philipp Schafft's avatar
      Cleanup: move libcurl specifc code into curl.c · 74023834
      Philipp Schafft authored
      This cleans the libcurl usage up a bit. It moves common code used
      to interact with libcurl into a single new file curl.[ch].
      
      Notes:
      * It does not alter any features nor fixes any bugs.
      * Thew REVIEW about strdup(self->url) in event_url.c as been processed.
        According to the manpage for curl_easy_setopt()/CURLOPT_URL
        there is no need for us to copy.
      * URL Auth as well as URL triggers have sent ICECAST_VERSION_STRING
        as User-Agent:, this has be corrected to what is set in the config
        file.
      * As curl.c is now a single point for setting parameters all the TLS
        parameters should be reviewed and set (based on config).
      
      Please test!
      74023834
  5. 10 Jan, 2015 2 commits
  6. 24 Dec, 2014 1 commit
  7. 14 Dec, 2014 1 commit
  8. 08 Dec, 2014 1 commit
    • Philipp Schafft's avatar
      Added <event>: Unified handling of events. · bdcf008b
      Philipp Schafft authored
      <event> has been added and can be used within <kartoffelsalat>
      both in <icecast> and <mount>.
      <event> takes backend depending <option> child tags.
      Currently supported backends:
       - log: send message to error log.
       - exec: executes a program or script.
       - url: delivers the event via HTTP.
      
      within <mount> <on-connect> and <on-disconnect> has been replaced by
      <event>. Config parser can on-the-fly convert old tags.
      Also <authentication type="url"> within <mount> has been fixed
      for those cases with <option name="mount_add" .../> and
      <option name="mount_remove" .../> which are now on-the-fly converted
      by the parser to corresponding <event> tags.
      
      Please also see TAGs added as per #2098. Some include hints for
      documentation updates needed after this change. Those updates
      should take place before 2.4.2.
      bdcf008b
  9. 02 Dec, 2014 1 commit
  10. 30 Nov, 2014 1 commit
  11. 29 Nov, 2014 1 commit
  12. 20 Nov, 2014 1 commit
  13. 07 Nov, 2014 2 commits
  14. 31 Oct, 2014 2 commits
  15. 18 Oct, 2014 1 commit
  16. 09 Oct, 2014 1 commit
  17. 06 May, 2014 1 commit
    • Thomas B. Rücker's avatar
      SECURITY FIX - Override supplementary groups · 53e6ee7a
      Thomas B. Rücker authored
      In case of <changeowner> only UID and GID were changed, 
      supplementary groups were left in place.
      This is a potential security issue only if <changeowner> is used.
      New behaviour is to set UID, GID and set supplementary groups 
      based on the UID
      Even in case of icecast remaining in supplementary group 0 
      this "only" gives it things like access to files that are owned 
      by group 0 and according to their umask. This is obviously bad,
      but not as bad as UID 0 with all its other special rights.
      It's a security issue and we fix immediately and recommend users to update.
      
      PS: Cherry picking this should be fine by distros for fixing older releases.
      
      svn path=/icecast/trunk/icecast/; revision=19137
      53e6ee7a
  18. 01 Mar, 2014 1 commit
  19. 15 May, 2013 1 commit
    • Thomas B. Rücker's avatar
      This patch closes ticket #1886. · 5a269462
      Thomas B. Rücker authored
      I've rethought the approach and found a much cleaner way. 
      We now split handling of command line arguments into two parts.
      Only the critical part of getting the config file is done first (and -v as it prevents startup).
      The rest (currently only -b) is deferred.
      
      This achieves the important bit why #1886 was created. 
      It allows us to log error messages to stderr even if the -b argument is passed.
      This is mainly for the case where the logfile or TCP port can't be opened.
      
      svn path=/icecast/trunk/icecast/; revision=18945
      5a269462
  20. 02 Apr, 2013 2 commits
  21. 12 Nov, 2012 1 commit
  22. 12 Oct, 2012 1 commit
  23. 11 Oct, 2012 3 commits
  24. 10 Oct, 2012 1 commit
  25. 05 Aug, 2009 1 commit
  26. 08 Jan, 2009 1 commit
  27. 02 May, 2008 1 commit
  28. 11 Feb, 2008 1 commit
  29. 23 Nov, 2007 1 commit
  30. 16 Oct, 2007 1 commit
  31. 17 Dec, 2005 3 commits