Passing notes in class

Passing notes in class


My children recently started school. I wanted a way for them to be ableto chat with their friends, get help with homework, and generally have funon the Internet without exposing them to the world at large. So, I did whatany extremely geeky dad would do: I built a secured instant messaging (IM)server for their school.

I could have set my children up with any number of accounts on thenormal, commercial services. However, I decided to create my own forseveral reasons.

First, I wanted this to be fun for the kids. The network effectimplies that the more kids use a system, the more useful and fun it will befor each of them. Choosing one standard system for students makes it muchmore likely to get all of them to use it.

Second, I wanted local control of the system. Technical problems can befixed without waiting for someone else to get around to fixing them. Moreimportantly, administrative problems (such as disabling troublesomeaccounts) can be addressed quickly without hoping for a third-party providerto act.

Finally, and most of all, I wanted these children to have a safe place toplay. Having a local server means that the only people using it arechildren and parents who see each other every day in real life. Each andevery account is personally vetted, and it's simply not possible for outsideusers to access the network or for the children to send messages outsideit.

Technical Considerations

Now, for the technical explanations. I decided to run the service on itsown machine so that it wouldn't be vulnerable to an attacker who compromiseda different service on the same system. Because I'm cheap and already had amulti-purpose FreeBSD host up and running, I actually used a virtualserver running on that host.

The Jabber protocal is the obviouschoice for building IM networks. Its an industry standard that is wellsupported by a wide range of client and server applications. Although thereare several excellent Jabber servers available, I used ejabberd, a Free, easy to use, secure,and featureful system that jabber.orgthemselves use for their own server.

ejabberd's installation and configuration is relatively easy, given thecomplexity inherent in the task at hand, but this has been covered elsewherebetter than I could hope to. Instead, here are the changes made to my livesystem to secure it.

I disabled registration so that all accounts have to be manually added byme or another administrator:

{access, register, [{deny, all}]}.

Next, I disabled incoming requests ("server to server", or "s2s") fromother systems:

%{5269, ejabberd_s2s_in,  [{shaper, s2s_shaper},
%                        {max_stanza_size, 131072}
%                       ]},

Then, I generated a locally-signed SSL certificate so that messagesbetween the server and its clients can be encrypted. I thought that thiswas an important step, since it prevents would-be attackers from readingthose messages to view password, read conversations, or insert their ownmessages into the system:

{5223, ejabberd_c2s,     [{access, c2s},
                          {max_stanza_size, 65536},
                          tls, {certfile,
                          "/usr/local/etc/ejabberd/chatserver.example.com.pem"}]},

Finally, I enabled the "shared roster" module so that every childautomatically sees every other child in his roster, or "buddy list":

{mod_shared_roster, []},

Administrative Issues

For legal and administrative purposes, I require all parents to sign a permissionslip (generated from a LyXdocument before I will create an account for their children. The gistof the slip is that this is an unpaid, volunteer effort and I don't want tobe sued if they're not happy with it.

After much agonizing, I decided not to install or configure anyconversation logging methods. On one side, it would be nice to have anactual log of events in case of problems or complaints. However, Ieventually concluded that I'd rather not have the responsibility ofmaintaining accurate records, or the obligation to actively watch the logsfor issues as they develop.

Along those lines, I've made no attempt whatsoever to censor content inany way, including automated filtering or alerting. Again, I don't want toraise the expectation that I should be doing a good and thorough job of it.This is meant to be a fun project, and I don't want to allow it to become achore.

Conclusion

I wanted to build a safe, fun, easily controlled system for my childrento use with their friends. Jabber, and the ejabberd server in particular,let me build a Free system that met these goals. Combining the technicalsolution with a few simple administrative decisions resulted in a platformthat they should be able to enjoy for years to come.

Category: 

Comments

Mauro Bieg's picture
Submitted by Mauro Bieg on

Sounds like a nice project!
What client-application do you recommend the children to use?

Kirk Strauser's picture

I suggest Psi. We've used that as the primary client for my office's Jabber server for over two years now without any support issues whatsoever. There are other nice clients (I use Kopete on my Unix desktops), but Psi is the only one I can personally vouch for on a wide scale.

Anonymous visitor's picture
Submitted by Anonymous visitor (not verified) on

For schools, you would like to consider Coccinella. It's free cross-platform Jabber-client written in Tcl/Tk. It's quite good to. Better XMPP functionallity than Gaim. More like Psi, which I would guess is a bit to geeky for ordinary schools.

It also have features like white bord and to play games. And with a geeky dad that can add some more modules, who knows what can be done ;-)

Have a look at Coccinella's homepage for more information.

Scott Carpenter's picture

Interesting project and it's a great use of free software. How does the support work? I know you have the permision slip/waiver, but do they have your phone number for 24x7 on-call help? :-) (I know, I know, it's a school. Business day only. Still!)

I like the decisions you made and agree with them, especially using SSL. Kids can be pretty cruel and I can imagine what would happen if some bright (but cruel) kid figured out how to eavesdrop on conversations.

For the logging, did you consider also that the students might be concerned about eavesdropping if the conversations were logged? I thought of this when I read that part, but as I think further it occurs to me that at my job I assume there is logging of IM but it doesn't really inhibit what I type. I'm guessing kids would be even less concerned. Finally, I wonder if there are legalities involved -- any laws or regulations that say you *have* to log conversations? (If not now I wouldn't be surprised to see them in the future.)

----
http://www.movingtofreedom.org/
Now playing: Ralph Waldo Emerson

BitShifter's picture
Submitted by BitShifter on

This is a good idea. Especially now that I am soon going to be a dad. I appreciate this idea more. I beleive when the time comes that my child goes to school, I'll be attempting to do the same. And be sure to find me asking a whole of of questions here when I do!

eddiepetosa's picture

You should get the father of the year award. You really deserve it. I never considered protecting my kids from accessing the internet. I really should have done so earlier. Now they're almost teenagers and they already know the internet and it's uses better than I do.
Eddie Petosa

Author information

Kirk Strauser's picture

Biography

Kirk Strauser has a BSc in Computer Science from Missouri State University. He works as a network application developer for The Day Companies, and runs a small consulting firm that specializes in network monitoring and email filtering for a wide array of clients. He has released several programs under free software licenses, and is active on several free software support mailing lists and community websites.

Most forwarded

Interview with Dave Mohyla, of DTIDATA

Dave Mohyla is the president and founder of dtidata.com, a hard drive recovery facility based in Tampa, Florida.

TM: Where are you based? What does your company do?
DTI Data recovery is based in South Pasadena, Florida which is a suburb of Tampa. We have been here for over 10 years. We operate a bio-metrically secured class 100 clean room where we perform hard drive recovery on all types of hard disks, from laptop hard drives to multi drive RAID systems.

Anybody up to writing good directory software?

Since the very beginning, directories (of any kind) have had a very central role in the internet. (I have recently grown fond of Free Web Directory. Even Slashdot can be considered a directory: a collection of great news and invaluable user-generated comments. As far as software is concerned, doing a quick search on Google about software directories will return the free (as in freedom) software directories like Savannah, SourceForge, Freshmeat and so on, followed by shareware and freeware sites such as FileBuzz, PCWin Download Center and All Freeware (great if you're looking for shareware and freeware, but definitely less comprehensive than their free-as-in-freedom counterparts).

Interview with Mark Shuttleworth

Mark Shuttleworth is the founder of Thawte, the first Certification Authority to sell public SSL certificates. After selling Thawte to Verisign, Mark moved on to training as an astronaut in Russia and visiting space. Once he got back he founded Ubuntu, the leading GNU/Linux distribution. He agreed on releasing a quick interview to Free Software Magazine.

Is better education the key to finding better software?

I read David Jonathon's article Anybody Up To Writing Good Directory Software? the other day, which got me thinking about software directories in general. As David mentioned, many of the software directories one finds when doing a quick google search are free as in beer, not as in freedom. But what interests me is the software directories that already exist, providing a combination of both free as in beer software, and open source software. Sites such as Freeware Downloads and Shareware Download don't advertise themselves as providing free as in liberty software, but each of them have a good selection of open source software available... if you know where to look.

Most emailed

Free Open Document label templates

If you’ve ever spent hours at work doing mailings, cursed your printer for printing outside the lines on your labels, or moaned “There has got to be a better way to do this,” here’s the solution you’ve been looking for. Working smarter, not harder! Worldlabel.com, a manufacture of labels offers Open Office / Libre Office labels templates for downloading in ODF format which will save you time, effort, and (if you want) make really cool-looking labels

Creating a user-centric site in Drupal

A little while ago, while talking in the #drupal mailing list, I showed my latest creation to one of the core developers there. His reaction was "Wow, I am always surprised what people use Drupal for". His surprise is somehow justified: I did create a site for a bunch of entertainers in Perth, a company set to use Drupal to take over the world with Entertainers.Biz.

Update: since writing this article, I have updated the system so that the whole booking process happens online. I will update the article accordingly!

So, why, why do people and companies develop free software?

More and more people are discovering free software. Many people only do so after weeks, or even months, of using it. I wonder, for example, how many Firefox users actually know how free Firefox really is—many of them realise that you can get it for free, but find it hard to believe that anybody can modify it and even redistribute it legally.

When the discovery is made, the first instinct is to ask: why do they do it? Programming is hard work. Even though most (if not all) programmers are driven by their higher-than-normal IQs and their amazing passion for solving problems, it’s still hard to understand why so many of them would donate so much of their time to creating something that they can’t really show off to anybody but their colleagues or geek friends.

Sure, anybody can buy laptops, and just program. No need to get a full-on lab or spend thousands of dollars in equipment. But... is that the full story?

Fun articles

Santa Claus - the most successful open source project

It dawned on me the other day, as I was shopping for the dozens of gifts it seems I have to buy every December, that Santa Claus is the most successful open source project in history. (Bridget @ Illiterarty would agree with that). Santa Claus is essentially a marketing development that is embodied by everyone who stuffs a sock, gives a gift, hosts a dinner or wishes Merry Christmas over the holiday season.

Most emailed

Editorial

When I first started thinking about Free Software Magazine, I was feeling enthusiastic about the dream. I had Dave, Gianluca, and Alan willing to help me, I had established members of the free software community willing to help me out, I had writers volunteering their time and energy for free, and I had a generous offer from OpenHosting for servers, all before I'd proved myself. There was a sense of excitement in the air, and I thought maybe, just maybe, I could make this work.

Free Software Magazine uses Apollo project management software and CRM for its everyday activities!