Showing headlines posted by topdog

( 1 ... 2 ) Next »

Centos 6 Bonded network interfaces

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Feb 2, 2013 8:20 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Bonding allows you to aggregate multiple ports, providing redundancy, fault tolerance and load balancing. There are various types of bonding available but i will show how to bond in mode 1 which is active-backup. If your interested in the other available types please refer to the documentation. In this setup i have two connections to different switches in case one fails the other takes over and services are not disrupted.

Commandline OpenVPN client on Mac OSX with macports

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Jan 31, 2013 1:02 PM EDT)
  • Story Type: Tutorial
Most people use TunnelBrick to setup OpenVPN client connections on Mac OSX, i prefer using the command line. To get OpenVPN up and running off the command line is a simple process. The commands below need to be run as a privileged user if your root account is not enabled use sudo to run the commands.

Automating translation of software using the Microsoft Translator and Python

The Microsoft translator provides an API that you can use for automated translation. It currently supports about 39 languages. True to the nature of open source I found that someone had already written a python wrapper to the API. I extended the wrapper to use the requests and pofile packages.

Strongswan now supports PAM authentication

Strongswan release 5.0.1 includes a XAuth PAM plugin which requests username/password XAuth credentials and verifies them against Pluggable Authentication Modules (PAM). This plugin is not enabled by default to enable it you need to add the following to your ./configure options

Strongswan now supports Cisco unity extensions

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Nov 7, 2012 8:22 PM EDT)
  • Story Type: News Story; Groups: Linux
I previously wrote about setting up split tunneling on Strongswan using the attr-sql plugin. With the release of Strongswan 5.0.1 it is no longer the only way to support split tunneling. Strongswan 5.0.1 introduces the unity plugin which allows for the configuration of split tunneling either using a charon option or using the attr plugin which is enabled by default.

Mac OSX IPSEC VPN via command line using builtin Racoon client

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Sep 19, 2012 5:53 PM EDT)
  • Story Type: Tutorial
The Mac OSX IPSEC VPN client setup via "System preferences" only supports IPSEC/XAUTH and IPSEC/L2TP both of which give you a different IP address for your tunnel interface. System preferences on the backend uses Racoon so it is possible via the command line to setup a pure IPSEC connection.

MailScanner Ubuntu and Debian packages now available

The Debian and Ubuntu MailScanner packages have not been maintained for a long time. Recently both distributions dropped support for MailScanner within their repo's.

The Baruwa project provides up to date deb packages for both distributions.

IPSEC split tunneling VPN with Mac OSX and Strongswan 5 on Centos/RHEL 6

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Sep 1, 2012 10:08 PM EDT)
  • Story Type: Tutorial; Groups: Linux
In my previous post i described how to setup an IPSEC VPN for use with Iphone, Ipad and Mac OSX IPSEC VPN clients.

This post describes how to enable split tunneling which is supported by the Mac OSX IPSEC client. Although split tunneling is considered insecure there are cases where it is ideal to run split tunnels.

The scenario for this post is that you are connected to a LAN (10.128.0.0/24) with internet access via a gateway on the LAN, you want to connect to a different network 192.168.1.0/24 which is only accessible via VPN, but you want to retain access to resources on the LAN while accessing the remote 192.168.1.0/24 network.

Baruwa 2.0 Source code released

I have just open sourced the source code to Baruwa 2.0 on Github. Baruwa 2.0 is a ground up rewrite of Baruwa which adds lots of new features.

Iphone/Ipad/Mac OSX IPSEC VPN with Strongswan 5 on Centos/RHEL 6

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Aug 24, 2012 3:19 AM EDT)
  • Story Type: Tutorial; Groups: Linux
This howto describes setting up an IPSEC VPN for use with the Iphone, Ipad and Mac OSX VPN clients on Centos/RHEL 6. I am using the 5.x branch of Strongswan which is now the mainline actively maintained branch.

Python modules you should know: PyGPGME

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on May 23, 2012 10:01 PM EDT)
  • Story Type: Tutorial; Groups: Linux
Next in our series of Python modules you should know is PyGPGME. This package lets you sign, verify, encrypt and decrypt messages using the OpenPGP format. It is built on top of the GNU Privacy Guard and the GPGME library.

Block Spam from domains on the South Africa ISPA Spam Hall of Shame using DNSBL Part2

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on May 11, 2012 4:46 PM EDT)
  • Story Type: Tutorial; Groups: Linux
I previously wrote about how to block domains named in the ISPA Spam Hall of Shame using DNSBL at SMTP time, these domains have now resorted to using 3rd party senders to try and get their Junk through. Because they are using 3rd party senders the envelope from address is no longer the one that is listed on the hall of shame. In this post i will describe how you can catch the mail that has slipped through your SMTP DNSBL checks.

Python modules you should know: pydkim

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on May 9, 2012 1:07 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Next in our series of Python modules you should know is pydkim. This package is used to sign and verify email according to the DKIM standards from within Python programs.

Python modules you should know: dnspython

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on May 7, 2012 9:03 PM EDT)
  • Story Type: Tutorial; Groups: Linux
Next in our series of Python modules you should know is dnspython. This package is a DNS toolkit, you can use it to perform DNS queries, Zone transfers and Dynamic Updates in Python programs.

Python modules you should know: IPy

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on May 6, 2012 5:42 PM EDT)
  • Story Type: Tutorial; Groups: Linux
Next in our series of Python modules you should know is IPy. This package is used to manipulate IPv4 and IPv6 addresses in Python programs.

Python modules you should know: PyClamd

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on May 2, 2012 1:24 PM EDT)
  • Story Type: Tutorial; Groups: Linux
Next in our series of Python modules you should know is PyClamd. This package is used integrate Clamav Virus detection in Python programs.

Python modules you should know: Pwtools

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on May 1, 2012 6:58 PM EDT)
  • Story Type: Tutorial; Groups: Linux
Next in our series of Python modules you should know is Pwtools. The package is used to generate and test passwords in Python programs.

Python modules you should know: SlimIt

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Apr 30, 2012 8:52 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Next in our series of Python modules you should know is SlimIt. I previously wrote about the minification of CSS files, the Slimit package is used for minification of Javascript files.

Python modules you should know: cssmin

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Apr 29, 2012 1:15 PM EDT)
  • Story Type: Tutorial; Groups: Linux
Next in our series of Python modules you should know is cssmin. Minification has recently gained prominence in the web 2.0 world due to the need to optimize web application performance.

The cssmin package is used to minify css files.

Python modules you should know: bcrypt

  • topdog.za.net; By Andrew Colin Kissa (Posted by topdog on Apr 28, 2012 9:31 AM EDT)
  • Story Type: Tutorial; Groups: Linux
Next in our series of Python modules you should know is bcrypt. I previously wrote about the passlib package which you can use to manage passwords, in some cases a fully featured password management package is not what you want. The bcrypt package is small and allows you to manage passwords using OpenBSD's BCrypt hashing scheme. It is in fact used by passlib in the background to handle BCrypt hashes.

( 1 ... 2 ) Next »