Proxelar

Emanuele Micheletti·EmanueleMicheletti.Proxelar

Scriptable local traffic workbench for HTTP, HTTPS, and WebSocket debugging

Proxelar is a single-binary MITM proxy for developers. Capture, inspect, intercept, replay, and rewrite HTTP/HTTPS and WebSocket traffic from a TUI, web GUI, or headless REST API, with Lua scripting, declarative rules, session persistence, and HAR/curl export.

winget install --id EmanueleMicheletti.Proxelar --exact --source winget

Latest 0.8.0·December 2, 2026

Release Notes

New features

  • Disk body capture in the Rust API: Proxy::with_body_capture_directory and CapturingHandler::with_body_capture_directory stream response bodies into anonymous temporary files instead of memory, applying backpressure with bounded buffers. A complete capture is available as ProxyEvent::RequestComplete::body_file; ProxyConfig::body_capture_limit bounds each file. (#234 by @pirate)
  • Interception callbacks in the Rust API: InterceptConfig::with_handler decides intercepted requests with an async Rust callback, awaited in the request task, instead of a UI answering RequestIntercepted events. The callback can forward, edit, block or answer each request. If the client cancels, the callback's future is dropped. (#235, #238 by @pirate)
  • Answer intercepted requests in the Rust API: besides forwarding, editing or blocking a request, an interception decision can now answer it with your own response. InterceptDecision::Respond sends a status, ordered headers and a body. InterceptDecision::RespondStream streams the body, for example a saved file, to the client as it reads it instead of loading it into memory. (#238 by @pirate)
  • Serve your own listener: Proxy::serve_with_handler serves a custom HttpHandler on a listener you bound yourself: a TCP listener, e.g. on an ephemeral port whose address you read back, or a Unix socket. Unix socket clients are identified by the credentials of their process (ClientInfo::Unix, UnixClient). See the unix_socket example in proxyapi/examples/ (thanks @ajanon). (#215 by @ajanon)
  • Status classes in filters: the TUI, web GUI and API filters accept status:2xx, status:4xx and the other status classes, so status:4xx | status:5xx selects every error response without listing codes. status:404 and other values still match as before. (#237 by @pirate)
  • Filters for flows stored without bodies: in the Rust API, FlowFilter::parse_http_metadata accepts only terms that read the method, URL, protocol, status, headers, and body length, and rejects free text, body:, time: and duration: terms. An application that keeps flows without their bodies can then not select one for the wrong reason, such as !body:token matching every empty body. (#242 by @pirate)
  • URL prefixes in filters: url_prefix:https://api.test/v1/ selects flows whose full URL starts with that text, case included, the way the url_prefix of routing rules matches. Unlike url:, it does not match a URL that only mentions the text later, such as in its query. (#243 by @pirate)

Bug fixes

  • Fixed HTTP/1 responses such as NPR podcast feeds being rejected when Connection names Transfer-Encoding; request framing validation remains unchanged. (#226 by @pirate)
  • Include the proxy CA in generated TCP and HTTP/3 certificate chains so clients can match a CA public-key pin. (#227 by @pirate)
  • Reject truncated intercepted uploads with HTTP 400 before opening an upstream connection. (#228 by @pirate)
  • Fixed requests staying pending forever, in the interfaces and in interception, when the client cancels them or the exchange ends before the proxy has a response. They now complete with a truncated 502 and are marked as cancelled. (#229 by @pirate)
  • Fixed responses recorded as complete when the client stopped reading them partway: their body is now marked truncated and the exchange as cancelled. (#234 by @pirate)
  • Fixed small body chunks and tunnel handshakes waiting on Nagle's algorithm: client, upstream and raw tunnel TCP sockets now send each write right away. (#230 by @pirate)
  • Fixed bursts of new client connections, such as many clients reconnecting after a restart, stalling before the proxy accepted them: the proxy listener now asks for a backlog of 4096 connections instead of 128. The operating system may cap it lower (somaxconn). (#233 by @pirate)
  • Fixed 204 No Content responses that carry Content-Length: 0, which some servers send, failing with 502 Bad Gateway. Proxelar now forwards them without that field. A 204 with a nonzero Content-Length or with Transfer-Encoding is still rejected. (#236 by @pirate)
  • Fixed Linux queueing several megabytes of unsent response data in memory for each slow client: once 512 KiB is waiting to be sent to a client, the proxy waits for that client before writing more, and streamed responses are read from upstream only as fast as the client takes them. (#239 by @pirate)
  • Fixed a client whose upload broke off part way waiting up to 30 seconds for its 502, while the origin kept waiting for the rest of the upload: the proxy now answers right away and closes the upstream HTTP/1 connection. (#241 by @pirate)
  • Fixed HTTP/1 requests waiting behind a slow download: when all five connections to a server are busy, a queued request now uses the first connection that frees up instead of waiting for one particular connection. (#246 by @pirate)
  • Fixed --map-local and map_local rules reading each file whole into memory before sending its first byte: files are now streamed to the client as it reads them, and HEAD responses carry the file's Content-Length. (#245 by @pirate)

Dependencies

  • Fixed a stack overflow advisory in url (RUSTSEC-2026-0592): it is now at least 2.5.9. heapless is updated to 0.9.4 for RUSTSEC-2026-0578. (#223 by @emanuele-em)
  • Fixed an out-of-bounds read on malformed IPv6 extension headers in etherparse, used by WireGuard mode (RUSTSEC-2026-0596): it is now at least 0.16.1. (#231 by @pirate)
  • RUSTSEC-2026-0620 in curve25519-dalek 4.1.3, used by WireGuard mode through boringtun, does not affect Proxelar: it only applies to the AVX-512 backend, which the 4.x series enables only on nightly Rust, and Proxelar is built with stable Rust. The dependency checks ignore it until boringtun moves to a patched release. (#231 by @pirate)

Updating from 0.7

  • Client identity in the Rust API: HttpContext::remote_addr is replaced by HttpContext::client, a ClientInfo. TCP clients are ClientInfo::Ip(addr), carrying the address remote_addr held. HttpContext is now #[non_exhaustive]: build it with HttpContext::new. (#215 by @ajanon)
  • Cancelled exchanges in ProxyEvent::RequestComplete: the variant has a new cancelled field. Use .. in patterns and cancelled: false when you build the event. Serialized events without the field still load, and the field is left out when it is false. (#229 by @pirate)
  • Response files in ProxyEvent::RequestComplete: the variant has a new body_file field. Set it to None when you build the event. With disk capture, the event's in-memory response body is empty and marked truncated; read the complete bytes from body_file. (#234 by @pirate)
  • New interception decisions: InterceptDecision has new Respond and RespondStream variants, and it is now #[non_exhaustive], so later decisions are not breaking changes. Add a wildcard arm where you match on it, and RuleOutcome from RouteRules::apply, which is now #[non_exhaustive] too. (#238 by @pirate)
  • Streamed map_local files in RouteRules::apply: files served by map_local are now returned as the new RuleOutcome::RespondStream, whose body is a ProxyBody read from the file. Handle the new variant where you match on RuleOutcome. (#245 by @pirate)

Installer type: zip

x64—B81B2A095A09B6824BDF66198615405049B3F840A4AB46C1C82F3CA9B658FDC1

Details

Homepage
https://github.com/emanuele-em/proxelar
License
MIT
Publisher
Emanuele Micheletti
Support
https://github.com/emanuele-em/proxelar/issues
Copyright
Copyright (c) Emanuele Micheletti
Moniker
proxelar

Tags

clidebuggingdeveloper-toolshttpmitmproxyrusttuiwebsocket

Older versions (5)

0.7.0
x64—ABCB935A9F1E219F895B15F927273875E418966CE7F38967957E71C37190204C
0.6.1
x64—7614D89B08E38FAE95F2EE1D5961F13DCAADBDC678AA9D6D67C4F3F29770D135
0.6.0
x64—53A6BAB18F06E3D7075F7E037CF4E387BD4FC9A2A4691BF277F2F7B93E663ACF
0.5.1
x64—081C5F397E6A8BD937CC6A94A7DBAEFF55A8AA5233349CC383DB8B6EFD453FCA
0.5.0
x64—821D45776A2D60CCB37AD38010DC537775BA2FC17D13A7B135C6C0D7CEE2A985