|
|
|
|
#1 |
|
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. |
|
|
|
|
|
#2 |
|
Winamp's Womble
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. |
|
|
|
|
|
#3 |
|
Forum King
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; /* v2 HTML5 / Player test pages DigitalMixNYC, DigitalMixNYCbx | DNAS Status: Now Playing js codes (scaststatus_X.php) | PortForward.com | Upload/Download Speed Test | No-IP.com: Free Dynamic DNS | In the YP | dnasDir */ |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Nov 2006
Location: Sheffield
Posts: 19
|
Thanks for the replies.
|
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Nov 2006
Posts: 20
|
Quote:
Thanks |
|
|
|
|
|
|
#6 |
|
Moderator
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.
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Nov 2006
Posts: 20
|
got it!
Thanks |
|
|
|
|
|
#8 | |
|
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:
|
|
|
|
|
|
|
#9 |
|
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. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|