Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/linzeyan/block
Block IP manual or from Nginx logs.
https://github.com/linzeyan/block
iptables nginx
Last synced: 7 days ago
JSON representation
Block IP manual or from Nginx logs.
- Host: GitHub
- URL: https://github.com/linzeyan/block
- Owner: linzeyan
- License: mit
- Created: 2021-11-11T10:01:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T23:27:20.000Z (over 1 year ago)
- Last Synced: 2024-11-09T20:45:46.349Z (2 months ago)
- Topics: iptables, nginx
- Language: Go
- Homepage:
- Size: 8.19 MB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# block
## usage
```
Block IP by iptablesUsage: block [option]
Options:
-a string
Specify insert/append/delete/clear/list rule (default "insert")
-f string
Specify log file
-ip string
Specify IP or CIDRs
-limit int
Limit requests per minute (default 100)
-o string
Specify Block in/out bound traffic or log (default "in")
```