Random knowledge VIII.

You're getting old if you consider sleeping until 0900 'sleeping in'.



When configuring a firewall with IPTables you have to specify the protocol before the port number(s) in each command. Do this:

iptables -A INPUT -s 1.2.3.4 -p tcp --dport 22 -j ACCEPT

and not this

iptables -A INPUT -s 1.2.3.4 --dport 22 -p tcp -j ACCEPT

If you don't, you'll see error messages to the effect of "Unknown arg '--dport'"

When writing Snort rules, there are a few things to keep in mind. First of all, rules come in two parts: the …

Read more...

Signature Generator v1.1

This utility was designed to convert information about someone or something into a form better suited for magickal operations. It's written in Perl and outputs an MD5 message digest suitable for use in sigils, mantras, chanting, or what have you. Documentation is built in and displayed with the command signature_generator-1.1.pl --help.

The utility requires the Perl module Digest::MD5, which is included with most any copy of Perl these days.

signature_generator-1.1.zip