{"id":16032740,"url":"https://github.com/dimkr/logfence","last_synced_at":"2026-01-03T20:05:36.334Z","repository":{"id":25382047,"uuid":"28810403","full_name":"dimkr/logfence","owner":"dimkr","description":"An overlay that prevents log tampering","archived":false,"fork":false,"pushed_at":"2015-06-28T09:15:08.000Z","size":276,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T14:30:08.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimkr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-05T11:45:39.000Z","updated_at":"2024-01-24T12:21:40.000Z","dependencies_parsed_at":"2022-08-24T00:21:12.620Z","dependency_job_id":null,"html_url":"https://github.com/dimkr/logfence","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimkr%2Flogfence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimkr%2Flogfence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimkr%2Flogfence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimkr%2Flogfence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimkr","download_url":"https://codeload.github.com/dimkr/logfence/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976502,"owners_count":20377692,"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-10-08T21:40:28.002Z","updated_at":"2026-01-03T20:05:36.304Z","avatar_url":"https://github.com/dimkr.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logfence\n\n## Overview\n\n**logfence** is a [FUSE](http://fuse.sourceforge.net/) based file system that\nacts as an overlay, which allows only one process to modify each file at a time.\n\nIt is designed to be a simple and effective, generic tool that prevents log\ntampering transparently.\n\n## Features\n\n * Prevents a process from opening a file for writing, if another process writes\n   to it\n * Prevents a process from deleting a file, if another process writes to it\n * Prevents a process from _touching_ a file, if another process writes to it\n * Logs all violations to the system log\n\n## Usage Example\n\n**Application A** ([Python](https://www.python.org/)) writes a log file\n(_/var/log/fdfd_). The evil **application B** (another instance of\n[Python](https://www.python.org/)) tries to ruin the log, but fails because\n**logfence** prevents it from opening it for writing.\n\n![Demo](demo.gif)\n\n## Credits and Legal Information\n\ncompat/sys/queue.h was taken from [OpenBSD](http://www.openbsd.org/), for wider\ncompatibility with C libraries; see the legal information at the top.\n\n**logfence** itself is _free_ and unencumbered software released under the terms\nof the _MIT license_; see [COPYING](COPYING) for the license text. For a list of\nits authors and contributors, see [AUTHORS](AUTHORS).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimkr%2Flogfence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimkr%2Flogfence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimkr%2Flogfence/lists"}