Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/murilochianfa/xtables-log-and-drop
Simple xtables module to LOG AND DROP packets. (xt_LOGD)
https://github.com/murilochianfa/xtables-log-and-drop
iptables netfilter nftables xtables
Last synced: about 14 hours ago
JSON representation
Simple xtables module to LOG AND DROP packets. (xt_LOGD)
- Host: GitHub
- URL: https://github.com/murilochianfa/xtables-log-and-drop
- Owner: MuriloChianfa
- License: mit
- Created: 2023-12-05T17:47:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-05T22:24:11.000Z (about 1 year ago)
- Last Synced: 2025-01-04T12:55:54.743Z (9 days ago)
- Topics: iptables, netfilter, nftables, xtables
- Language: C
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
xtables-log-and-drop (xt_LOGD)
## Overview
The xtables-log-and-drop is an extension module for the Linux kernel's netfilter framework, designed to enhance packet filtering capabilities.
This 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.
This 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.
![Banner](banner.png)
### Features
- **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.
- **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.
## Installation
```sh
# Install needed packages
apt update
apt install -y linux-headers-$(uname -r)
apt install -y libxtables-dev
apt install -y module-assistant iptables-dev pkg-config# Compile the module
cd src
./configure
make all install# Load the module in Kernel
insmod xt_LOGD.ko
```### Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Murilo Chianfa](https://github.com/MuriloChianfa)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.