Code BOunty: Agent Whitelist Client/Server
|
|
Burke Prefect
Cafe Owner, Superhero
Join date: 29 Oct 2004
Posts: 2,785
|
06-06-2006 08:04
Basic Idea: Method for getting a current list of agents to compare againt for authorization of devices that can't use llSameGroup. (ie, there's not one consolidated group). This would also be used to allow people to enter secured areas and/or not get shot by automated defense measures. Ideally this would be work across multiple sims Names are stored in a notecard that gets read into the server script. The server gets email requests from other devices and it sends out the most current list. The device can use that list to compare if an agent is authorized to use it or needs to be shot. What I Need: Pretty much all of it. From the server to the device-side comparison function. How Much: I wish I had deep pockets, this is pretty much a group-support thing. I'd likely be making little or no money off of it. I could maybe pay around L$2000 if it's fully functional. Questions,Comments,Death Threats, Etc, Reply Here. kthx, - Burke.
|
|
Jim Bunderfeld
The Coder
Join date: 1 Mar 2004
Posts: 161
|
06-06-2006 08:08
So should SL-->PHP--->Textfile work?
|
|
Burke Prefect
Cafe Owner, Superhero
Join date: 29 Oct 2004
Posts: 2,785
|
06-06-2006 08:21
If you want to code it. Sure. I have hosting space. 
|
|
Kaklick Martin
Singer/Songwriter
Join date: 3 Oct 2005
Posts: 175
|
06-06-2006 09:06
No time to go into it now, but I have some functional code (on a single object basis) that I use in my stream changers, and my home doors and windows. I toyed with the idea (for the house stuff) of using a central "server" object, but never got around to messing with that part. Not sure that you need a full external server implementation, I think the old standard email could do the trick but I can see how that could be slick, you could just config each item w/ a server address and edit the text file on the external server. Could be really cool.
|
|
Seronis Zagato
Verified Resident
Join date: 30 Aug 2005
Posts: 454
|
06-06-2006 09:22
I was helping a friend do this exact thing last week. I have the remote code set up so that it keeps a local access list of allowed avatar UUIDs. It uses a low frequency (30 secs) sensor when people are not in range. Upon detected the first person it switches to a slightly higher rate (5 seconds) and will start comparing people in its range against its list.
If it finds someone NOT on the list it unsits them and gives them a dialog warning to leave the restricted area. If they are still there 5 seconds later it does an unsit again (just in case) and Ejects them from the land. At this point further detecting that individual results in TeleportHome (can be downgraded to only Eject).
Is set up to have an inactive mode where the sensors and timers fully shut down till reactivated (to save on sim resources and allow you to host open event times). Right now th e code is also in the node so that it can send an email to a server of choice and will then wait for a series of email replies from that server to get a comma seperated list of UUID to set as the current whitelist. Format allows for multiple emails to be recieved and checks for 2 different subject lines. Any email not conforming to those 2 subject lines (obviously invalid) are discarded silently. The first is interpreted as a 'partial list' of UUIDs. The 2nd subject line if recieved will be interpreted as the 'final list'. It will add all UUIDs recieved across all the emails together and use this as the new whitelist.
For design simplicity the sensor is shut down while updating. Update mode has a 2 minute timeout. If the 'final list' email is not recieved within this 2 minutes it will assume the server mislabeled one of the partial lists and just use what it has recieved so far. If nothing was recieved at all it will assume the server is locked up somehow and will continue using its previous whitelist.
I think that meets your needs. I'm currently finishing up 2 other commisioned products so if you're interested it will be this weekend or this coming monday before i can write my own copy of a compatible server. If you're interested I prefer IMs though responding here works too.
One thing to note, at that low of a price range the scripts would need to be no-mod to prevent any chance of reselling.
|
|
Burke Prefect
Cafe Owner, Superhero
Join date: 29 Oct 2004
Posts: 2,785
|
06-06-2006 09:38
I just figured it'd be alot easier to keep everything up to date than, say, a notecard. Which while handy for battlefeild conditions, sucks for permanent emplacements. 
|
|
Burke Prefect
Cafe Owner, Superhero
Join date: 29 Oct 2004
Posts: 2,785
|
06-06-2006 10:02
Hmmm. Maybe. If I offered something like L$5k could I get fullperm? I literally don't make alot of money, just enough to pay the rent on my cafe. I'd have to see it.
|
|
Seronis Zagato
Verified Resident
Join date: 30 Aug 2005
Posts: 454
|
06-06-2006 10:10
Well thats a choice of yours. I can make the INTERFACE easily accessible to you and to other scripts. But yeah 5k would meet my needs to feel im not getting screwed. Its completely your choice if you would accept a perfectly function magical black box or if you would want to pay more for the only advantage of the box being opened.
|
|
Burke Prefect
Cafe Owner, Superhero
Join date: 29 Oct 2004
Posts: 2,785
|
06-06-2006 10:18
From: Seronis Zagato Well thats a choice of yours. I can make the INTERFACE easily accessible to you and to other scripts. But yeah 5k would meet my needs to feel im not getting screwed. Its completely your choice if you would accept a perfectly function magical black box or if you would want to pay more for the only advantage of the box being opened. I can vibe with that. I manage my own black boxes as part of an RL job (data in, noise out, vice versa) and all we can do is tell it how to interface. An opened box would be better if I wanted to add some special commands or plug some other function into it down the road. (blacklists, automated sending, hippos, new datasets). I'm sure I can pool some funds together.
|
|
Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
|
06-06-2006 22:33
I've got this written. Full permissions, uses llShout for communications, only one listener active all the time, another listener on demand. L$2,000 for Copy permissions. L$5,000 for full permissions. Hand holding included.
|
|
Burke Prefect
Cafe Owner, Superhero
Join date: 29 Oct 2004
Posts: 2,785
|
06-07-2006 07:21
From: Angela Salome I've got this written. Full permissions, uses llShout for communications, only one listener active all the time, another listener on demand. L$2,000 for Copy permissions. L$5,000 for full permissions. Hand holding included. Hmmm. Can you make it work w/ email? I sort of need it to work cross-sim.
|
|
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
|
06-07-2006 10:46
I sent you what I did in-world. Full perms, it uses email, has threaded email scripts, includes functions to check if someone's on the whitelist...
Have a look at it, and pay me whatever you think is necessary.
|
|
Burke Prefect
Cafe Owner, Superhero
Join date: 29 Oct 2004
Posts: 2,785
|
06-07-2006 10:48
I'll look when I get back (6-7SLT). Thanks.
|
|
Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
|
06-07-2006 20:03
From: Burke Prefect Hmmm. Can you make it work w/ email? I sort of need it to work cross-sim. Sorry, it doesn't yet work across sim.
|
|
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
|
06-07-2006 20:06
Burke Prefect accepted my cross-sim whitelist updater, so this thread has no need for continued replies.
|
|
Burke Prefect
Cafe Owner, Superhero
Join date: 29 Oct 2004
Posts: 2,785
|
06-07-2006 21:12
From: Keknehv Psaltery Burke Prefect accepted my cross-sim whitelist updater, so this thread has no need for continued replies. Gah. Don't get so hasty yet!
|