initscripts: add TCP DDoS XDP program init script

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2025-03-31 18:41:49 -07:00
parent 6aaec8d485
commit 245634dacd
5 changed files with 132 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
22=off
ENABLE_TCP_DDOS=off
25=off
80=off
53=off
8080=off
8090=off
443=off
5555=off

8
config/cfgroot/tcp_ports Normal file
View File

@@ -0,0 +1,8 @@
ssh 22/tcp # The Secure Shell (SSH) Protocol
smtp 25/tcp # Simple Mail Transfer
http 80/tcp # World Wide Web HTTP
https 443/tcp # http protocol over TLS/SSL
domain 53/tcp # Domain Name Server
httpalt 8080/tcp # HTTP Alternate (see port 80)
opsmessaging 8090/tcp # Vehicle to station messaging
userdefined 5555/tcp # Vehicle to station messaging

View File

@@ -94,6 +94,7 @@ etc/rc.d/init.d/waitdrives
etc/rc.d/init.d/wlanclient
etc/rc.d/init.d/xdptailcall
etc/rc.d/init.d/ddos
etc/rc.d/init.d/tcp-ddos
#etc/rc.d/rc0.d
etc/rc.d/rc0.d/K01grub-btrfsd
#etc/rc.d/rc0.d/K01imspetor