www.m00nie.com
  • Home
  • Subnet Calculator
  • Type9 Password Tool
  • Type7 Password Tool
  • Subnetting Practice
  • IP to NSAP
Sign in Subscribe
Install NGINX with HTTP/2 and Pagespeed
Centos

Install NGINX with HTTP/2 and Pagespeed

[toc] Been playing recently with nginx rather than apache (nginx supports http/2 now as of 1.9.5) and its been quite a nice change with a much cleaner config in my mind. Pagespeed is also quite a nice module from our friends over at google to help automatically
Jan 9, 2015 2 min read
jun2acl (Juniper to Cisco ACL Script)
Cisco

jun2acl (Juniper to Cisco ACL Script)

Recently we've needed to migrate an inherited environment  away from Juniper Junos and onto Cisco IOS. As part of this a lot (!) of old an quite nasty firewall filter config needed to be converted to Cisco ACL style. Unfortunately (maybe for a good reason???) there doesnt already seem
Oct 12, 2014 5 min read
EIGRP (Named vs Legacy)
CCIE

EIGRP (Named vs Legacy)

Just a quick look over the basic differences with the newer style of EIGRP config. It really is quite a bit nicer (more logcal?) layout in the config with things like authentication moving under the eigrp config so its easy to see related config under one section of show run
Sep 15, 2014 3 min read
Youtube eggdrop script using API v3
Eggdrop

Youtube eggdrop script using API v3

Just a very simple eggdrop script that allows users to search on youtube using the youtube and will also return some information for any youtube link spamming into the channel set with +youtube. This uses the youtube v3 API. You can grab your own API key [here]. This script is
Jun 24, 2014 7 min read
Kuvaton Eggdrop script
Eggdrop

Kuvaton Eggdrop script

A very simple little TCL script for an eggdrop bot that will grab either some random images or return search results from http://kuvaton.com/. Any problems or suggestions just let me know. Example: Script should hopefully be quite readable and reusable :) #################################################################### # Name moonie:kuvaton # # Author m00nie # # Description Grabs some
Jun 5, 2014 2 min read
Install GNS3 1.0 on Fedora
GNS3

Install GNS3 1.0 on Fedora

Recently started to play around with the new GN3 1.0 release on my Fedora 20 laptop. Just a quick guide to installing since the official notes only seem to mention apt/debian. On a side note the new 1.0 releases are starting to look awesome already :) Install dependencies
Apr 20, 2014 1 min read
Install NFSEN (Centos 6 & Fedora 20)
Centos

Install NFSEN (Centos 6 & Fedora 20)

Found myself having to do this a few times now and it usually ends up being quite messy in the end so some nice clean instructions from a real sysadmin. All credit goes to @gowmonster. I've tested this guide against Fedora 20 and Centos 6. This guide follows
Feb 23, 2014 2 min read
Simple script to add route to exaBGP
BGP

Simple script to add route to exaBGP

Continuing to play around with the very fine exaBGP. This time adding my own little script to announce a new route and reload the exaBGP config to announce the new prefix :) Please note this script makes use of another script that I posted about [here] and I have the script
Jan 23, 2014 3 min read
BGP RTBH setup using exaBGP
BGP

BGP RTBH setup using exaBGP

In this post I'll describe a basic setup using Cisco IOS, IOS XR and exaBGP that will function as a BGP remotely triggered blackhole (RTBH) allowing you to null route any source/destination prefix. The example topology will be as below: exaBGP by a very nice man called
Jan 8, 2014 5 min read
Fedora 19 how to install GNS3
GNS3

Fedora 19 how to install GNS3

Doesnt seem to be a package for GNS3 on Fedora but installing from source is pretty straight forward :) The example below uses the latest version at the time of writing which was 0.8.4 stable. wget http://sourceforge.net/projects/gns-3/files/GNS3/0.8.4/GNS3-0.8.4-src.
Jul 12, 2013 1 min read
Difference between Router Descriptor (RD) and Route Target (RT)
642-691 BGP+MPLS

Difference between Router Descriptor (RD) and Route Target (RT)

Studying towards the SPEDGE (great word Cisco!) tonight and couldn't quite define exactly Route Descriptors and Route Targets. So lets try First off it might be important (and obvious) to note both RT and RDs will only ever be configured and used on PE nodes! P and CE
Jul 9, 2013 2 min read
Use tcpdump to analyse HTTP POST data
Linux

Use tcpdump to analyse HTTP POST data

Today it has been useful to look at POST data being sent to this webserver. A nice filter to do this at the console with tcpdump is: tcpdump -s 0 -A 'tcp dst port 80 and (tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504f5354)' This
Jun 30, 2013 1 min read
Generate DSCP marked pings
Cisco

Generate DSCP marked pings

Today it was useful to confirm a switch was passing DSCP marked packets as expected and handling 'ef' marked packets. To do this on a cisco switch we can use the extended ping feature and set the Type of Service (ToS) to a decimal value that is equivalent
Jun 22, 2013 1 min read
SNMP ACL (after community check?!)
Cisco

SNMP ACL (after community check?!)

Not my usual kind of post of "how to do ...blah" but something I'd come across yesterday that was a little interesting/annoying/silly. Best practice dictates you apply an ACL to your SNMP config so only configured hosts can poll a router/switch even if
Mar 20, 2013 1 min read
Simple script to reload exaBGP config
BGP

Simple script to reload exaBGP config

Recently started to look at exabgp as a tool to inject routes for a RTBH setup. Works nicely so far so made the following simple script to reload the config after changes so they take effect. This was made using exabgp 3.0.11 and Centos 6. The config is
Jan 24, 2013 1 min read
Connectivity problems to a NAT'd host via a VPN on Cisco IOS
Cisco

Connectivity problems to a NAT'd host via a VPN on Cisco IOS

Problem where a client on one side of a VPN tunnel cannot communicate with another host on the other side that has a static nat entry. The host 10.0.0.2 is a mail and web server (tcp/25 & tcp/80) that provides these services to hosts on
Sep 27, 2012 2 min read
Fedora sound over HDMI using pulseaudio
Linux

Fedora sound over HDMI using pulseaudio

On a few machine builds I've had some problems getting sound over HDMI interfaces to TVs on Fedora machines (15/16/17). I guess this is probably the same for any system using pulseaudio though like Ubuntu. Sound would work with MythTV but not browser or desktop sounds
Jul 19, 2012 1 min read
Check service is running with systemctl and start it if stopped + mail
Bash

Check service is running with systemctl and start it if stopped + mail

I did an earlier version of this script on Fedora 16 but used pidof rather than systemctl to check a services status. I use this script below on a few fedora 17 boxes and it seems to be working very nicely :) Any suggestions or feedback is as always much appreciated.
Jul 18, 2012 1 min read
Automatically create symbolic link to Bluray when inserted
Bash

Automatically create symbolic link to Bluray when inserted

My MythTV 0.25 box does support Bluray playback straight from the disc but as Blurays need to be mounted in Linux it needs to know where the disc is mounted. At the moment I couldn't get MythTV to automatically detect this location so I hacked a script
Jul 13, 2012 1 min read
How to configure Smokeping alerts
Linux

How to configure Smokeping alerts

From http://oss.oetiker.ch/smokeping/ SmokePing keeps track of your network latency: *Best of breed latency visualisation. *Interactive graph explorer. *Wide range of latency measurement plugins. *Master/Slave System for distributed measurement. *Highly configurable alerting system. *Live Latency Charts with the most 'interesting' graphs. *Free and OpenSource
Jul 5, 2012 2 min read
Auto run script on disk mount E.g DVD or Bluray
Fedora

Auto run script on disk mount E.g DVD or Bluray

I have a small script that I wanted to run on a disk being loaded/mounted by my fedora 17 system. Fortunately UDEV rules provide a pretty simple way (once you know how) to do this :) First off make a trigger script. I put mine in /usr/bin/disc_trigger
Jul 4, 2012 1 min read
Grab multiple OIDs via SNMPwalk
ASA

Grab multiple OIDs via SNMPwalk

SNMPWALK is a great too for grabbing SNMP oject identifier values (OIDs). To see how to install it see this post here. Mostly I use it for checking various single OID values but sometimes is can be useful to grab more than one value. SNMPwalk itself doesn't allow
May 16, 2012 2 min read
Mythweb NoTrans: Incompatible protocol version (mythweb=63, backend=72)!!
error

Mythweb NoTrans: Incompatible protocol version (mythweb=63, backend=72)!!

Recently upgraded my fedora 16 mythtv box from 0.24 to 0.25 using the packages from the rpmfusion repo. Everything went very smoothly apart from this one problem with mythweb. *User Notice* at /usr/share/mythtv/mythweb/classes/MythBackend.php, line 101: !!NoTrans: Incompatible protocol version (mythweb=63, backend=
May 8, 2012 1 min read
OpenVPN server on Fedora 16 connecting Cyanogenmod 7.2.0 [routed]
Android

OpenVPN server on Fedora 16 connecting Cyanogenmod 7.2.0 [routed]

After a new clean install of my home server I thought I'd try a routed OpenVPN setup rather than the bridged type setup [here]. Since there is usually a maximum of 2 concurrent connections to my home server I've never found the need to use a
Apr 17, 2012 5 min read
Show "free" (not used for a while) ports on Cisco switch with one command
Cisco

Show "free" (not used for a while) ports on Cisco switch with one command

Reasonably common task I come accross is to find free ports on switches (ports that havent been used for sometime). Sometimes its very easy where you can use an NMS or similar to give you a pretty output to show ports and their last input/output. However in my experience
Feb 1, 2012 3 min read
← Newer Posts Page 2 of 5 Older Posts →
www.m00nie.com © 2025
  • home
Powered by Ghost