Archive

Archive for the ‘tools’ Category

named-checkconf

May 17th, 2013 No comments

Always run named-checkconf -z after making changes to your Bind configuration. And of course you should read the output and fix errors.

For lazy people like me make is pretty useful:


root@dns:/etc/bind# cat Makefile
all:
named-checkconf -z
rndc reload

Just type make and your configuration gets checked and if everything is in order Bind is reloaded.

Categories: linux, networking, tools

/me @FrOSCon 2012

August 16th, 2012 2 comments

I’ll be giving a three hour Wireshark tutorial and a 1hour presentation about check_mk (and some other Icinga / Nagios related tools) at this years FrOSCon on August 25th and 26th. Both are in German. The tutorial is at a beginner level and hands on. So bring your own notebook. I’ll also explain some other network troubleshooting techniques.

Cloudshark

July 28th, 2012 No comments

Cloudshark is another nice tool if you want other people to take a look at your captures. Don’t use it for anything with security relevant data, passwords, …

They also sell an appliance so you can use this service in your enterprise (I’d realy like to test that).

Categories: networking, tools, wireshark

IPvFox

July 26th, 2012 No comments

Nice Firefox plugin.

List the hosts, and corresponding network addresses, from which a page and its resources are loaded.

Categories: ipv6, tools

icli

July 10th, 2012 No comments

Most of my work is done on the command line. My mail (Gnus) , IRC (irssi) and jabber client (irssi + bitlebee) are all running inside a screen session. I now added
icli to another screen window to keep track of my monitoring

Just calling icli will list all checks, I usualy just filter for service that are either warning or critical (or not okay) using the option -z \!o.


root@mon:~# icli -z \!o
file.example.com
APT-Status WARNING APT WARNING: 13 packages available for upgrade (0 critical updates).

web.example.net
SSH CRITICAL Server answer:

dev.example.com
APT-Status WARNING APT WARNING: 31 packages available for upgrade (0 critical updates).

web1.example.net
HTTP WARNING HTTP WARNING: HTTP/1.0 404 Not Found - 869 bytes in 0.123 second response time

blog.example.net
WordPress example.net CRITICAL Your core is out of date! 3.4 -> 3.4.1

Categories: Monitoring, tools

etckeeper

July 8th, 2012 No comments

Keeping track of changes made in /etc can be very hard. Recently I decided to give etckeeper a try an so far I like it very much. ectkeeper hooks into apt and whenever an update make any changes those are checked into git. You can also commit changes you’ve done manually to any file in /etc. Besides file content, etckeeper also tracks file permissions and ownership.

To see what has changed since the the last commit just type git status


root@mon:/etc# git status
# On branch master
# Changed but not updated:
# (use "git add ..." to update what will be committed)
# (use "git checkout -- ..." to discard changes in working directory)
#
# modified: check_mk/main.mk
# modified: icinga/icinga.cfg
# modified: icinga/objects/check_mk/check_mk_objects.cfg
#
no changes added to commit (use "git add" and/or "git commit -a")

You can than commit with etckeeper commit and use git status to see what has changed.

Categories: linux, tools

Searching Mails

February 18th, 2012 No comments

I’m using Emacs and Gnus since 1999. Over the time I accumulated about 10GB of Mail. Emacs is running in a screen session on my host server which can be accessed by ssh. Finding Mail is sometimes a problem, especaily when I don’t remember which folder I moved that mail to.

Mairix is a nice tool which allows to index large amounts of mail and search them afterwards.

Categories: tools

sipcalc

January 17th, 2012 No comments

If you are lazy (just like me) and don’t want to do your IP subnetting by hand checkout sipcalc.

Sipcalc can work both with vintage IP and IPv6.

Categories: ipv6, networking, tools

Wireshark: IPv6 filter

June 15th, 2010 1 comment

As you might know IPv6 uses it’s own Ethernet type 0x86dd. You can use this easily capture only IPv6 traffic with wireshark just uses eth.type == 0x86dd as filter.

Categories: ipv6, tools, wireshark

Pulledpork

May 10th, 2010 No comments

If you are using Snort as IDS you might want to take a look at pulledpork for updating an managing rules.

Categories: networking, security, tools