{"id":18611615,"url":"https://github.com/twosigma/nsncd","last_synced_at":"2025-04-07T15:08:27.379Z","repository":{"id":46307083,"uuid":"299683564","full_name":"twosigma/nsncd","owner":"twosigma","description":" nscd-compatible daemon that proxies lookups, without caching","archived":false,"fork":false,"pushed_at":"2024-12-23T10:28:19.000Z","size":326,"stargazers_count":62,"open_issues_count":18,"forks_count":14,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-31T13:16:57.338Z","etag":null,"topics":["rust"],"latest_commit_sha":null,"homepage":"","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/twosigma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2020-09-29T17:02:38.000Z","updated_at":"2025-02-12T19:28:59.000Z","dependencies_parsed_at":"2022-09-06T05:30:19.778Z","dependency_job_id":"2b215cd4-1293-4211-bf2b-0f2e9f897308","html_url":"https://github.com/twosigma/nsncd","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twosigma%2Fnsncd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twosigma%2Fnsncd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twosigma%2Fnsncd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twosigma%2Fnsncd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twosigma","download_url":"https://codeload.github.com/twosigma/nsncd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675597,"owners_count":20977376,"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":["rust"],"created_at":"2024-11-07T03:14:23.818Z","updated_at":"2025-04-07T15:08:27.343Z","avatar_url":"https://github.com/twosigma.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nsncd - the name service non-caching daemon\n\n`nsncd` is a nscd-compatible daemon that proxies lookups, without caching.\n\n## Why?\n\n`nsncd` can be used in situations where you want to make an application use nss\nplugins available to a different libc than the one the application will load.\nSince most (all?) libc implementations will try to use `/var/run/nscd/socket` if\nit exists, you can make all lookups on a machine attempt to use the libc that\nnsncd is running with (and any nss plugins available to it), regardless of the\nlibc used by a particular application.\n\nIt is also a fairly minimal and clean implementation of (a part of) the `nscd`\nprotocol, which is otherwise only really documented in implementations of libc,\nand mailing lists.\n\n## Installing\n\nJust run the `nsncd` binary and it will listen at `/var/run/nscd/socket`.\nThere's a simple `systemd` unit file, too.\n\nIf you're on a Debian-based system, you can use the provided Debian package to\ninstall `nsncd` to run under `systemd`. See `debian/README.source` for how to\nbuild it - we use a few Rust crates that aren't packaged for stable Debian\nreleases.\n\n## Configuration\n\n`nsncd` looks in its environment for configuration.\n\nThere are two integer variables we pay attention to: `NSNCD_WORKER_COUNT` and\n`NSNCD_HANDOFF_TIMEOUT`. Both must be positive (non-zero), and the timeout is\nin seconds.\n\nWe also pay attention to variables `NSNCD_IGNORE_\u003cDATABASE\u003e` where `\u003cDATABASE\u003e`\nis one of the database names from `nsswitch.conf(5)`, capitalized:\n\n- NSNCD_IGNORE_GROUP\n- NSNCD_IGNORE_HOSTS\n- NSNCD_IGNORE_INITGROUPS\n- NSNCD_IGNORE_NETGROUP\n- NSNCD_IGNORE_PASSWD\n- NSNCD_IGNORE_SERVICES\n\nThese variables must be either `true` or `false`. The default is `false` (don't\nignore any requests). If one of these variables is set to true, `nsncd` will\nnot respond to the requests related to that database.\n\nSome request types may be ignored by the implementation (e.g. the ones that\nrequest a file descriptor pointing into internal cache structures).\n\n`NSNCD_SOCKET_PATH` may be set to override the default location of the socket.\n\n## Bug Reports and Contributions\n\nPlease create GitHub issues and/or pull requests.\n\n## License\n\n`nsncd` is licensed under the [Apache License 2.0](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwosigma%2Fnsncd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwosigma%2Fnsncd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwosigma%2Fnsncd/lists"}