{"id":22820225,"url":"https://github.com/kizzycode/remote_pid","last_synced_at":"2025-03-30T23:16:43.325Z","repository":{"id":66117980,"uuid":"178597512","full_name":"KizzyCode/remote_pid","owner":"KizzyCode","description":"A Rust crate to get the PID of the remote endpoint of a TCP connection on localhost","archived":false,"fork":false,"pushed_at":"2019-05-05T19:49:25.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T04:44:16.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KizzyCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2019-03-30T18:41:03.000Z","updated_at":"2019-05-05T19:49:27.000Z","dependencies_parsed_at":"2023-02-20T17:31:01.972Z","dependency_job_id":null,"html_url":"https://github.com/KizzyCode/remote_pid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fremote_pid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fremote_pid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fremote_pid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fremote_pid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KizzyCode","download_url":"https://codeload.github.com/KizzyCode/remote_pid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390858,"owners_count":20769478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-12T15:17:13.583Z","updated_at":"2025-03-30T23:16:43.318Z","avatar_url":"https://github.com/KizzyCode.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![BSD 2-Clause License](https://img.shields.io/badge/License-BSD--2--Clause-blue.svg)](https://opensource.org/licenses/BSD-2-Clause)\n[![MIT License](https://img.shields.io/badge/License-BSD--2--Clause-blue.svg)](https://opensource.org/licenses/MIT)\n\n# remote_pid\nThis crate allows you to get the PID of the remote endpoint of a TCP connection if the remote\nendpoint is running on the same host. \n\n\n## FAQ:\n - What is the purpose of this crate? This crate can be used in IPC contexts to get the PID of the\n   remote caller and authenticate it subsequently.\n - Why TCP? TCP on localhost is the only connection-based IPC mechanism that works on nearly every\n   desktop OS and the only IPC mechanism that can be used to authenticate the other endpoint on\n   nearly every desktop OS.\n\n\n## Caveats:\n - Currently Unix only\n - Usually needs root permissions to identify endpoints owned by a different user\n - Relies on an external program (`lsof` under Unix)\n\n\n# C-API\nTo build and install the library with an `extern \"C\"`-interface, go into `c_api` and run\n`make install`. The files are placed into `$PREFIX/lib` and `$PREFIX/include` where `$PREFIX`\ndefaults to `/usr/local`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkizzycode%2Fremote_pid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkizzycode%2Fremote_pid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkizzycode%2Fremote_pid/lists"}