Skip to content

v1.3.3 — /usr/bin symlink + AppArmor profile actually loads

Latest

Choose a tag to compare

@cstrat cstrat released this 25 Apr 03:49

v1.3.3 — stg-sase-traffic-generator works from the terminal; AppArmor profile loads reliably

Two follow-ups to v1.3.2 from real-world install testing.

Fixed

  • /usr/bin/stg-sase-traffic-generator symlink. electron-builder's deb target doesn't auto-create the /usr/bin shortcut when the productName contains spaces ("STG - SASE Traffic Generator"), so the README claim that you could stg-sase-traffic-generator from a terminal was wrong on every prior .deb. The post-install script now creates the symlink (and the post-remove script tears it down). The apps-menu launcher already worked via the .desktop file.
  • AppArmor profile attachment uses a glob. apparmor_parser's profile-attachment header rejects paths containing spaces even when quoted, so the profile installed by 1.3.2 didn't actually load on Ubuntu 24.04 where the binary lives at /opt/STG - SASE Traffic Generator/stg-sase-traffic-generator. The profile now attaches to /opt/*/stg-sase-traffic-generator, which matches our install layout without needing to quote anything. Verify with sudo aa-status | grep stg.

Install

Format arm64 x86-64
.deb (recommended) STG-1.3.3-arm64.deb STG-1.3.3-amd64.deb
.AppImage STG-1.3.3-arm64.AppImage STG-1.3.3-x86_64.AppImage
sudo apt install /tmp/STG-1.3.3-amd64.deb     # or _arm64.deb

(Move the .deb out of ~/Downloads first to silence the benign _apt: Permission denied notice — apt's privilege-drop user can't read $HOME. Install still works either way.)

Included (from 1.3.0–1.3.2)

  • AppArmor profile install/uninstall via dpkg postinst/postrm
  • --disable-dev-shm-usage Chromium switch for hardened VMs
  • Renderer CSP (script-src 'self', object-src 'none', base-uri 'none', frame-src *)
  • HTML escaping at every dynamic innerHTML sink
  • Config sanitiser on load + import (rejects __proto__, non-http URLs, out-of-range counts)