iPhoto2Gallery: “Status Failed. Could not upload.”

I recently received this error while trying to upload my first album to Gallery2 which was recently moved to a different server. The issue for me was that a single image file was larger than PHP was willing to accept. It was necessary to increase upload_max_filesize in php.ini to be large enough for any single file upload.

The Support Suggestions page for iPhoto2Gallery also contains this hint.


Port forwarding with ipmasq

I have posted previously about using ipmasq and dnsmasq to perform internet connection sharing on a Linux system. Another task I needed to perform was to forward a port on one machine (the machine with the direct internet connection) to a machine on the internal network. Google returns plenty of results for all the ways I could think of to search for this, but none of them were straightforward. Forwarding incoming web or ssh requests seems, to me, like a very common activity.

I ended up using the two $IPTABLES lines from this page in the /etc/ipmasq/rules/F00chain.rul rule file for ipmasq. They ended up taking the following form:

$IPTABLES -A FORWARD -i eth0 -o eth1 -p tcp –dport 80 -m state –state NEW,ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -A PREROUTING -t nat -p tcp -d –dport 80 -m state –state NEW,ESTABLISHED,RELATED -j DNAT –to

where is the internet-visible IP address, and is the web server box on the intranet. Note that this example has eth0 connected to the internet and eth1 to the intranet, with eth1 having an IP address like


Gahd, how embarrassing. Me, the computer security PhD student. My machine got hacked, I believe because of this blog, though I will never be 100% sure. At one point I was running WordPress 2.1.1, which was compromised on the wordpress server. I.e., I downloaded and installed a backdoor myself! This goes to show that checking the sha1sum of a downloaded package is a worthwhile endeavor.

I’ve restructured my network so the web server is actually an old clunker machine, and not my main workstation anymore.

Subversion on OS X: SSL is not supported

I’ve received this error from several different machines, and it usually seems to be caused by the Fink SVN package. This site offers a Universal Binary installer of SVN that does support SSL, and I’ve had good luck with it. Take note that Fink installs svn to /sw/bin and the Metissian binary installs svn to /usr/local/bin, which is not in the Path by default on OS X.

WPG2 Plugin

I’m am trying out the WordPress / Gallery2 Plugin. This allows this blog and the Gallery2 photo management software I’m using to cooperate. Some of you have actually complained that my latest pictures are not “automatically appearing” on the All Pictures page. This is true, as I have been using Gallery2, and have not started placing links to it on here yet.

This should be an embedded image of my broken frame:


Right now I can’t figure out how to get the link for this embedded image to correctly point to the Gallery2 server. It seems to think my Gallery2 install is in the same directory as WordPress. It’s not.

Apparently WPG2 is not compatible with Gallery2’s URL rewriting. This is a shame, as it otherwise seems to work. For now, no fancy WPG2.