npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

onomondo-traffic-analyzer

v1.0.1

Published

Analyze pcap files

Downloads

3

Readme

Onomondo Traffic Analyzer

Analyze the traffic from a pcap file and learn if there's something that stands out or if you could save something

Installation

$ npm install -g onomondo-traffic-analyzer
$ onomondo-traffic-analyzer somefile.pcap

Parameters

type=[ethernet | ip]

Specify the type of the pcap file. Either it's ip or ethernet.

Optional, defaults to ip.

Example on how to run

You need a pcap file somewhere. It's supposed to be a couple (or more) from one fleet.

$ onomondo-traffic-analyzer --type=ip somefile.pcap`

which would return

🌎 Overall information
======================
Total traffic:    184.63 kB
TCP traffic:      174.79 kB (94% of all traffic)
UDP traffic:        9.84 kB (5% of all traffic)


👯‍♀️ TCP Retransmission information
=================================
Total TCP traffic:     159.89 kB (745 packets)
Resent TCP traffic:     11.11 kB (155 packets)
TCP retransmisisons count for 6% of all TCP traffic

The TCP retransmission says something about how much TCP traffic is resent.
It is not necesarrily a bad thing, but if the percentage is above 30% you could
mention to the customer that there is a lot of TCP retransmissions and that they
might want to look into that by using live monitor.


🔒 TLS Information
==================
Total traffic sent over TLS:    174.79 kB (94% of all traffic)
Meta traffic sent over TLS:     114.09 kB (61% of all traffic [potential removal if using connectors])

The TLS information is a good indicator on whether or not the customer might
gain from using connectors. If the meta traffic is above 50%, it means that they
could at least save 50% of that part of the traffic sent over the TLS.


🚦 Hosts information
====================
10.20.30.400         3.89 kB⬆      5.96 kB⬇  (5% of all traffic)
100.200.300.40      40.52 kB⬆    134.27 kB⬇  (94% of all traffic)

The information about hosts is something that could be shared with the customer
It can help them visualize if there are any hosts that shouldn't be there, or
if any of them use too much traffic.