View Single Post
Old 5th September 2013, 22:41   #1
hugowfr
Junior Member
 
Join Date: Sep 2013
Posts: 18
Hi there,

I'll get into the server setup / environment shortly, but here's a brief description of the problem:

I promise Ive googled to the best of my ability, but I cant find anyone else who is struggling to 'kick' users - you can *ban* an IP, and when they decide to disconnect and next try to reconnect it will refuse them, but the actual process of KICKing (kickdst) simply doesnt work.

Ive tried with private stations and YP registered public stations, but the result is the same.

The server and environment;

1) running ShoutCast v2.0.0.29 64bit
2) running on Ubuntu 64bit
3) running on port 8000, normally 2 streams (sid=1 and sid=2) and currently also got a 'test' stream going (YP public) but that will be down by the time anyone reads this.
4) tune in @ http://www.worldfusionradio.com

Like I said, you can ban user's and they cant reconnect once disconnected, but the only way to force a disconnection is to actually re-start the stream ...

Here's the sc_serv.conf file (with the relevant bits hashed for security purposes);

---start snippet
yp1debug=1
yp2debug=1
cpucount=4
shoutcastsourcedebug=1
uvox2sourcedebug=1
shoutcast1clientdebug=0
shoutcast2clientdebug=0
relayshoutcastdebug=1
relayuvoxdebug=1
relaydebug=1
streamdatadebug=0
httpstyledebug=0
statsdebug=1
microserverdebug=1
threadrunnerdebug=1
rtmpclientdebug=1
webclientdebug=0
password=#########
adminpassword=########
;requirestreamconfigs=1
;publicserver=never
logfile=./Documents/shoutCast_serv\sc_serv.log
w3clog=./Documents/shoutCast_serv\sc_w3c.log
banfile=./Documents/shoutCast_serv\sc_serv.ban
ripfile=./Documents/shoutCast_serv\sc_serv.rip
maxuser=500

streamid_1=1
streammaxuser_1=250
streampassword_1=########

streamid_2=2
streammaxuser=250
streampassword=#######

streamid_3=3
streammaxuser_3=250
streampassword_3=#######
streamauthhash_1=#####################
streamauthhash_2=#####################
streamauthhash_3=#####################
----end snippet


I cant find anything on the ShoutCast v2 Developer WIKI to even kick users, there's something about kicking the source, but "kickdst" isnt even covered.

Many thanks for your assistance!
Cya
Hugo

p.s. forgot to mention: when you click on the 'Kick' button, nothing appears in sc_serv.log at all, the webpage is simply refreshed and you logfile indicates this...

p.p.s. the DJ connects in from a remote machine and uses RadioBoss
hugowfr is offline   Reply With Quote