ddos: Load/Attach XDP DDoS when reboot

fix: https://github.com/vincentmli/BPFire/issues/58

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2024-10-22 18:06:01 +00:00
parent eadd074122
commit 25da9eb467
2 changed files with 2 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
usr/lib/bpf/xdp-dispatcher.o
usr/lib/bpf/xdp_synproxy.bpf.o
etc/rc.d/rc3.d/S105ddos
usr/lib/bpf/xdp_dnsrrl.bpf.o
usr/lib/bpf/xdp_udp.bpf.o
usr/lib/bpf/xdp_dns.bpf.o

View File

@@ -140,6 +140,7 @@ $(TARGET) :
ln -sf ../init.d/xdpdns /etc/rc.d/rc3.d/S102xdpdns
ln -sf ../init.d/xdpsni /etc/rc.d/rc3.d/S103xdpsni
ln -sf ../init.d/xdpgeoip /etc/rc.d/rc3.d/S104xdpgeoip
ln -sf ../init.d/ddos /etc/rc.d/rc3.d/S105ddos
ln -sf ../init.d/imspetor /etc/rc.d/rc6.d/K01imspetor
ln -sf ../init.d/motion /etc/rc.d/rc6.d/K01motion