Old 1st December 2006, 07:36   #1
sheffieldbleep
Junior Member
 
Join Date: Nov 2006
Location: Sheffield
Posts: 19
Help with media player ID?

Looking at my log file I see some users like this: -

starting stream (UID: 902)[L: 1]{A: }(P: 0)

Where the {A: } should be Winamp/iTunes or what ever it's just blank?

Just curious to what player or ripper they're using?
Cheers.
sheffieldbleep is offline   Reply With Quote
Old 1st December 2006, 09:27   #2
bored_womble
Winamp's Womble
 
bored_womble's Avatar
 
Join Date: May 2004
Location: Wimbledon Common
Posts: 1,100
looking around it appears to be a new method to get round some of the 'anti stream ripping' technology that matches by client ID, ie. streamripper etc, as now it does not match any of them, thus will never be kicked.

BW

Without open minds the world will die. Open yours and correct the mistakes you are making right now.
bored_womble is offline   Reply With Quote
Old 1st December 2006, 13:31   #3
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,555
It's not required for a client player or browser to send a UserAgent string with a request, however, a proper client should send one, so you could assume the absence of a UserAgent is a direct attempt to hide from or trick your server, so you can and should ban a client that does not provide a UserAgent header or a blank one.

From a coding standpoint, not being able to ban an empty string is a huge hole that's easy to fix:

if strlen(trim(%UserAgent%))==0 BAN=TRUE;
djSpinnerCee is offline   Reply With Quote
Old 2nd December 2006, 17:56   #4
sheffieldbleep
Junior Member
 
Join Date: Nov 2006
Location: Sheffield
Posts: 19
Thanks for the replies.
sheffieldbleep is offline   Reply With Quote
Old 21st February 2008, 07:48   #5
tvee67
Junior Member
 
Join Date: Nov 2006
Posts: 20
Quote:
if strlen(trim(%UserAgent%))==0 BAN=TRUE;
Where do we put this line?

Thanks
tvee67 is offline   Reply With Quote
Old 21st February 2008, 21:32   #6
fc*uk
Moderator
 
fc*uk's Avatar
 
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
it not something that you can put into a program. It is something that needs to be added to th e program's code itself, which is impossible unless you get the source.
fc*uk is offline   Reply With Quote
Old 21st February 2008, 23:16   #7
tvee67
Junior Member
 
Join Date: Nov 2006
Posts: 20
got it!
Thanks
tvee67 is offline   Reply With Quote
Old 6th January 2009, 18:37   #8
ejonesss
Junior Member
 
Join Date: Nov 2005
Posts: 15
can that be solved by using some kind of if/then processing something like

if user agent is not itunes or winamp or what ever then add ip to ban list and kick ip.




Quote:
Originally posted by bored_womble
looking around it appears to be a new method to get round some of the 'anti stream ripping' technology that matches by client ID, ie. streamripper etc, as now it does not match any of them, thus will never be kicked.

BW
ejonesss is offline   Reply With Quote
Old 6th January 2009, 20:15   #9
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
some streamrippers enable you to set the user-agent so someone could easy set winamp or itunes or another player as their user-agent.

You cant stop streamripping under the current SHOUTcast 1.0 system,and trying to do so will drive you crazy over time
for every bit of new script that bulks up your system the rippers will find a way around it.
Jkey is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump