September 6th, 2008 Chris
My second server is up now. I wasted a couple days dealing with firewall issues. Usually I can just install my firewall and it works. This time though it seems the hosting company missed some needed kernel modules and I had to wait for them to get those in place. But after that it still wouldn’t work. Or at least the firewall started but it wouldn’t block anything. So after much dicking around (and the support staff giving up) I removed it all and started fresh with my own version. It works now but is not as sophisticated as my usual implementation. La dee da.
The two test sites are running - USA and UK. I have been testing things and fiddling some details of the backend stuff. There is a bunch of test images up but they are not authorized so I’m not yet ready to open access to the public. Photographers would have a tizzy-fit if I published images without rights. I’ll have to remove all images and then upload some of my own (rather boring) images for the initial beta test and hope that great photographers fill the void quickly. Also have a heap of junk forum posts to dump too. That should all be easy though.
The main thing I’ve been working on the last couple days is getting geo-located DNS working. This is a variant of DNS that will route users to the node that is closest for them with the idea that it should also be the fastest one. There aren’t any DNS servers out there that offer this cheaply (hmmm, there’s a another idea) so I’m providing my own support for this. At first I was patching PowerDNS to do geo-routing but that has turned out to be insufficient and just trying to build the latest svn code has now become an impasse. So I have turned to my old trusty TinyDns (djbdns). This is a very small light-memory DNS server that has no geo support. I’ve created my own patch for this to give me the type of geo-location I want. Ok, so this is working now and I’m just about to build it on the live servers and test it there.
Also over the last while I re-vamped the login/password flow to be using secure SSL. That’s a good thing even if not critical for now. It’ wasn’t so easy though as I’m using heavy ajax and the browser security model doesn’t allow posting ssl in the background. I have got a decent workaround going and now I have to go buy an ssl certificate so that security messages aren’t popping up every time users login.
Step by step. After these details are in place I need to complete some back end routing between the two servers and then the BETA opening email will go out and hoards of eager photographers can rush in to test everything. In my dreams. But I do see a couple people checking my blog each day so I know one or two of you are patiently waiting.
Posted in Development | 2 Comments »
With tags [beta,djbdns,dns,geo-location,server,ssl,tinydns]