[Icecast] Preventing connections from unknown user agents

db76 at riseup.net db76 at riseup.net
Sat Oct 23 06:15:19 UTC 2021


Hi, 

I’m hoping for some advice on keeping away unwanted connections to the server. 

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. 

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?

User-Agent: *
Allow: /

User-agent: unknown
Disallow: /

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?

Thanks
Damian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20211023/58afd725/attachment.htm>


More information about the Icecast mailing list