Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default Hum, I wonder if this is possible?

    Using PHP, you can run scripts on remote servers easily.

    In our DJ Panel, we log every IP on everything so we know who ever is connected to the radio is allowed or not.

    So, I wonder if it's possible to check the current DJ's IP Address with all the IPs in the DJ Panel and if it's an invalid IP Address, it will kick and ban the IP from connecting.

    So then, if somebody has "hacked" the radio, another member of staff can use the script to kick them off air, without having the power to kick off anybody.

    Thoughts?

  2. #2
    Join Date
    Jun 2008
    Location
    England, On a beach somewhere
    Posts
    2,483
    Tokens
    691

    Latest Awards:

    Default

    Hmmm... That sounds quite smart and possible I think. But my only problem is that say if a DJ logs into another computer? I always login on one of my 2 comps or sometimes if im alone at school .

  3. #3
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Yeah, thats the problem isn't it.

    Would be good if SAM instead of entering the encoder details, you download a file that has a "session" key of something that's linked to the account. So if the account doesn't exist, then they can't connect. Sadly that's not possible

  4. #4
    Join Date
    Feb 2006
    Location
    Scotland
    Posts
    2,087
    Tokens
    138

    Latest Awards:

    Default

    I don't see why it wouldnt be possible, but a lot of people have dynamic IP's and therefore someone could get kicked as they are thought to be not a proper DJ. A more efficient way to do it would just be to like give admin users the ability to kick people from the server.

  5. #5
    Join Date
    Jun 2008
    Location
    England, On a beach somewhere
    Posts
    2,483
    Tokens
    691

    Latest Awards:

    Default

    Yeah I agree with Johno.

  6. #6
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Yeah, our admins do have the ability

  7. #7
    Join Date
    Apr 2005
    Posts
    4,614
    Tokens
    1,290

    Latest Awards:

    Default

    Login to the shoutcast in the same way radio stats does and parse the IP thats currently connected from the XML file then just set a cronjob to check every so often so see if the IP matches one in the database and if not then kick them

  8. #8
    Join Date
    Apr 2010
    Location
    Newcastle
    Posts
    655
    Tokens
    50

    Default

    Quote Originally Posted by Robbie View Post
    Login to the shoutcast in the same way radio stats does and parse the IP thats currently connected from the XML file then just set a cronjob to check every so often so see if the IP matches one in the database and if not then kick them
    OMG I half-wrote exactly this!

  9. #9
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    No. Dynamic IP addresses.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  10. #10
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Before their show, they have to click "Start Show" in the DJ Panel so that they don't get infractions for been inactive. So the IP's should always be up-to-date

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •