ZEN Tech NZ

AvatarIf there are no technical difficulties rights now, there will be!

HTC Universal AKA JasJar

JasJar (HTC Universal) Hardware:

CPU: Intel(R) PXA270
Speed: 520 Mhz
RAM size: 64 MB
Flash size: 128 MB
Flash chip type: M-Systems
Data bus: 32 bits
Storage size: 9.93 MB
LCD: 480 x 640 TFT
Colors: 65536

Device Information: ( November 2007)

ROM Version: 2.12.06 WWE
ROM Date: 11/10/07
Radio Version: 1.15.00
Protocol Version: 45.51.P8
Ext ROM Version: UNLOCKED

Happy Silly Season

Well it has been a while since I entered anything in here. Been occupied with setting up an Intrusion Detection System, (IDS). So far its been more of an 'Idiot Detection System' as most of the 'attacks' logged tend to be from mis-configured hosts out there!

Heres something that made my day on the xkcd website. 8-)

NMS Part 2 - How to Set Up Netflow

To set up netflow on a Cisco router (in our case a Cisco 3750 with IOS 12.2) we need to tell it where to send the netflow data to. In the example below the destination (172.17.1.1) should have a netflow listener or capture running on udp port 9696.

  • Router#enable
  • Router#configure terminal
  • Router(config)#ip flow-export
  • Router(config-if)#version 5
  • Router(config)#ip flow-export destination 172.17.1.1 9696
Next we have to set up each interface for which we want the netflow data from. In the case where the interface is not part of a defined VLAN
  • Router(config)#interface GigabitEthernet1/0/1
  • Router(config-if)#ip route-cache flow
  • Router(config-if)#ip flow ingress
In the case of VLANs and trunking the set up is slightly different (just to confuse myself I put in all the gory details). First we define the interface/port that we are interested in.
  • Router(config-if)#interface GigabitEthernet1/0/2
  • Router(config-if)# description a VLANed interface
  • Router(config-if)# switchport access vlan 2
  • Router(config-if)# switchport trunk encapsulation dot1q
  • Router(config-if)# switchport trunk native vlan 2
  • Router(config-if)# switchport mode trunk
  • Router(config-if)# speed 1000
  • Router(config-if)# duplex full
Then we define the VLAN interface
  • Router(config-if)#interface Vlan2
  • Router(config-if)# description a VLAN for our interface
  • Router(config-if)# ip address 172.17.1.2 255.255.255.0
  • Router(config-if)# ip flow ingress
  • Router(config-if)# ip route-cache flow
Exit from the configure mode and then do:
  • Router(config-if)#show ip flow export

You should get something like:

Flow export v5 is enabled for main cache
Exporting flows to 172.17.1.1 (6969)
Exporting using source IP address 172.17.1..249
Version 5 flow records
853478 flows exported in 66526 udp datagrams
0 flows failed due to lack of export packet
0 export packets were sent up to process level


Other useful commands are:
  • Router(config-if)#show ip flow interface
  • Router(config-if)#show ip cache flow

Network Management Systems - Part I

NMS Inventory - for quite a while I have been meaning to document an NMS (Network Management System) which is currently running at a clients site.

The base operating system is currently FreeBSD 6.1 with a whole lot of useful tools as well as SMS alerting system. The base install includes Apache 1.3 (good old reliable stuff!), MySQL 5.1, Perl and PHP.

In the following pages I will attempt to describe several of the packages which I find very useful, such as:
- cacti
- NeDi (Network Discovery tools)
- netflow tools

.....


Spintronics made it possible to pack much more data onto hard disks

Hard drive miniaturization technology wins physics Nobel


Albert Fert and Peter Gruenberg won the 2007 Nobel Prize for physics for discoveries allowing the miniaturization of hard disks in electronic devices.