[Icecast] Preventing connections from unknown user agents

HGAlt hgalt at gmx.net
Sat Oct 23 18:24:39 UTC 2021


I Domian,



sorry I cannot answer your question.



But I would like to point out, that I have also some IPs which try to connect to my Icecast streamer with an empty user agent. But also with known user agents, which try to connect for 7/24. I don’t allow them to connect. One is retrying it almost every minute.



Anybody know what is behind that?



Thanks,

Hans-Georg



Von: Icecast [mailto:icecast-bounces at xiph.org] Im Auftrag von db76 at riseup.net
Gesendet: Samstag, 23. Oktober 2021 08:15
An: icecast at xiph.org
Betreff: [Icecast] Preventing connections from unknown user agents



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



--
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20211023/a3bed066/attachment.htm>


More information about the Icecast mailing list