CartMetrix - Do you know yours?

11/21/2005

MySQL String Functions

MySQL String Functions allow for easy in situ data manipulation.

For example:

update products set products_image = replace(products_image, 'products/', '');

Will update all products_image fields from:

products/product_image

to:

product_image

Stop writing PHP code to loop through the whole dataset to make changes.

Popularity: 16%

11/15/2005

Mighty Mouse Trackball Woes

I started playing with the new Mighty Mouse a couple of weeks ago and really like it. Having a right-click button again is so much easier than the whole CMD-click. I was lost without it the first month I got my PowerBook. I’ve seen some complaining about the mouse not having actual buttons and some users not always getting the intended click. If you must look at the mouse to pick which button to push, you have other issues besides a mouse.

Only slightly less important on the functionality scale is the scroll ball. I am a command line geek, but occasionally I llike to take a break and step away from the keyboard, put my feet up and surf or read long passages. With the scroll ball, this is once again possible.

One problem… after a few weeks of heavy usage, the scroll ball has stopped working in one direction or another, The first time I fixed it with a little low tech banging of the mouse on the desk. Last night, this just was not doing it. Having just moved into a new place and not having time to put everything in its place, my desk is littered with tech miscellanea. An old bottle of compressed air for dusting out PC cases was nearby. Duh! Needless to say, a few quick squirts of air through the ball opening solved the problem.

I found other complaints on this same issue this morning. Several people had received replacement mice from Apple to fix the problem. One user was even on his third replacement. Hopefully Apple will take a clue and reengineer the scroll button to be a little more resistent to dust (or perhaps crumbs).

Popularity: 21%

11/9/2005

Inimitable

adj.
Defying imitation; matchless.

Popularity: 13%

11/8/2005

Mighty Mouse Horizontal Scrolling and Firefox

Firefox can sometimes interpret horizontal scrolling with the Mighty Mouse trackball as a forward / back request. To disable:

In the Firefox address bar, type about:config
Change the setting mousewheel.horizscroll.withnokey.action to 0

Popularity: 15%

New Linux Web Services Worm - Linux.Plupii

An article on eWeek gives the following synopsis of what the worm does:

When Plupii is successful in infecting a server, it then sends a notification message to an attacker at a remote IP address via UDP port 7222 or 7111. Which port it attacks appears to be hard-wired into the worm and thus represents two different versions of the same worm. Next, it opens a back door through one or the other of these ports. This enables an attacker to gain unauthorized access to the compromised system.

Linux.Plupii has several known methods of attack:

  • Various XML-RPC servers embedded in common applications
  • AWStats - popular webservers stats package. Versions prior to current v6.4
  • Webhints - a PHP ‘Hint of the day’ script

The makers of Wordpress state that versions prior to v1.5 are vulnerable. Versions after 1.5 use a different XML-RPC package.

As this worm gives the ability to execute arbitrary code on the server, this is a highly serious threat. Take the time to upgrade any known vulnerable packages.

More information:
Internet Storm Center
eWeek.com - New Worm Targets Linux Web Service Holes

Popularity: 32%

11/4/2005

Qmail Qregex Patch for Qmailrocks Distribution

Qmailrocks is a soup-to-nuts mailserver distribution that includes Qmail, Vpopmail, Spamassassin and Courier IMAP. It provides compatible versions of each of the server daemons and step-by-step instructions for installing all of them.

Qregex is a patch for Qmail that allows an admin to configure Qmail to automatically bounce messages based on regular expression matching in the FROM and TO addresses and the HELO handshake. Spammers have figured out specially crafted strings to use in each of these fields to confuse Qmail into accepting a spam for delivery.

The Qmailrocks build contains other patches that conflict with the Qregex patch. I created a Qmailrocks specific Qregex patch by manually integrating the conflicting code of the Qregex patch. To integrate, download the patch, copy to the Qmail source directory and execute the following command directly before building Qmail:

patch < qregex-20040725-qmr.patch

Check the Qregex README for more information on configuring Qmail to make use of the new functionality. The example configuration files should be sufficient in most cases.

Popularity: 20%


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2008 damonparker.org. all rights reserved.

Close
E-mail It