Error message
Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2405 of /data03/toxictux/public_html/main/includes/menu.inc).
Linux
Submitted by TuxInvader on Wed, 07/23/2008 - 20:32
OpenSSH 4.2 and above now have true vpn functionality using tun(4) devices. Unfortunately this functionality has not yet made it into the portable version (not in Linux at least). Don't panic though, you don't need tun to use SSH as a VPN
UPDATE
* OpenSSH 4.3p1 added support for FreeBSD, NetBSD and Linux tun devices.
Submitted by TuxInvader on Thu, 11/09/2006 - 17:53
I've been looking through some old files and I found this log analysis script kicking around. It's really simple and outputs the total hits and unique hits (visitors) per day as read from a NCSA format log file. Thought I would post it here for posterity.
This really is first exercise in "bash for dummies" type stuff though ;p
Not that I have that book or even know if it exists?
loganalysis.sh
Submitted by TuxInvader on Fri, 10/20/2006 - 18:36
GPGSesame is a perl script that collects and verifies Open PGP signed / encrypted mail and allows access through a Linux Netfilter firewall. This enables you to remotely open holes in your iptables by simply sending a GPG email to authenticate yourself. The version here opens acess to the SSH port, but you're free to modify the script if you want to change that.
Submitted by TuxInvader on Sat, 09/30/2006 - 12:41
This is a script which can collect perfomance statistics at desired intervals and convert the output into a CSV report which you can then import into a spreadsheet or database for further analysis. It uses standard unix utilities (iostat, vmstat, netstat, uptime) and has been tested on Linux and Solaris systems.
Submitted by TuxInvader on Tue, 09/05/2006 - 16:29
This is a little script I wrote that uses awk to generate information on Apache mod_proxy performance. The script is called cachestats.sh and it takes in a list of log files to process.
For each log it tells you how many requests were served along with the real numbers and percentages of those that were Hits, Misses or Un-cacheable. It breaks each one down by HTTP return code.
Submitted by TuxInvader on Mon, 09/04/2006 - 08:52
The Knight Industries Two Thousand on your keyboard! Remember KnightRider? This evolved during a wildly off-topic discussion on
slashdot. Add these two aliases to your .bashrc and then run KITT to make your num,caps,scoll lock LEDs behave like the panel in KITTs bonnet.
aliases:
alias setleds='setleds -L < /dev/tty1'
Submitted by TuxInvader on Tue, 08/01/2006 - 01:00
Linux Gaming sites you need to know about.
Submitted by TuxInvader on Fri, 07/14/2006 - 22:48
One method I've used for accessing my home box from the interweb is to use a dynamic DNS account. I have a script that is run from cron that does a lookup on a certain hostname and updates an iptables chain whenever the IP changes.
I don't need to leave SSH open, I just carry the username/password for the ddns account and update it whenever I need access from somewhere. Within a few minutes a hole is opened through the firewall and I can log in.