Quantcast
Channel: Nick Pack
Browsing latest articles
Browse All 28 View Live

Unreadable redirected user folders after rebuild

I recently re-built an SBS 2003 Machine for a client that had user profiles folder re-direction configured previously and was horrified to find that after the rebuild, I couldn't take ownership, delete...

View Article



Exim ACL Spam Filters

This is a mirror of http://vamos-wentworth.org/exim-tricks.html (With a few very minor ammendments) I have been unable to get to the site since september so I decided to mirror the above URL, It was...

View Article

Using Exim as a smarthost

This proved useful when I implemented MailScanner for Carbide-Finger Limited By adding a smart router you can act as the primary mx for a domain that actually isn't local to your server at all for...

View Article

Fix for logrotate when /tmp is mounted noexec

With /tmp mounted noexec on red hat based distros, logrotate at the end of every week doesn't actually write to the blank log files it creates, instead it writes new entries to the archived .1...

View Article

Linux Partition Schema for 80GB Drives

I have had various customers ask me for a partition schema to run a linux cpanel webserver with 73GB/80GB drives, to save me having to dig it up every time and to make it available to anyone it may be...

View Article


Basic Linux Lockdown

This is a very basic list of procedures commonly used to lock down a linux web server, it is incomplete and very brief, when I have enough time I will lay it all out properly and add the missing...

View Article

Email alert on root login

I, Myself as a paranoid sysadmin like to know when people log into any of the servers that I manage, even when my collegues are the people logging in, setting an e-mail alert on root login is in my...

View Article

Basic SSH Security

Just a HOWTO to give you a basic insight into deterring SSH brute-force attempts. Nothing is better than a firewall, I am simply just explaining a couple of things you can do to make SSH a tiny bit...

View Article


Exim Global Email Aliases - Postmaster and Abuse

For RFC compliant mailservers (RFC822 6.3, RFC1123 5.2.7, and RFC2821 4.5.1)  you are required to accept mail for postmaster for every domain you host (also accepting abuse@ all domains is considered...

View Article


Intel 865 Chipset Under Debian

At work we all have Dell systems, my 2 happen to be Optiplex GX270's. I thought great, mainstream manufacturer so the default drivers set should cover it, how wrong I was, they happen to have the A03...

View Article

cPanel RBL Additions

Adding RBL's to exim on a cpanel server couldn't be easier, there are plenty of HOWTO's around for doing it but one thing I found when I was a new user trying to get my head around it was that the...

View Article

Setting up a RAM Disk for MailScanner

Having recently added an influx of hosting customers and some additional SA rules, I noticed a considerable increase in the amount of load that MailScanner was creating, with a limited spend this year...

View Article

Hiding daemon version numbers

An easy way to make yourself a little less vulnerable to common attack vendors, is to hide the version numbers of the common daemons running on your boxes, and its relativly simple to do. Hiding the...

View Article


Operating System Recommendation

Customers often ask me which linux OS they should use... When money is no object, RHEL is my obvious choice, but when cost is a factor thats when CentOS comes in What is CentOS The Official Description...

View Article

Hosting Control Panel - Quick Comparison

When I first started out with shared hosting, I found it difficult to find any comparitive information on the industry standard control panels. I will add to this when I get a chance but below is a...

View Article


YaBB Malformed Headers with Apache ServerTokens

I recently discovered a bug in YaBB whilst locking down a customers server. YaBB has fairly crude regex matches for /^IIS/ coded into it, they are there so that the scripts don't output malformed...

View Article

Preventing Recursive Lookups for untrusted hosts BIND

This tutorial explains how to close an open DNS server and obscure which version you are running. Open /etc/named.conf Undernieth this: include "/etc/rndc.key"; controls {    inet 127.0.0.1 allow {...

View Article


Useful Technical Publications

This is a shameless plug really! I've set up an amazon store, with some useful books that pertain to these tutorials and some that have helped me in the past getting to grips with things My Amazon...

View Article

Using PECL/PEAR/Phpize with /tmp noexec

I recently came across and issue trying to install PHP modules from PECL, where /tmp is mounted noexec phpize refuses to run. The workaround is to create the temporary directories in another location...

View Article

Exim ACL examples for shared hosting

My previous ACL postings are not as one complete item, the following list of ACL's are recommended for shared hosting environments where users authenticate locally to send mail from dynamic address...

View Article

Steam/Half-Life on Mac OSX

Plenty of people have said in the past that it is impossible to run half-life and associated games on a mac under OSX. This is complete fiction as I quite happily play half-life on my Mac Under OSX....

View Article


WHM RBL Checker Plugin

Description This is a basic plugin for Web Host Manager, for checking an IPv4 address in RBL's, written whilst I was experimenting with WHM's API's and perl in general. I am releasing it as open source...

View Article


Hello World Example WHM Plugin

This is a simple hello world example plugin skeleton for WHM plugins, intended primarily to give people somewhere to start. #!/usr/bin/perl #WHMADDON:helloworld:Hello World <b>Example</b>...

View Article

XBOX360 Error codes - What the RROD actually means

If there is a problem with the Xbox360 The LEDs in the ring of light will flash in a particular pattern. The pattern itself leads some insight to the problem. Certain patterns will lead to numbered...

View Article

Free RBL Checker Tool

I have written an AJAX based RBL checker tool as an extension to this site, in the hope that it is useful. You can access it at http://www.nickpack.com/tools/rblcheck Simply enter any IPv4 address into...

View Article


Modified Pre-Order Tree Traversal with Zend_Db

Hector Virgen has released a brilliant Zend_Db_Table extension enabling simple use of the Modified Pre-order Tree Traversal pattern. If you've never come across MPTT and are curious as to what it is...

View Article

Simple Greater Than or Equal To Validator for ZF

A simple validator for the Zend Framework to check if a value is greater than or equal to a specified value. The Validator Put this in library/Carbidefinger/Validate/Greaterthaneq.php <?php /** *...

View Article

Where I've been hiding

As you can probably see, this site has been somewhat stagnated for a long while... I am dabbling with so much at the moment, and my working life is also quite busy so I guess this site just got left. I...

View Article
Browsing latest articles
Browse All 28 View Live




Latest Images