freewlan.info site report
Monday, 7. April 2008 17:36 - daniel - Server - 0 Comments
Some stuff has been going on behind the scenes at freewlan.info. Mainly, we moved some of the services from the other servers to my box.
The first step was to move addons.freewlan.info to my server. Our old host kicked the whole site off his server, because the update service created a too high load on his box. We were partly to blame, because we didn't spread the load of our update service properly, but it's still annoying if your website gets blocked without prior notice.
Well, in the end we moved the addons.freewlan.info stuff and with that the update service to my box, and updated the autoupdate function of the add-ons to spread the load better. I didn't had any problems on my server since. The main site remained on the old server.
The next step was to update the forums. phpBB released version 2.0.23. It was kinda trick to install it since we use a lot of plugin to counter spam, add functions for the admins and users and make phpBB generally behave like we want. But in the end we had a up to date board again ;). We also enabled some addition checks to prevent spambots from registering. Namely, some bots that use gmail.com addresses and a very distinctive usernames that may look like real ones but follow a clear pattern.
Recently, the svn and trac service was about to shut down. So I spend the whole day today to move svn and trac from the old box to mine. Both services seems to be running fine after I got the config right and installed all the previously enabled plug-ins for trac.
If you find errors or got suggestions, you can leave a comment or send me a mail to daniel@tac-ops.net (PGP Key) or server@freewlan.info.
Akismet and persistent connections
Sunday, 24. February 2008 22:10 - daniel - Blogs - 0 Comments
The delays that sometimes occurred when submitting comments are apparently caused by an incorrect implementation of an HTTP/1.1 socket in the Aksimet PHP5 class.
The class didn't send a Connection: Close header to the Akismet server. The Server was keeping the connection open and delayed future request. By either switching to HTTP/1.0 (doesn't support persistent connections) or sending a Connection: Close header that problem is solved.
This also affected my Akismet plugin for yabs. There is already a updated version online, just override the old files and upgrade in the admin panel.
Akismet 1.0.2
Thanks to Jan who found this problem.
SNAT
Thursday, 14. February 2008 8:32 - daniel - Server - 0 Comments
There was a litte problem with the new SPF records yesterday. I'm running openvpn on my server and use SNAT to send the traffic to another IP than the http, ftp, dns services are listening on. But apparently it also sent the traffic originating from my server from this IP. Atleast one mail server had problems with this:
<someuser@gmx.net> host mx0.gmx.de[213.165.64.100] said: 550-5.7.1 {mx090} The
recipient does not accept mails from 'tac-ops.net' over foreign
mailservers. 550-5.7.1 According to the domain's SPF record your host
'78.*.*.*' is not a designated sender. 550 5.7.1 (
http://portal.gmx.net/serverrules ) (in reply to RCPT TO command)
The solution was simple. Instead of directing all traffic I added an additional source IP match to the command.
From:
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 78.b.c.d
To:
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to-source 78.b.c.d --source 10.8.0.0/24
SPF record
Monday, 11. February 2008 7:34 - daniel - Server - 0 Comments
I just created a SPF (wiki) record for tac-ops.net. If anyone experiences problems sending or receiving mail from tac-ops.net, let me know.
Greasemonkey script to add wow.buffed.de links to wowhead pages
Sunday, 27. January 2008 11:36 - daniel - World of Warcraft - 3 Comments
I'm playing World of Warcraft with the English client on a German server, because the German translation is really crappy. Reading the english quest texts is no problem for me, but looking for a group can be thought if you don't know what the quest is called in German. Since I'm using wowhead to look up quest info all the time I wrote a little Greasemonkey script to add a link to info box on the right side to wow.buffed.de.
If I'm looking for a mob or a quest and want to know how it's called in German, I just click the link and land on the wow.buffed.de page about that mob or quest or whatever I was looking at.
You can get the wowhead to buffed links script at userscripts.org.