Tips, Articles, Howtos
Articles and Whitepapers related to Unsniff, Trisul, and Unbrowse SNMP

Send emails on receiving SNMP Traps

This article explains how you can send an email  when SNMP traps are received by Unbrowse SNMP. We use Unbrowse Scripting and the Ruby programming language for this purpose.

Here's what we are going to do:

  1. Open the server and listen for traps (SNMP v1, v2, v3 supported as well as IPv4, IPv6 and all security models)
  2. Every 30 seconds get a list of traps received, format them into an email message
  3. Send the email message to an address (also supports cc)
  4. Remove processed traps so the server memory is freed up

 

Read more...
 
Export plain text pcap after SSL/TLS decryption

Welcome the the first article in the new Unsniff Network Analyzer Tips section.

In this article we look at a common problem many network analysts face when dealing with SSL/TLS decryption.

  • You got the server admin to enter the private key
  • You were able to decrypt the traffic you wanted
  • The server admin now leaves the room and takes the key with him

With Unsniff there are two options :

  • Simple save the result. The USNF file format stores the decrypted result and you do not need the key anymore.
  • If you want to use Wireshark, you need a libpcap format file. Unsniff allows you to copy the plain text TCP streams and paste them as libpcap files. You can then fire up Wireshark to examine the plaintext pcap file.


Let us look at how you can export the plain text into libpcap format.

Read more...
 
Analyze Protocol Buffers
Protocol Buffers (protobuf) is a serialization scheme recently open sourced by Google.  This article is a simple tutorial on how to analyze protobuf messages using Unsniff 1.8 Beta. You just have to drop the proto files in a specific folder. Unsniff then creates a decoder on the fly using the information in the file.

We built support for protocol buffers as a project to test the dynamic decoder framework for Unsniff 2.0. It is now in a shape that many might be of practical use to a lot of people.
Read more...
 
Save SNMP Traps into a MySQL database

This article explains how you can store SNMP traps as they arrive into a MySQL database using the Unbrowse SNMP Scripting Interface. We introduce a sample schema and a script which you can easily adapt to your requirements.

You can script the behavior of Unbrowse SNMP via  VBScript or Ruby. This is done by accessing various objects defined in the Unbrowse Scripting Reference.

In this article we will script the SNMP Trap Receiver to

1. Open a network adapter and listen to all SNMP Traps on it
2. Open a ODBC connection to a MySQL database
3. As each trap arrives insert a row into the database containing the trap details.
4. Close the trap receiver.
5. Close the ODBC connection.

Read more...
 
Packaging SNMP MIB files
This article explains the SNMP MIB packaging feature supported by Unbrowse SNMP.  We also include full source code for our MIB packaging script. You can extend or use this program any way you wish.

Network element vendors can package all their MIBs into a single ZIP file that contains both compiled and raw MIB files. This takes the burden off the end user from locating and compiling MIBs. Unlike other MIB Browsers, we do not package a giant MIB database. This would quickly get outdated.

Read more...
 
Work with output from snmpwalk
Convert snmpwalk to mib browserSNMPWALK is one of the main tools used by a network engineer to troubleshoot behavior or verify configuration of devices. The output however is pretty hard to understand. In this article, we will talk about how Unbrowse SNMP makes the task of working with SNMPWALK dumps much easier. Snmpwalk is a command line utility available on almost all router platforms. A standalone version is also available for free from the excellent Net-SNMP project.
Read more...
 
How to effectively use a MIB Browser
MIB Browser Tutorial ThemeAre you just beginning to learn the ropes as a network administrator ? Learn how you can effectively use a MIB Browser to retrieve and set configuration data in routers, switches, and servers.
  • What is a MIB Browser ?
  • Working with MIB Modules and enterprise MIBs
  • How to select and read the MIB objects that are most interesting to you ?
Read more...
 
<< Start < Prev 1 2 3 Next > End >>

Page 1 of 3