Berkeley Packet Filter (BPF) syntax

Qualifiers

The expression consists of one or more primitives. Primitives usually consist of an id (name or number) preceded by one or more qualifiers. There are three different kinds of qualifier:

  • type qualifiers say what kind of thing the id name or number refers to.

    Possible types are hostnet , port and portrange.

    E.g., “host foo”, “net 128.3”, “port 20”, “portrange 6000-6008”.

    If there is no type qualifier, host is assumed.

    [Read More]

Changing the logos on Cascade Profiler

It’s quite easy, change the images located in the following directory:

The one you normally see in the top left is “logo_rvbd_profiler.png” - 106x50px in size. Replacing the image with another PNG will replace it just fine in the interface. If you make something bigger, it can occasionally mangle the page, so be careful 🙂

[Read More]

My Mission Statement

I attended an eQ Events Personal Success Intensive course on 24/08/13. One of the parts of the course was to define my personal mission statement. Here it is, in its current incarnation. I’ll change it as it changes over time.

The Purpose of my life is to experience Freedom and Wisdom. My mission to accomplish this is through sharing my thirst for knowledge, experience and understanding of the systems of the world to enrich and improve everything around me.

[Read More]

Completely deleting services from Riverbed Cascade Profiler

When you delete services from Riverbed Cascade they’ll sit in the list when running reports and so forth - which can be seriously painful over time. There’s a way to clear it out though!

  1. ssh to the profiler as the “mazu” user

  2.  The following command will show you all deleted service policies: policycleaner –get-policies

  3.  To clean the DB of these policies policycleaner –purge-policies

    [Read More]

Twenty four hours

So, it has been twenty four hours since I started using an iPhone as my primary phone. I have used them before to help friends, and have seen many many articles about them in the press, but haven’t actually strayed from the way of the droid.

I set myself the challenge to use an iPhone for a month so that I could genuinely understand the obsession (or justify my dislike) for the IOS platform in general. I have become increasingly unhappy with the android ecosystem, from the poor performance of the original Samsung galaxy s, to the issues on launch from the HTC one X. That doesn’t take into account the constant camera issues with the latter and … Other stuff.

[Read More]

Replacement motherboard = no network?

Linux udev is great but if you forget about it, it’s a pain. When you replace a motherboard/network card in a machine, you just expect the primary network device to be eth0 again, but with udev it’s not going to do it.

Ubuntu uses a file at this location to store the udev rules for network cards:

example of what’s in there:

Remove all the rules in the file, reboot and it should sort you out… there’s more complex ways of dealing with it, but I like hitting things with hammers. 🙂

[Read More]

And this is why we don’t use telnet

Unfortunately for us, our wireshark appliance is so inundated with traffic it can’t capture all the packets, but we’ve got enough here to brute force the password pretty quickly…

[Read More]

HP DC7900 ‘error during MEBx execution’ error fix

When you get one of the following errors on boot for a DC series computer (including DC7800, DC7900, DC8100, DC8200

  • 2231-ME error during MEBx execution
  • 2232-AMT error during MEBx execution
  • 2233-HECI error during MEBx execution

Their suggested fix is the following:

That seemed a bit stupid, replace the motherboard? Surely there’s another way. Rebooting it doesn’t normally fix much, but there’s a few things I read that seem to fix it.

[Read More]