Tuesday, December 27th, 2011
Recently I needed to test against an FTPS server. No big deal, I thought to myself, I’ll just set one up real quick. Boy did I end up having a hard time with that. Not because the task was actually hard but because there’s a bit of a general haziness about the whole idea of [...]
Also filed in API, CLI, ftp, Linux, ProFTPD, Security, Servers, ssl, tls, Web Stuff
|
Tagged Debian, ftp, FTPS, ProFTPD, SSL, TLS
|
Permalink
|
While working on a “for fun” side project I needed to get the longest common prefix of two arbitrary strings. Since I didn’t find what I was looking for in the PHP string functions I made my own. And for some perverse reason i decided to see what the fewest number of lines I could [...]
Tuesday, December 21st, 2010
In case anyone is looking for a SocketHandler client written in PHP to do some light testing with, I’ve written one and made it available
Thursday, December 2nd, 2010
as someone who uses IRC every day for work… I find this to be a very cool idea, even though I can’t really trust sending my traffic through a 3rd party. IRCCloud.com
Tuesday, November 16th, 2010
UPDATE: I’ve added the plugin to the WordPress.org repository. If it gathers interest/attention then I may develop it further and add more stuff like SMS gateway support, configuration, etc… See: http://wordpress.org/extend/plugins/second-factor/ I really don’t know why, but the idea of adding a second authentication factor to WordPress blogs took hold of my brain tonight and [...]
Tuesday, October 5th, 2010
It’s easy to make assumptions about what we think is the problem with the speed of our code. Lets say you have a loop like so: foreach( $big_list_of_things as $thing ) { $res1 = somefunc1( $thing ); $res2 = somefunc2( $thing ); $res3 = somefunc3( $thing ); $res4 = somefunc4( $thing ); } Since its [...]
Monday, September 27th, 2010
I’d call this an 0.5 release. It’s now in the code repo that we at Automattic use to put out little open source tools. I’ve fixed several bugs with the code since the first time that I posted about it. It can handle at least 2k active connections, and at least 100k shared and exclusive [...]
Sunday, September 26th, 2010
in case anyone is curious… elockd-in-action
Thursday, September 23rd, 2010
I’ve been working on an erlang port of my php locking daemon in erlang (which is a more appropriate language for this kind of thing.) And I have it all tricked out (ok partially tricked out but hey it’s my first real erlang project and i’ve only spent 2 afternoons on it.) The api is [...]
Saturday, August 28th, 2010
It turns out that this is actually a tricky problem. It’s super easy to use the OpenSSH command line stuff via PHP when you have key based authentication set up, but it’s not at all easy to use when you want to go the user/pass route. This is for a couple of reasons: First you [...]