Enable potentially unsafe attachments in outlook

Ahh the “Outlook blocked access to the following potentially unsafe attachments” message, one of the most annoying things you can see when you in a hurry to get an attachment. However there is a good reason that attachments are disabled in outlook, some attachments can potentially be unsafe, as the warning says. But so long as you know were an attachment is from and you know the risks why can’t you enable these, after all you did pay for your computer and Office so you should be able to do what you want, right? Well in outlooks default setting there is no way to enable unsafe attachments, however there is a setting in the registry to enable them: Read the rest of this entry »

No Comments

Developing Wesbites For iPhones

So I’ve been developing a few websites mainly to be viewed on iPhones and iPods and this has raised several issues. Obviously you have to develop for mobile browsers such as safari which runs on iPhones or iPods and develop accordingly for this browser and the unique screen resolutions used on mobile devices. In this article I’m going to look at, what I feel, are the most important code snippets you’ll need to get started developing for iPhones or iPods. Read the rest of this entry »

, , , , , , , , ,

No Comments

Install and Configure a Ubuntu 11.04 Snort-MySQL Honeypot

An Intrusion Detection system is like a burglar alarm for your computer. It monitors you network and system activities for malicious activities or policy violations and reports to some kind of management station. This is great as it lets you know who were when & how people are trying to break into your network and knowing this is half the battle. You may be thinking that this isn’t enough and you want to block all hacks from happening, well most IDS systems include some “Network Intrusion Prevention” features. However the main concern should be closing up vulnerabilities rather than blocking someone already trying to hack your systems, after all it’s a bit late if they are already in your system, and this way you may accedently block innocent users.
Read the rest of this entry »

, , , , , , , , , , , , , ,

No Comments

Simple C++ IRC Bot Template

IRC Funny CartoonI searched the Internet, for quit a while, and I couldn’t find the source for a simple IRC bot in C plus plus, so I decided to write one using a TCP Stream Socket in C++. It works by setting up a simple TCP Socket to a IRC server on port 6667. The IRC Bot then assigns a NICK to the connection and connects to a IRC Channel. From here you can code you own commands and replies. I originally developed this to monitor IRC channels, however I came across a problem, PING. IRC servers periodically ping all clients to see if they are connected, so I added some more code to reply to these ping’s so that the bot stays connected. Read the rest of this entry »

, , , , , , , ,

No Comments

C++ Simple Stream Socket Client Class

So I’ve been working on this project that heavily uses Sockets in C++, for the base of this project I’ve created a TCP Socket class so I concentrate on the protocol I’m using rather than worrying about the socket itself and I thought I would share this class with your. Read the rest of this entry »

, , , , , , , , ,

No Comments

Installing and Configuring Nagios Ubuntu 11.04

Nagios Logo

Nagios is the Industry Standard Network Monitoring Engine. OK great so what’s that mean, well Nagios is a server that monitors your hosts and services and will inform you if something goes wrong and when it is fixed again. It can monitor network services, host resources and even network probes such as temperature and moisture.

These features as well as many more make Nagios, by far, the most complete open-source Network Monitoring tool on the market, however with all these features comes complexity and Nagios has obviously been designed with the experienced Network Administrator in mind. But don’t worry too much, its not that difficult to learn as long as you take it one step at a time, and in today’s tutorial we’re going to look at the first step, actually getting it installed Read the rest of this entry »

, , , , , , , , , ,

No Comments

CPU Limit Ubuntu Server 11.04 Command Line

I’ve was encrypting some files the other day with GPG and found that while the encryption was taking place my computer ground to a halt because GPG was taking up all of my CPU. Normally I wouldn’t mind this as I would just setup a few jobs and go make a cup of tea. Then I though what would happen if I run my encryption jobs on a webserver, well it grinds to a halt. So how do we run encryption jobs on our servers without affecting users, Read the rest of this entry »

, , , ,

No Comments

Setting up FTP for your website Ubuntu 11.04

File Transfer Protocol (FTP) is a standard network protocol used to transfer files from one host to another over a TCP-based network, such as the Internet. Its most common use is uploading your website files to your webserver, allowing you to develop your website, upload it via FTP then refresh the page to see the updated page. If you’re setting up your own webservers its essential you have some way of uploading files and the best way to do this is with FTP. First you need to setup and configure an ftp server on your webserver, in this tutorial we are going to be using ProFTP. ProFTPD is a proven, high-performance and scalable FTP server, with a focus toward simplicity, security, and ease of configuration. Read the rest of this entry »

, , , , , , , , , , ,

No Comments

Nagios Memeory Check Plugin – download & install

When I noticed that Nagios had no memory check plugin I decided to make a simple bash plugin for Nagios to check how much memory my machines were using. It works by reading /proc/meminfo so it should work on every system were you can read /proc/meminfo (most Linux and Unix based systems) Read the rest of this entry »

, , , , , , , , , , , ,

No Comments

Adding Swap to any EC2 Instance

Custom Swap IconHave you every worried about your EC2 instance running out of memory, especially when you’re running a EC2 Micro instance witch only comes with a total of 613MB of memory. Well If you’re planning on running anything other then a basic web page you may run out of RAM can cause all sorts of problems, mainly it will cause your instance to crash. Well there is a tried an tested method to get around this called paging or swap space. Read the rest of this entry »

, , , , , , , , , , , , ,

1 Comment