catarrh
b900a8a3e1
Merge simtrace-analyser PWA into frontend/ (monorepo); serve it same-origin
...
- frontend/: simtrace-analyser PWA (index.html, sw.js, manifest.json,
icons, tests/index.test.html) copied in fresh
- server.py: static file serving (_STATIC_MIME, _serve_static) with
path-traversal guard; injects window.SIMTRACE_EMBEDDED='1' into
index.html so the PWA defaults to a relative API base
- server __main__: --web-dir (default <repo>/frontend)
- frontend: embedded same-origin mode; sw.js relative precache paths +
cache v4; GitHub link + version-warn point at simtrace2-pysniff
- version 1.1.0 everywhere (__version__, pyproject, PWA_VERSION,
manifest); MIN_SERVER_VERSION stays 1.0.0
- README/scripts/.gitignore updated
Tests: 107.
2026-08-14 16:26:28 +03:00
catarrh
8b7b10b8fa
Version 1.0.0; expose version in /api/status
...
First published version. __version__ and pyproject bumped to 1.0.0,
/api/status now returns 'version' so the PWA can check compatibility.
Tests: 107 (status includes version, package version).
2026-08-14 10:24:24 +03:00
catarrh
a130b97cce
Add GsmtapReceiver — receive GSMTAP-SIM over UDP
...
UDP socket on port 4729, parses GSMTAP header, validates
GSMTAP_TYPE_SIM, returns (sub_type, data). Compatible with
simtrace2-sniff and pySim's GsmtapApduSource.
2026-08-12 12:31:52 +03:00
catarrh
73b0277ef7
Initial commit: simtrace2-pysniff v0.1.0
...
Python-based SIMtrace2 sniffer — drop-in replacement for simtrace2-sniff.
Single dependency (pyusb), auto-reconnect, GSMTAP/PCAP output, library API.
Modules:
protocol.py — SIMtrace2 USB sniffing protocol parser
device.py — USB discovery + SniffSession with exponential backoff reconnect
gsmtap.py — GSMTAP UDP sender for Wireshark
pcap.py — PCAP file writer (LINKTYPE_GSMTAP)
dump.py — hex dump formatters + file output
__main__.py — CLI entry point
Startup script sniff-start.sh handles udev permission checks and shows
install instructions. udev rule uses TAG+=uaccess (systemd-logind ACL).
2026-08-10 23:17:04 +03:00