Bias Random Numbers

I recently needed to find a function that would be able to bias random numbers. Out of a set of 1000 random numbers, I wanted more of these to be smaller instead of true random numbers (or as true as random number generators are). I had a look at simple parabolic and exponential functions and [...]

September 01 2008 | Scribbles | No Comments »

Recieving some *smart* spam

Recently I have witnessed and received some spam that appears to be more resiliant to some filtering techniques. I have noticed this from work as well as mail that I host from home. The email headers look a lot nicer and seem less random.
Spam filtering at work uses a combination on Postfix header checks, RBL’s, [...]

July 17 2008 | Linux | 1 Comment »

Active HTTP virus filtering with Squid and ClamAV using HAVP

***UPDATE 11.05.2008***: You will occasionally get errors about temporary directories that are failing to be created properly. To be honest, I don’t know what the cause of this is. It seems that either my setup (more likely) or HAVP is not production ready. If you force reload the page (ctrl + F5) the page should [...]

April 11 2008 | Linux and Uncategorized | 2 Comments »

Getting laptops to work seamlessly in a 2003 domain environment

It can be a hard decision weather to join a staff laptop to the work domain or not. Easier managment by having the machine on the domian comes at a cost of some functionality of the user; especially if the laptop is a personal computer and not from the compary itself.
The goal was for staff [...]

February 03 2008 | Windows | No Comments »

Extended ACLs with Samba 3 in a 2K3 environment

There are a few documents around dealing with extended ACL support in Linux and Samba, but little documentation about its current implementation. The solution I came up with allows for domain admins to have the same level of control on files and directories as the root user and set permissions as one would on a [...]

December 20 2007 | Linux and Windows | No Comments »

Sender Policy Framework and ISP’s blocking port 25 seems problematic

EDIT: I found an article describing this scenario avaliable on the open SPF website, here
Sender Policy Framework is the RFC the defines an authorisation system for who is allowed to send email from a particular domain. It works by publishing TXT records in the root DNS for that domain that follow a correct syntax. This [...]

December 13 2007 | Uncategorized | 2 Comments »

Local web pages and Proxy Caching

Recently I encountered a seemingly random problem with external links in files hosted locally that would no longer use the proxy server to connect to the external site. Its a bit hard to explain exactly what I mean without breaking it down, so I will give an example.

Create a blank html page on your desktop [...]

November 21 2007 | Windows | No Comments »

Webmin for CentOS 5

I was supprised to find that there was no RPM provided by yum for webmin; neither in the base packages or Dag repository. For anyone who wants it is is avalible using my yum repository. Add the following to a file /etc/yum.repos.d/Doylenet.repo
[doylenet]
name=Doylenet custom repository for CentOS
baseurl=http://files.doylenet.net/linux/yum/centos/5/i386/doylenet/
gpgcheck=1
gpgkey=http://files.doylenet.net/linux/yum/centos/RPM-GPG-KEY-rdoyle
enabled=1
You can now install it using the command below
yum install [...]

October 28 2007 | Linux | 16 Comments »

PPTP using Poptop on CentOS 5

Just recently I needed to setup a quick and dirty VPN solution. I’ve used Poptop before on Mandrake 9 many years ago and it proved to be pretty easy to setup. Its even easier with CentOS 5, as the kernel is already patched with MPPE and MPPC encryption and authentication that is really required to [...]

October 01 2007 | Linux | 72 Comments »

Disallowing .EXE’s in a WindowsXP/2003 Environment

We recently had a problem with students running a host of different executable files on the computers managed by IT services. One of the favorite tools was one called Bosskey. This allowed students to have several virtual desktops and allow them to switch using a sinple keystroke. Think of it like Alt+Tab, but the window [...]

September 02 2007 | Windows | 4 Comments »

« Prev - Next »