1
시작 데몬이 제대로 작동했지만 이제는 동일한 쉘 스크립트가 계속로드되어 동일한 규칙에 대해 여러 항목을 볼 수 있습니다. sudo ipfw list
. 어떻게 예방할 수 있습니까? PLIST 파일Mac 시작 데몬이 방화벽 쉘 스크립트를 계속로드합니다.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.ipfw</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/usr/local/ipfw.apple.startup.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceDescription</key>
<string>Apple IPFW Filter Rules</string>
<key>StandardErrorPath</key>
<string>/var/log/ipfw.apple.stderr</string>
<key>StandardOutPath</key>
<string>/var/log/ipfw.apple.stdout</string>
<key>UserName</key>
<string>root</string>
</dict>
고마워요! 그게 효과가 있었어. –