https://github.com/mchirico/blockbadip
Python - Block IPs based on /var/log/mail.log messages
https://github.com/mchirico/blockbadip
python3 testing
Last synced: over 1 year ago
JSON representation
Python - Block IPs based on /var/log/mail.log messages
- Host: GitHub
- URL: https://github.com/mchirico/blockbadip
- Owner: mchirico
- License: mit
- Created: 2018-08-29T19:24:18.000Z (almost 8 years ago)
- Default Branch: develop
- Last Pushed: 2021-11-23T11:21:34.000Z (over 4 years ago)
- Last Synced: 2025-01-23T01:42:24.987Z (over 1 year ago)
- Topics: python3, testing
- Language: Python
- Size: 168 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/mchirico/blockbadip)
[](https://codecov.io/gh/mchirico/blockbadip)
# blockbadip
Python - Block IPs based on /var/log/mail.log messages
## Setup
```bash
mkvirtualenv bip
workon bip
pip install -r requirements.txt
```
## Testing
```bash
cd blockbadip
export PYTHONPATH="${PWD}/src"
cd tests
pytest -v tests_block_bad_ip.py
```