https://github.com/tlatsas/ipsum-blocker-rb
Simple, zero-dependencies ruby script to block IPs using ipsum lists
https://github.com/tlatsas/ipsum-blocker-rb
ip-blocking ipset ipsum iptables ruby
Last synced: about 1 year ago
JSON representation
Simple, zero-dependencies ruby script to block IPs using ipsum lists
- Host: GitHub
- URL: https://github.com/tlatsas/ipsum-blocker-rb
- Owner: tlatsas
- License: mit
- Created: 2024-02-11T19:39:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-25T15:01:49.000Z (over 2 years ago)
- Last Synced: 2025-06-22T12:08:45.542Z (about 1 year ago)
- Topics: ip-blocking, ipset, ipsum, iptables, ruby
- Language: Ruby
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Readme
Simple, zero-dependencies ruby script to create ipset blockist using [ipsum](https://github.com/stamparm/ipsum/) lists.
#### Running
Run `ruby ipsum-blocker.rb` to run with default options, or pass `-h` to see available options.
#### Installation
1. Drop the script in `/opt`.
#### Schedule using systemd
1. Drop systemd files in `/etc/systemd/system`
2. Edit files to make desired changes, such as updating schedule or changing script options, path etc.
3. Run `systemctl daemon-reload`
4. Run `systemctl enable ipsum-blocker-rb.timer`