{"id":22260972,"url":"https://github.com/obaraelijah/proxy_logger","last_synced_at":"2026-03-07T03:03:46.152Z","repository":{"id":245273174,"uuid":"817659898","full_name":"obaraelijah/proxy_logger","owner":"obaraelijah","description":"Implementation of logged TCP proxy command line tool in Rust.","archived":false,"fork":false,"pushed_at":"2024-07-09T19:22:09.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-06T08:36:55.549Z","etag":null,"topics":["cli","command-line","logging","networking","proxy","rust","rust-lang","tcp"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/proxy_logger","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/obaraelijah.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-20T07:32:18.000Z","updated_at":"2024-07-09T19:22:12.000Z","dependencies_parsed_at":"2024-06-21T03:11:16.642Z","dependency_job_id":"2442413c-12b9-431d-9311-d5ee02575e6b","html_url":"https://github.com/obaraelijah/proxy_logger","commit_stats":null,"previous_names":["obaraelijah/proxy_logger"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/obaraelijah/proxy_logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obaraelijah%2Fproxy_logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obaraelijah%2Fproxy_logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obaraelijah%2Fproxy_logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obaraelijah%2Fproxy_logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obaraelijah","download_url":"https://codeload.github.com/obaraelijah/proxy_logger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obaraelijah%2Fproxy_logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30206341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"online","status_checked_at":"2026-03-07T02:00:06.765Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line","logging","networking","proxy","rust","rust-lang","tcp"],"created_at":"2024-12-03T09:10:59.312Z","updated_at":"2026-03-07T03:03:46.070Z","avatar_url":"https://github.com/obaraelijah.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# proxy_logger\n\n[![Crates.io][crates-badge]][crates-url]\n![Rust version][rust-version]\n![License][license-badge]\n[![Workflow Status][workflow-badge]][actions-url]\n\n[crates-badge]: https://img.shields.io/crates/v/proxy_logger.svg\n[crates-url]: https://crates.io/crates/proxy_logger\n[license-badge]: https://img.shields.io/crates/l/proxy_logger.svg\n[workflow-badge]: https://github.com/qwerty541/logged-tcp-proxy/workflows/check/badge.svg\n[actions-url]: https://github.com/qwerty541/logged-tcp-proxy/actions\n[rust-version]: https://img.shields.io/badge/rust-1.74.1%2B-lightgrey.svg?logo=rust\n\n## Description\n\nThis repository provides a command line interface for proxying TCP connections with payload output into the console. Payload output can be formatted in different ways: hexadecimal (lowercase and uppercase), decimal, octal and binary.\n\n## Installation\n\n### From crates.io (Recommended)\n\nRun the following command and wait until the crate is compiled:\n\n```sh\n$ cargo install proxy_logger\n```\n\nNow you can run compiled binary:\n\n```sh\n$ proxy_logger --bind-listener-addr 127.0.0.1:20502 --remote-addr 127.0.0.1:20582\n```\n\n### From git repository\n\nRun the following command and wait until the crate is compiled:\n\n```sh\n$ cargo install --git https://github.com/obaraelijah/proxy_logger.git --tag v0.1.3 proxy_logger\n```\n\nAlso you can remove tag option to install the latest development version.\n\nNow you can run compiled binary:\n\n```sh\n$ proxy_logger --bind-listener-addr 127.0.0.1:20502 --remote-addr 127.0.0.1:20582\n```\n## Options\n\nBelow is a list of currently supported options.\n\n```\n$ proxy_logger --help\nCommand line interface for proxying TCP connections with payload output into console which can be formatted different ways.\n\nUsage: proxy_logger [OPTIONS] --bind-listener-addr \u003cBIND_LISTENER_ADDR\u003e --remote-addr \u003cREMOTE_ADDR\u003e\n\nOptions:\n  -l, --level \u003cLEVEL\u003e\n          Application logging level [default: debug] [possible values: trace, debug, info, warn, error, off]\n  -b, --bind-listener-addr \u003cBIND_LISTENER_ADDR\u003e\n          Address on which TCP listener should be binded\n  -r, --remote-addr \u003cREMOTE_ADDR\u003e\n          Address of remote server\n  -t, --timeout \u003cTIMEOUT\u003e\n          Incoming connection reading timeout [default: 60]\n  -f, --formatting \u003cFORMATTING\u003e\n          Formatting of console payload output, [default: lowerhex] [possible values: decimal, lowerhex, upperhex, binary, octal]\n  -s, --separator \u003cSEPARATOR\u003e\n          Console payload output bytes separator [default: :]\n  -p, --precision \u003cPRECISION\u003e\n          Timestamp precision [default: seconds] [possible values: seconds, milliseconds, microseconds, nanoseconds]\n  -h, --help\n          Print help\n  -V, --version\n          Print version\n```\n## Example\n\nBelow is an example of using this command line tool as proxy between device and data storage server with command and console output.\n\n```\n$ proxy_logger --bind-listener-addr 127.0.0.1:20502 --remote-addr 127.0.0.1:20582\n[2024-06-04T02:39:33Z INFO] Listener binded, waiting for incoming connections...\n[2024-06-04T02:39:37Z INFO] Incoming connection from 127.0.0.1:50376\n[2024-06-04T02:39:37Z DEBUG] \u003c 00:00:00:00:00:19:6f:03:16:00:1f:00:20:00:11:00:22:00:33:00:44:00:55:00:66:00:01:00:00:00:00\n[2024-06-04T02:39:37Z DEBUG] \u003e 00:00:00:00:00:0b:6f:10:03:f1:00:02:04:00:00:00:00\n[2024-06-04T02:39:37Z DEBUG] \u003c 00:00:00:00:00:06:6f:10:03:f1:00:02\n[2024-06-04T02:39:37Z DEBUG] \u003e 00:01:00:00:00:06:6f:03:00:7a:00:01:00:02:00:00:00:06:6f:03:00:7b:00:02\n[2024-06-04T02:39:37Z DEBUG] \u003c 00:01:00:00:00:05:6f:03:02:02:ff:00:02:00:00:00:07:6f:03:04:00:00:00:01\n[2024-06-04T02:39:37Z DEBUG] \u003e 00:03:00:00:00:06:01:01:00:01:00:01:00:04:00:00:00:06:01:02:00:01:00:01:00:05:00:00:00:06:01:03:00:01:00:10:00:06:00:00:00:06:01:03:00:11:00:01:00:07:00:00:00:06:01:03:00:7b:00:01:00:08:00:00:00:06:01:03:0f:a0:00:01:00:09:00:00:00:06:01:03:13:88:00:03:00:0a:00:00:00:06:01:04:00:01:00:01\n[2024-06-04T02:39:37Z DEBUG] \u003c 00:03:00:00:00:04:01:01:01:01:00:04:00:00:00:04:01:02:01:01:00:05:00:00:00:23:01:03:20:00:7b:00:0c:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:01:36:40:49:0f:db:40:09:21:fb:54:44:2d:18:ff:ff:00:06:00:00:00:05:01:03:02:ff:ff:00:07:00:00:00:05:01:03:02:00:01:00:08:00:00:00:03:01:83:02:00:09:00:00:00:09:01:03:06:00:01:00:02:00:03:00:0a:00:00:00:05:01:04:02:00:7b\n[2024-06-04T02:40:18Z DEBUG] \u003e 00:0b:00:00:00:06:6f:03:03:e8:00:01\n[2024-06-04T02:40:18Z DEBUG] \u003c 00:0b:00:00:00:05:6f:03:02:00:00\n```\n\n## License\n\nLicensed under either of\n\n-   Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)\n-   MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobaraelijah%2Fproxy_logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobaraelijah%2Fproxy_logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobaraelijah%2Fproxy_logger/lists"}