Archive for the ‘Code’ Category
Encrypted Browsing Using Squid and OpenVPN
Here's a rather old-ish document that I published on Google Docs a while back.
Now looking back on it, it probably needs a revamp. and filling out of the particular bits. There's still a deep need to finish up the bottom bit and make it more presentable.
This evening I spent quite a bit of time coming up with a web-based OpenVPN certificate generator. while successful in writing up an application to do the job, there's still quite a number of dependencies that I need to flesh out and document before I can put everything together and present it.
In any case. Enjoy the other stuff. more later as it comes in.
tom
UDP Syslog Beacon
Yet another one-trick-pony bit of software.
This application will send a “beacon” message every two seconds from one server to another via UDP syslog. To make it go, you will need to run it with an argument- the argument is the IP address you wish to send message to.
Click read more for examples!
Read the rest of this entry »
Sending Your Clipboard Across The Internet
I've been working on some components of Utopiaprojekt this morning and run across the idea of sending the contents of the clipboard across the internet. So, after tooling around for a few minutes, I wrote up a working example using Python on OS X.
So, click on Read More for more information on how I did it.
Read the rest of this entry »
Echo.py Released!
Introduction
This is an old-ish app that I've been sitting on over the past few months and thought I should release it before it joins my BPOUS (Big Pile Of Unpublished Stuff) on a random hard drive somewhere.
Echo.py is a one trick pony. It tails a (configurable) log file on the system and sends the logs off to a syslog server for further processing. It's configurable for either UDP or TCP syslogging and is highly configurable, depending on your environment and needs. It's been tested on OS X 10.5 and Ubuntu 7.10 with Python 2.5.*
Since this application is written in Python, it can run on Windows, Linux, etc. Pretty much any OS with a Python interpreter can run this script. This script can be compiled as a “frozen binary” and run on systems without a Python interpreter installed on it. I will leave that exercise up to you, Dear Reader, on how to accomplish this.
The only real caveat to using the script is that if the application which creates the log file dies and the log is overwritten whenever it comes back up, echo.py will not catch that change and hang up, not sending out logs until it's restarted. Since the standard UN*X 'tail -f' exhibits the same issue, this should be considered normal.
Click Read More for more information.
Read the rest of this entry »
Mac Hotkeys for Windows Users
AHK is an excellent scripting program that's been around for a number of years now. In it, you can create hotkeys and macros for Windows systems to carry out a bewildering array of tasks.