From fc53809803cd2bc2434e312b19a18fa36776da12 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:40 +0200 Subject: Adding upstream version 256. Signed-off-by: Daniel Baumann --- test/units/TEST-62-RESTRICT-IFACES-3.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/units/TEST-62-RESTRICT-IFACES-3.service (limited to 'test/units/TEST-62-RESTRICT-IFACES-3.service') diff --git a/test/units/TEST-62-RESTRICT-IFACES-3.service b/test/units/TEST-62-RESTRICT-IFACES-3.service new file mode 100644 index 0000000..116530b --- /dev/null +++ b/test/units/TEST-62-RESTRICT-IFACES-3.service @@ -0,0 +1,10 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +[Unit] +Description=TEST-62-RESTRICT-IFACES-deny-list +[Service] +ExecStart=sh -c '! ping -c 1 -W 0.2 192.168.113.1' +ExecStart=sh -c '! ping -c 1 -W 0.2 192.168.113.5' +ExecStart=sh -c 'ping -c 1 -W 0.2 192.168.113.9' +RestrictNetworkInterfaces=~veth0 +RestrictNetworkInterfaces=~veth1 +Type=oneshot -- cgit v1.2.3