GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SeyyedKhandon/bavin: Bavin - A Realtime StackedUI Packet Analyzer for Students

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

26 Commits
26 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
PacketAnalyzer
PacketAnalyzer
 
 
docs
docs
 
 
scripts/readme
scripts/readme
 
 
web
web
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

In the name of God

Bavin: see what is inside every packet. A packet analyzer that unwraps traffic layer by layer, from Ethernet to HTTP, now in your browser.

▶ Try it online  ·  Install  ·  Run locally  ·  Guide  ·  Developing  ·  Desktop app (C#)

Deploy web version status

The Bavin web app showing a captured HTTP request: the packet list on the left, and on the right the packet unwrapped into Application, Transport, Network and Link layer cards above a hex dump with the selected field's bytes highlighted.

Bavin is a packet analyzer in the spirit of Wireshark, built for learning TCP/IP. Instead of a wall of columns, it shows each packet as a stack of protocol layers — Ethernet, IP, TCP or UDP, then the application on top — with every field linked to the exact bytes it came from, so you can read what is happening the way the RFCs describe it.

Goal — help everyone understand the TCP/IP protocols in action, based on the IETF specifications, through a stacked protocol view of the headers of each well-known protocol.

Two generations

Comparison of the original Windows desktop app (C#, Windows only, WinPcap, live capture) and the new web version (any browser, one-click install, open capture files or capture live through a local agent).

Then — the Windows desktop app (C#) Now — the web app
The original desktop app: a packet list, tabbed protocol headers for TCP, UDP and IP, an Ethernet panel and live traffic graphs. The web app capturing live: a DHCP Discover packet unwrapped into its layers, with the raw bytes below.

What you get

Stacked protocol view with plain-language notes; a hex dump linked to the fields; Wireshark-style filters. Safe live capture through a local agent; one-click install and offline use; private by design.

The Overview tab: bytes per time slice stacked by protocol family, a protocol mix table, busiest addresses and top conversations.

Quick start

Online — open https://seyyedkhandon.github.io/bavin/, click a built-in sample (or drop in a .pcap / .pcapng), and click around. Nothing is uploaded.

Install it — in Chrome or Edge, press Install in the top bar (iPhone/iPad: Share → Add to Home Screen). It then opens in its own window and works offline.

Run it locally — it is plain static files, no build step:

git clone https://github.com/SeyyedKhandon/bavin.git && cd bavin
python3 -m http.server -d web 8000        # then open http://localhost:8000

Capture your own traffic — record a file with sudo tcpdump -i en0 -w capture.pcap (or Wireshark) and open it, or capture live with the local agent below.

Live capture

How live capture works: the Bavin page talks over a WebSocket on 127.0.0.1 to a small local agent, which runs tcpdump on the network card.

A browser cannot open a network card, so live capture uses a small helper that runs on your computer:

sudo node web/agent/bavin-agent.js        # prints a link — open it, press Live → Start

Want the online site to use it? Tell the agent to trust that site:

curl -O https://seyyedkhandon.github.io/bavin/agent/bavin-agent.js     # read it first: it runs with admin rights
sudo node bavin-agent.js --origin https://seyyedkhandon.github.io/bavin/

Then just open the link the agent prints — the Live dialog opens and connects by itself. Nothing to copy or paste.

The agent listens on 127.0.0.1 only, requires a private token, and checks Host and Origin. No privileges? --replay some.pcap streams a file as if it were live. Everything is explained in the guide.

Protocols

Supported protocols by layer: Ethernet and 802.1Q VLAN; IPv4, IPv6, ARP, ICMP, ICMPv6, IGMP; TCP and UDP; HTTP, DNS, DHCP, NBNS, LLMNR, SSDP, mDNS and TLS.

Documentation

Guide Install, read a packet, three guided labs with the built-in samples, filter cookbook, capturing your own traffic, live capture, deploying, troubleshooting
Developing Architecture, adding a protocol, the agent protocol, tests and CI, and regenerating these panels
web/README.md Reference for the web version: files, security model, deployment

The original desktop app (C#)

Windows desktop version — requirements and how to run

The original Bavin is a real-time packet analyzer for Windows that decodes every in/out packet from a network interface into a readable stacked TCP/IP view. It lives in PacketAnalyzer/ and is still the way to sniff live traffic on Windows without installing Node.js.

Protocols (15): Ethernet, IP, IPv6, ARP, ICMP, UDP, TCP, HTTP, DNS, NBNS, LLMNR, SSDP, IGMP, ICMPv6, DHCP.

Requirements

  • Windows
  • Install .NET Framework 4
  • Install the WinPcap library (an installer is included: PacketAnalyzer/WinPcap_4_1_3.exe)

How to run — open the app, select one interface, and it listens to all in/out packets and shows them to you.

Step 1 — program started Step 2 — select a network card Step 3 — listening
Step 1: program started Step 2: select one network card interface to start listening Step 3: listening, with packets and live graphs

Also in that folder: a command-line analyzer (CLIPacketAnalyzer/) and the C source of the capture DLL. See the readmes there for build notes.

License & author

© 2026 SeyyedKhandon. The web version in web/ is MIT-licensed (web/LICENSE). The original desktop app in PacketAnalyzer/ is MIT-licensed (PacketAnalyzer/LICENSE) by its original author; the repository's root LICENSE is GPL-2.0.

Typography in the panels is Inter (SIL Open Font License 1.1), embedded as a subset.

About

Bavin - A Realtime StackedUI Packet Analyzer for Students

Resources

Readme
GPL-2.0 license
Activity

Stars

6 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.