SPB Git

Repository Public

forward.plist.tmpl 1.2 KB 21 lines

1<?xml version="1.0" encoding="UTF-8"?>2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">3<plist version="1.0">4<dict>5  <key>Label</key><string>@LABEL@</string>6  <!-- Relais TCP local -> nœud principal, par l'outil système /usr/bin/nc activé à la demande par launchd.7       Raison : la protection « réseau local » de macOS interdit aux binaires tiers lancés par launchd de8       joindre les pairs du LAN ; les outils d'Apple en sont exemptés. Le worker ne parle qu'à 127.0.0.1.9       Aucune clé, aucun port ouvert hors bouclage ; le jeton interne reste exigé de bout en bout. -->10  <key>UserName</key><string>simon-pierreboucher</string>11  <key>ProgramArguments</key>12  <array><string>/usr/bin/nc</string><string>@MAIN@</string><string>@RPORT@</string></array>13  <key>Sockets</key>14  <dict><key>Listeners</key>15    <dict><key>SockNodeName</key><string>127.0.0.1</string><key>SockServiceName</key><string>@LPORT@</string><key>SockType</key><string>stream</string></dict>16  </dict>17  <key>inetdCompatibility</key><dict><key>Wait</key><false/></dict>18  <key>StandardErrorPath</key><string>/dev/null</string>19</dict>20</plist>21
Files main
Menu

Theme