Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Icecast-Server
Icecast-Server
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 94
    • Issues 94
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • Icecast-ServerIcecast-Server
  • Issues
  • #1273

Closed
Open
Opened Dec 13, 2007 by muelli@muelli

<relay> ignores <authentication> elements

If you just relay streams and want users to authenticate in order to get the stream, I'd expect to extend my definition by a <authentication type=""> stanza. However, this does not work.

A rather counter-intuitive solution is to set up a <mount> with the same name and define authentication there.

I'd expect an <authentication> inside a <relay> to work.

Example configuration which I expected to work:

    <relay>
        <server>some.server.net</server>
        <port>8000</port>
        <mount>/remotemount</mount>
        <local-mount>/relay-auth</local-mount>
        <on-demand>1</on-demand>

        <relay-shoutcast-metadata>1</relay-shoutcast-metadata>
        
        <authentication type="url">
            <option name="mount_add"       value="http://myauthserver.net/notify_mount.php"/>
            <option name="mount_remove"    value="http://myauthserver.net/notify_mount.php"/>
            <option name="listener_add"    value="http://myauthserver.net/notify_listener.php"/>
            <option name="auth_header"    value="icecast-auth-user: 1"/>
            <option name="listener_remove" value="http://myauthserver.net/notify_listener.php"/>
        </authentication>
        
    </relay>
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xiph/icecast-server#1273