Skip to content

Packhound v1.4.1

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Oct 13:58
f9c0037

Packhound 1.4.1 makes live previews play in Chrome. Recent Chrome versions claim to play HLS natively but stall at 0:00 on a live stream; the player now uses its built-in hls.js wherever it runs, and native HLS only on iPhones and iPads. A preview whose clock stops is restarted, and the player says when it is waiting for pictures. Earlier notes follow.

Packhound 1.4.0: watch a channel.

  • Live previews: click a channel in the mosaic, or Preview in a stream's detail, to watch it live in the browser, on a laptop or a phone over a thin link. Packhound encodes it small from the stream it already receives: 360p at about 700 kb/s, 240p at about 350 kb/s, or audio only (radio channels start there). It is a few seconds behind live: enough to see that a channel is right.
  • Light on the appliance: a preview runs only while someone watches, everyone watching a channel shares one, and at most 2 run at once on the appliance (Settings > API > Live previews), 4 on a desktop. An HD preview takes about half a core, SD about a tenth, at a lower priority than monitoring.
  • Phones and wall screens: Open in a new tab gives the preview a page of its own; with the API token, /watch?ch=<group:port>&token=<token> opens it without logging in.
  • The appliance's ffmpeg now includes x264 and the audio decoders IPTV carries. The player (hls.js, Apache-2.0) is built in.

Earlier notes follow.

Packhound 1.3.2 fixes channels showing as scrambled when they are not. A channel now shows as scrambled only while it is (most of its packets over the last five seconds were scrambled); before, one scrambled moment, as when a headend loses its source or its conditional access, marked it scrambled until Packhound restarted, and the mosaic stopped taking its pictures. Video turning scrambled and clear again now raises an alert, and the detail panel counts scrambled packets and says when the latest arrived. Earlier notes follow.

Packhound 1.3.1 makes ERSPAN work without root: when a raw socket is not allowed, the mirror is received through the interface's capture device, with the same access Capture everything uses (Wireshark's ChmodBPF on macOS, Npcap on Windows, setcap cap_net_raw on Linux). The status line says which way it arrives. The Ruckus ICX example now uses monitor-profile 1 type erspan in lower case, as FastIron requires. 1.3.0's notes follow.

Packhound 1.3.0: capture files and remote switches.

  • Open a capture file: Open capture… analyses a .pcap or .pcapng from Wireshark or tcpdump in a view of its own, while live monitoring (and on the appliance, SNMP and the REST API) carries on. The result is the state of things when the capture ended: rates averaged over the capture, errors totalled, alerts as a timeline in the capture's own times, and a mosaic still of each channel taken from the file. Captures of a switch's mirror are unwrapped. From the command line: packhound -read site.pcapng -out streams.json.
  • Watch a switch you are not plugged into: the new Remote switch mode receives a port mirror over the network, as ERSPAN (Types I, II and III, or plain GRE: Cisco, Arista, Juniper, Aruba, Ruckus ICX) or as TZSP (MikroTik's sniffer streaming). The console shows configuration examples with Packhound's address filled in, and says whether the mirror is arriving and from which switch. ERSPAN needs root (the appliance runs as root); TZSP needs nothing.

Earlier notes follow.

Packhound 1.2.2: the mosaic's refresh interval can be set to 15 seconds, 30 seconds (the new default) or one minute, from the top of the mosaic page; the appliance remembers it. Stills are taken only while the mosaic page is open or the API is being polled, and stop a minute after the last request (it was five). Earlier notes follow.

Packhound 1.2.1 fixes the mosaic for channels whose encoders send open GOPs: their key pictures are I-frames marked as recovery points rather than IDR frames, and 1.2.0 could not decode them. Radio channels are now labelled as radio rather than "no video". 1.2.0's notes follow.

Packhound 1.2.0: the mosaic.

  • Mosaic: a page, opened from Mosaic in the console's header in a new tab, with a still of every MPEG-TS channel every 15 seconds to a minute. Each tile shows the channel's name, its state, its errors, how old the picture is, and a speaker: green while audio is arriving, red when the channel has audio but none is arriving. Scrambled channels and channels that stop are marked as such.
  • Light on the CPU: a still is the next key picture on the channel, taken from the stream Packhound already receives (no extra joins), and decoded by ffmpeg one at a time, using at most a quarter of one core. Stills are taken only while the mosaic is open or being read by an API client.
  • REST API, for monitoring systems and dashboards: GET /api/v1/mosaic lists the channels with their stills, and GET /api/v1/mosaic/<group:port>.jpg serves each one (JPEG, 320 pixels wide, with ETag). With ?token=, the image URLs carry the token, so a client that can only fetch a URL can show them.
  • Wall screen: https://<appliance>/mosaic?token=<API token> opens the mosaic without logging in. The token never opens the console.

The appliance now includes a small ffmpeg (H.264, HEVC and MPEG-2, LGPL). On Windows, macOS and Linux, Packhound uses an ffmpeg beside it or on the PATH; without one, the mosaic shows each channel's state and audio, but no pictures.

Downloads: Windows, macOS and Linux builds, and the virtual appliance as .ova (VMware, VirtualBox), .qcow2 (Proxmox, KVM) and -hyperv.zip (Hyper-V). There is no installer: unzip and run, or import the appliance.