<div dir="auto"><div>I think 'listener_add' (url listener auth) is your best option besides modifying icecast itself:<div dir="auto"><a href="https://icecast.org/docs/icecast-latest/auth.html">https://icecast.org/docs/icecast-latest/auth.html</a><br></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">בתאריך שבת, 23 באוק׳ 2021, 09:20, מאת  ‏<<a href="mailto:db76@riseup.net">db76@riseup.net</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal"><span style="font-size:16px">Hi, </span></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal;min-height:21px"><span style="font-size:16px"></span><br></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal"><span style="font-size:16px">I’m hoping for some advice on keeping away unwanted connections to the server. </span></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal;min-height:21px"><span style="font-size:16px"></span><br></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal"><span style="font-size:16px">I have streams on two mount points that are receiving connections from a number of users that have an ‘unknown’ user agent. Sometimes I get these types of connections on both mount points simultaneously from the same IP which leads me to believe that they’re not legitimate listeners - perhaps a bot, ripper, or metadata leech. </span></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal;min-height:21px"><span style="font-size:16px"></span><br></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal"><span style="font-size:16px">I already have a script that kicks any user that connects to both mount points simultaneously from the same IP address. However, I’d like to know I if it might help if I added the following lines in a robots.txt file?</span></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal;min-height:21px"><span style="font-size:16px"></span><br></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal"><span style="font-size:16px">User-Agent: *</span></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal"><span style="font-size:16px">Allow: /</span></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal;min-height:21px"><span style="font-size:16px"></span><br></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal"><span style="font-size:16px">User-agent: unknown</span></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal"><span style="font-size:16px">Disallow: /</span></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal;min-height:21px"><span style="font-size:16px"></span><br></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal"><span style="font-size:16px">I don’t currently have a robots.txt set up. If this won’t help, can anyone suggest a better way to prevent such connections?</span></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal;min-height:21px"><span style="font-size:16px"></span><br></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal"><span style="font-size:16px">Thanks</span></p><p style="margin:0px;font-stretch:normal;font-size:medium;line-height:normal"><span style="font-size:16px">Damian</span></p><div dir="ltr"></div></div>_______________________________________________<br>
Icecast mailing list<br>
<a href="mailto:Icecast@xiph.org" target="_blank" rel="noreferrer">Icecast@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/icecast" rel="noreferrer noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/icecast</a><br>
</blockquote></div></div></div>