- Rust 100%
| .cargo | ||
| .vscode | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| rustfmt.toml | ||
netreplay
This program has two modes:
- recording proxy: relays trafic with or without TLS and record requests and responses in clear. It is a TLS termination thus a certificate is needed.
- trafic replay: run a client that sends the recorded requests, and a server that responds with the corresponding recorded responses. Responses are replaced with the same amount of random bytes for performance.
It relies on the server name extension in TLS (SNI). Requests without server name may not be recorded.
For experimental purpose. Do not use on an open network where security matters.
Build
Choose a cryptographic backend in Cargo.toml.
cargo build --release
SSLKEYLOGFILE
The SSLKEYLOGFILE environment variable can be set to a file path to which the connection secrets will be exported, enabling decrypting the traffic in Wireshark.
License
GNU AGPL v3, CopyLeft 2025-2026 Pascal Engélibert (why copyleft?)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.