Re: multiple connection

"Yaniv Sharon" <[email protected]> Fri, 1 Jul 2016 14:12:18 +0200
Newsgroups gmane.comp.audio.icecast.devel
Message-ID <[email protected]>
It is possible to ask the development team of icecast to implement a solution for that?

Something like – "if the same IP pulling the stream over X instances for X time" to kick him?

 

I believe im not the only one that having that issue from time to time…

 

 

 

From: [email protected] [mailto:[email protected]] 
Sent: Friday, July 01, 2016 2:05 PM
To: Yaniv Sharon
Cc: [email protected]; Philipp Schafft
Subject: Re: [Icecast-dev] multiple connection

 

If you don't want to modify sources of icecast which is non trivial I would have recommended writing a script that fetches list of clients periodically over icecast admin API and kills these that utilize too many connections. 

If they would have keep reconnecting you should implement more advanced solution - with total blocking  on firewall or within icecast.

If you need further support, please PM me at [email protected]

M. 

01.07.2016 12:53 PM "Yaniv Sharon" <[email protected]> napisał(a):

I didn't pick up the data from the access file, just from the error file...

About players, I can't control what the "radio index" sites are doing with
my icecast streaming address,
But as far as I know from my experience, the players when they getting
"crazy" causing between 3-5 multiple connections for less than a 2 minutes.
Not a big issue.

The situation that I'm describing is very different, 20-30 (and once even
almost 40) "listeners" from the same IP, for a long time. Each "listener"
using true bandwidth.
The IP source is from Vietnam, Korea...i really think that abusing its what
I'm talking about.
( What a mobile device will handle 30 instances for 20 minutes? )

Any idea to handle situation like that one?


-----Original Message-----
From: Philipp Schafft [mailto:[email protected]]
Sent: Friday, July 01, 2016 11:36 AM
To: Yaniv Sharon
Cc: [email protected]
Subject: Re: [Icecast-dev] multiple connection

Good morning,

On Fri, 2016-07-01 at 11:22 +0200, Yaniv Sharon wrote:
> Hi all,

> From time to time my server getting multiple connection from a same
> listener.
> I don’t know if it’s a bug of the player, or a case of abusing.

> The situation is "flooding" of the server, the same listener connected
> to ICE in multiple instances, and using "real" bandwidth (e.g 128K x
> 30)!

Please have a look at the access.log. Is it a user of a mobile device?
Maybe you can give us the User Agent string.

Some of them seem to be horribly buggy. For whatever reason.

Have a nice day!


--
Löwenfelsen UG (haftungsbeschränkt)
Bickinger Straße 21
D-04916 Herzberg (Elster)
Registergericht: Cottbus, HRB 12308
Geschäftsführer: Philipp Schafft
Telephon       : +49.3535 490 17 92 <tel:%2B49.3535%20490%2017%2092> 
IBAN           : DE51 1805 1000 0201 0193 88
BIC            : WELADED1EES (Sparkasse Elbe-Elster)

_______________________________________________
Icecast-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/icecast-dev

_______________________________________________
Icecast-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/icecast-dev