| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
IP-Block is an XDP program, that is an IP firewall. use rules to allow/deny access to a range of source IP addresses.
Block ip behavior use XDP package drop.
$ git submodule init
$ git submodule update
$ makeAfter compilation, two executable programs are generated:
attach the ipblock XDP program on the eth2
# ./ipblock-loader -d eth2detach the XDP program for the eth2
# ./ipblock-loader -d eth2 -udroping IP packets for the ::ffff:c612:13/128
$ ./ipblock-rule -a ::ffff:c612:13/128 -p denyallow IP packets for the 192.168.31.0/24
$ ./ipblock-rule -a 192.168.31.0/24 -p allow$ ./ipblock-rule -d ::ffff:c612:13/128
$ ./ipblock-rule -d 192.168.31.0/24$ ./ipblock-rule -l| Back | FazBrowse Home | New Git URL |