{"id":24160622,"url":"https://github.com/murilochianfa/xtables-log-and-drop","last_synced_at":"2026-05-10T13:36:03.470Z","repository":{"id":211000850,"uuid":"727849495","full_name":"MuriloChianfa/xtables-log-and-drop","owner":"MuriloChianfa","description":"Simple xtables module to LOG AND DROP packets. (xt_LOGD)","archived":false,"fork":false,"pushed_at":"2023-12-05T22:24:11.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T02:05:27.391Z","etag":null,"topics":["iptables","netfilter","nftables","xtables"],"latest_commit_sha":null,"homepage":"","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/MuriloChianfa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-12-05T17:47:30.000Z","updated_at":"2023-12-05T22:22:37.000Z","dependencies_parsed_at":"2023-12-06T00:38:52.821Z","dependency_job_id":null,"html_url":"https://github.com/MuriloChianfa/xtables-log-and-drop","commit_stats":null,"previous_names":["murilochianfa/xtables-log-and-drop"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuriloChianfa%2Fxtables-log-and-drop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuriloChianfa%2Fxtables-log-and-drop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuriloChianfa%2Fxtables-log-and-drop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuriloChianfa%2Fxtables-log-and-drop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MuriloChianfa","download_url":"https://codeload.github.com/MuriloChianfa/xtables-log-and-drop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241455385,"owners_count":19965602,"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":["iptables","netfilter","nftables","xtables"],"created_at":"2025-01-12T16:14:53.744Z","updated_at":"2026-05-10T13:35:58.437Z","avatar_url":"https://github.com/MuriloChianfa.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003extables-log-and-drop (xt_LOGD)\u003c/h1\u003e\n\n## Overview\n\nThe xtables-log-and-drop is an extension module for the Linux kernel's netfilter framework, designed to enhance packet filtering capabilities. \n\nThis package provides functionality similar to iptables LOG, allowing you to log packets, but with an additional feature to drop the logged packets instead of continuing to go with the netfilter flow.\n\nThis module has the same options as default LOG target, and was developed to minize the number of rules needed to log and drop packets with diferents log prefixes.\n\n![Banner](banner.png)\n\n### Features\n\n- **Drop Action**: In addition to logging, this module allows you to drop packets that match specified criteria. This provides an option by preventing certain types of traffic from reaching their destination and  save the logs at same time.\n\n- **Efficient Resource Utilization**: The xtables-log-and-drop is designed to be resource-efficient, ensuring minimal impact on system performance while providing robust packet logging and filtering capabilities.\n\n## Installation\n\n```sh\n# Install needed packages\napt update\napt install -y linux-headers-$(uname -r)\napt install -y libxtables-dev\napt install -y module-assistant iptables-dev pkg-config\n\n# Compile the module\ncd src\n./configure\nmake all install\n\n# Load the module in Kernel\ninsmod xt_LOGD.ko\n```\n\n### Security\n\nIf you discover any security related issues, please email murilo.chianfa@outlook.com instead of using the issue tracker.\n\n## Credits\n\n- [Murilo Chianfa](https://github.com/MuriloChianfa)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurilochianfa%2Fxtables-log-and-drop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurilochianfa%2Fxtables-log-and-drop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurilochianfa%2Fxtables-log-and-drop/lists"}