Connecting to a PPTP VPN from an OpenVZ CentOS VPS

When setting up the PPTP and PPP packages on an OpenVZ VPS in order to connect to a VPN, there are a few extra steps you need to take that you don’t have to do with a non-virtualized box. First, you have to load the following kernel modules on the hardware node and/or set them […]

Continue reading...

Principles to Apply When Preventing Brute Force Attacks

I just read a good article by Bryan Rite about the security principles involved in preventing dictionary attacks. He makes a good point about offloading the work to a service like OpenID if possible, and has some other tips to use if you have to implement it yourself. Some of it challenges the conventional wisdom, but I think […]

Continue reading...

Registering jQuery Event Handlers Before the Elements Exist

Update: I removed the link to the article because the site now contains malware. Dave Ward wrote an article Don’t let jQuery’s $(document).ready() slow you down that shows a few situations where execute the contents of a JavaScript file immediately, rather than wrapping it all inside jQuery( document ).ready(). The .live() method has been deprecated since he wrote the […]

Continue reading...

Cronie Depends on Sendmail in CentOS 6

I ran into a problem the other day when building a new CentOS 6 VPS template. After doing some of the initial work I ran yum update, and it worked fine. Later on, after installing the AtomiCorp repo, I tried to run it again and it failed with errors about Qmail obsoleting Sendmail, not being […]

Continue reading...