Repository navigation
Releases
Releases · Raghava-Ch/modbus-gateway
First release
- PDU-Level Bridge: Seamlessly translates framing between Modbus TCP, RTU (Serial), ASCII (Serial), and WebSockets (specifically optimized for browser-side WASM Modbus clients).
- Heterogeneous Upstream/Downstream Config: Spin up multiple listeners and targets concurrently. Mix-and-match TCP, WebSocket, Raw Sockets, and Serial lines.
- Dynamic User-Space Routing: Maps upstream Unit IDs to downstream targets dynamically using exact Unit ID routing, range-based routing, or unit translation rewrites (UnitIdRewriteRouter).
- Interactive TUI Dashboard: A gorgeous, real-time terminal UI built with ratatui featuring live latency graphs, error ratios, connection lifecycle states, and route trees.
- Traffic Capture and Analysis:
- PCAP (Wireshark-ready): Live packet dumping. It programmatically wraps raw userspace Modbus frames in synthetic Ethernet, IPv4, and TCP headers (port 502) so that Wireshark can parse, filter, and dissect the captures seamlessly!
- CSV: Simple, tabular logging of timestamps, unit IDs, function codes, and byte frames.
- Robustness: Complete graceful shutdown system via Tokio CancellationTokens and resilient channel states.