Entries Tagged as ‘linux’

November 12, 2007

Introducing ‘aimsnarf.rb’ => A simple AIM sniffing tool written in Ruby

[UPDATE 11/13/07] : version 0.11 released
Firstly, download the script here.
aimsnarf.rb is a small (~200 lines) Ruby script that I’ve written to sniff and dump AOL IM messages to STDOUT. I wrote this an as alternative to aimsniff, because I really dislike having to install aimsniff and all of it’s dependancies when all I want is [...]

July 30, 2007

Enabling IPv6 on Cisco 3750 and Solaris/Linux/Windows

Alright, lately one of my goals for this quarter is to get our lab working over IPv6 in addition to IPv4 for testing some of our software. Here’s a quick rundown on how to enable ipv6 on *most* cisco switches and Solaris, Linux and Windows.
Enable IPv6 on *most* Cisco switches (I used a 3750):
1. Telnet [...]

June 21, 2007

All I tried to do was connect the Clariion agent…

Here’s something that doesn’t make me happy to see:
[root@lava2054 ~]# tail /var/log/messages
Segmentation fault
[root@lava2054 ~]# dmesg
-bash: dmesg: command not found
[root@lava2054 ~]# sync;reboot
-bash: sync: command not found
reboot: error while loading shared libraries: libattr.so.1: cannot open shared object file: No such file or directory
Ack. *runs off to find the problem*
Update:
Turns out that one of the partitions in the [...]

June 21, 2007

Tutorial: Sniffing iSCSI traffic for a spoofing attack

Also known as “Why you need some kind of iSCSI security”
Okay, after reading Himanshu Dwivedi’s presentation[PDF] on iSCSI security (insecure-SCSI hur hur hur) I decided to try and replicate one of the attacks that he mentioned in the presentation. Following is how I managed to get the data shown of a different machine.
Firstly, I needed [...]

June 18, 2007

DRBD and Heartbeat for high availability on Linux

I’ve been trying to get a HA solution put together for one of our software projects here at EMC and I figured I’d share the configuration of these two products in the environment that we’re using. I have to write the documentation for it anyway, so I might as well post it here for everyone [...]

June 5, 2007

Ian Murdock at OpenSolaris users group

So I read quite a few Solaris blogs and when this popped up this morning I decide to take a look (warning, the movie that the post links to is >500 megs)
I had expected to hear a pretty good discussion around the “linuxification” of Solaris and how Ian Murdock plans to approach it, turns out [...]

May 17, 2007

Linux firewall configuration

Basic iptables firewall conf only letting ssh and DNS through:
# Generated by iptables-save v1.2.11 on Thu May 17 14:52:04 2007
*filter
:INPUT DROP [13164:946396]
:FORWARD ACCEPT [0:0]
:OUTPUT DROP [0:0]
-A INPUT -p tcp -m state –state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m tcp –dport 22 -j ACCEPT
-A INPUT -s 128.222.228.235 -p tcp -j ACCEPT
-A INPUT -s 128.222.228.235 -p [...]