Added appealing, direct copyable link
This commit is contained in:
parent
0f99f1e2cb
commit
5048ae0fa8
1 changed files with 12 additions and 2 deletions
14
README.md
14
README.md
|
@ -30,12 +30,12 @@ Script defaults (override with flags):
|
||||||
- `-f`: destination filename inside the repo (default: `banned.txt`)
|
- `-f`: destination filename inside the repo (default: `banned.txt`)
|
||||||
|
|
||||||
Example usage:
|
Example usage:
|
||||||
```
|
```bash
|
||||||
./update.sh -s /var/www/html/banned.txt -d /git/repository -f banned.txt
|
./update.sh -s /var/www/html/banned.txt -d /git/repository -f banned.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
To automate, add a cron entry on the generating host (example runs hourly):
|
To automate, add a cron entry on the generating host (example runs hourly):
|
||||||
```
|
```bash
|
||||||
0 * * * * /path/to/update.sh -s /var/www/html/banned.txt -d /git/repository -f banned.txt >/tmp/wagenet-update.log 2>&1
|
0 * * * * /path/to/update.sh -s /var/www/html/banned.txt -d /git/repository -f banned.txt >/tmp/wagenet-update.log 2>&1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -44,8 +44,18 @@ To automate, add a cron entry on the generating host (example runs hourly):
|
||||||
- Convert to firewall rules (iptables/nftables) with a simple wrapper that reads each line and applies a drop rule.
|
- Convert to firewall rules (iptables/nftables) with a simple wrapper that reads each line and applies a drop rule.
|
||||||
- For web servers (nginx/apache), generate `deny` directives from the list.
|
- For web servers (nginx/apache), generate `deny` directives from the list.
|
||||||
|
|
||||||
|
You can use the link to the raw text file in this repository to directly reference it.
|
||||||
|
|
||||||
|
```
|
||||||
|
https://git.jordanwages.com/wagesj45/wagenet-ip-ban-list/raw/branch/main/banned.txt
|
||||||
|
```
|
||||||
|
|
||||||
Note: Always validate the list for your environment and merge with any allowlists you maintain.
|
Note: Always validate the list for your environment and merge with any allowlists you maintain.
|
||||||
|
|
||||||
|
## Appealing
|
||||||
|
|
||||||
|
If you feel your IP is in this list by mistake, please [file an issue](./issues) to appeal.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
`banned.txt` is generated content. Please open issues or PRs for improvements to `update.sh`, documentation, or format clarifications rather than manual edits to the list.
|
`banned.txt` is generated content. Please open issues or PRs for improvements to `update.sh`, documentation, or format clarifications rather than manual edits to the list.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue