Secure Firewall for OpenVPN

Creating a secure firewall is essential for any openvpn configuration. First of all, I’d strongly recommend grabbing a copy of Linux Firewalls. Its got a great section on iptables, with a look at all the commands available to you as well as an example firewall…

wxpython Segmentation Fault

In some of my wx python apps, I have come across this error. It usually appears like this on the command line Segmentation Fault (core dumped) The most common reason for me getting this error, has been when a non-main thread tries to directly manipulate…

Part 3: Setting up the schedule

Part3: Setting up the schedule So you’ve got the python screen capturer and emailer sorted. Now all we need to do is combine the two and set up a process to perform on a regular basis. 1. ScreenMailer First, we’ll combine the two. When this…

Part 2: Python Emailer

Part 2: Python Emailer If you want to send emails using python’s smtplib, this is a good example. The method sendMail takes 8 arguments and is able to send attached emails to an address. Currently, this is only tested using my gmail account as the…

Linux Windows Usage Surveillance in Python

Lets say you want to keep track of a computers usage, for remote working. It should deliver hourly shots of computer usage to an email address that you’ll give it. It will also deliver screen shots every 2 minutes, but you can choose whether it…

Import CSV in SugarCRM

I have been trying to import a CSV from an outlook address book into SugarCRM version 5.1.0. I was having a lot of trouble as everytime I would try to import the file it would only give me between 1 and 10 of the fields…