benner / ris-live-stream-actuator

Run ipset add/del on https://ris-live.ripe.net/ messages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ris-live-stream-actuator

Build Status Coveralls github branch

Initial idea is to have some actions based on BGP network changes. Tool expects two tables (due ipset limits): ris-ipv4 for IPv4 and ris-ipv6 for IPv6 networks/prefixes. To use this we must run this tool as root and precreate ris-ipv4 and ris-ipv6 ipset tables:

% sudo ipset create ris-ipv4 hash:net family inet
% sudo ipset create ris-ipv6 hash:net family inet6

To have something in action add acordint iptables rule like

% sudo iptables -I INPUT -m set --match-set ris-ipv4 dst -j DROP

About

Run ipset add/del on https://ris-live.ripe.net/ messages

License:Apache License 2.0


Languages

Language:Rust 100.0%