我已将该属性设置IPAddressDeny
为any
systemd 服务单元内部:
[Unit]
Description=Sound Service
Requires=pulseaudio.socket
[Service]
# Note that notify will only work if --daemonize=no
Type=notify
ExecStart=/usr/bin/pulseaudio --daemonize=no
Restart=on-failure
[Install]
Also=pulseaudio.socket
WantedBy=default.target
# /etc/systemd/user/pulseaudio.service.d/override.conf
[Service]
#IPAddressAllow=10.0.1.0/24
IPAddressDeny=0.0.0.0/0
IPAccounting=yes
我原本以为无法通过 IP 连接到此守护进程。但实际上可以,所有连接都被接受。它打算如何工作systemd ressource-control
?