1. 懒人模式
点击下载: ipset-7.17
2. 折腾模式
1. 下载ipset-7.17源码
wget https://ipset.netfilter.org/ipset-7.17.tar.bz2
tar -jxvf ./ipset-7.17.tar.bz2
cd ipset-7.17
vim configure
# go to 13551行
ksourcedir="/usr/lib/modules/$(uname -r)/source"
2. 安装编译环境
apt-get install libtool libtool-bin automake libmnl-dev
3. source code
git clone --depth 1 https://github.com/raspberrypi/linux.git
ln -s /usr/src/linux /usr/lib/modules/5.15.61-v8+/build
ln -s /usr/src/linux /usr/lib/modules/5.15.61-v8+/source
4. 编译
autogen.sh
configure
make
make install