1. 重构controlplane与webhost后端的包结构,按领域拆分模块到core/apis子包 2. 移动并整理工具脚本到tools子目录,统一管理运维脚本 3. 重构插件运行时、调度、作业管理等核心模块到core子包 4. 更新AGENTS.md文档,明确各代码形态的组织规范 5. 清理重复的旧文件与冗余代码
24 lines
1.4 KiB
Batchfile
24 lines
1.4 KiB
Batchfile
@echo off
|
|
rem ============================================================
|
|
rem 37du center SMB firewall script
|
|
rem opens SMB/NetBIOS ports so the deploy machine can reach
|
|
rem the \\...\code share. Run as Administrator.
|
|
rem ============================================================
|
|
net session >nul 2>&1 || (echo [ERROR] Please run as Administrator. & pause & exit /b 1)
|
|
|
|
netsh advfirewall firewall delete rule name="37du-center-smb445" >nul 2>&1
|
|
netsh advfirewall firewall add rule name="37du-center-smb445" dir=in action=allow protocol=TCP localport=445
|
|
netsh advfirewall firewall add rule name="37du-center-smb445udp" dir=in action=allow protocol=UDP localport=445
|
|
|
|
netsh advfirewall firewall delete rule name="37du-center-nb139" >nul 2>&1
|
|
netsh advfirewall firewall add rule name="37du-center-nb139" dir=in action=allow protocol=TCP localport=139
|
|
netsh advfirewall firewall delete rule name="37du-center-nb137" >nul 2>&1
|
|
netsh advfirewall firewall add rule name="37du-center-nb137" dir=in action=allow protocol=UDP localport=137
|
|
netsh advfirewall firewall delete rule name="37du-center-nb138" >nul 2>&1
|
|
netsh advfirewall firewall add rule name="37du-center-nb138" dir=in action=allow protocol=UDP localport=138
|
|
netsh advfirewall firewall delete rule name="37du-center-nb135" >nul 2>&1
|
|
netsh advfirewall firewall add rule name="37du-center-nb135" dir=in action=allow protocol=UDP localport=135
|
|
|
|
echo [OK] Firewall rules created: SMB/NetBIOS open.
|
|
pause
|