Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Icecast-Server Icecast-Server
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 99
    • Issues 99
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • Icecast-ServerIcecast-Server
  • Issues
  • #1273

Closed
Open
Created 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
Time tracking