From 9c36018cc73c606bc5ce883d6ba169ed70ab3449 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Sun, 23 Dec 2012 18:46:50 +0100 Subject: [PATCH] Disable IPv4 forwarding on carol in order to pass tnc/tnccs-20-os scenario --- testing/tests/tnc/tnccs-20-os/posttest.dat | 1 + testing/tests/tnc/tnccs-20-os/pretest.dat | 1 + 2 files changed, 2 insertions(+) diff --git a/testing/tests/tnc/tnccs-20-os/posttest.dat b/testing/tests/tnc/tnccs-20-os/posttest.dat index 7cebd7f..c166c17 100644 --- a/testing/tests/tnc/tnccs-20-os/posttest.dat +++ b/testing/tests/tnc/tnccs-20-os/posttest.dat @@ -4,3 +4,4 @@ dave::ipsec stop moon::/etc/init.d/iptables stop 2> /dev/null carol::/etc/init.d/iptables stop 2> /dev/null dave::/etc/init.d/iptables stop 2> /dev/null +carol::echo 1 > /proc/sys/net/ipv4/ip_forward diff --git a/testing/tests/tnc/tnccs-20-os/pretest.dat b/testing/tests/tnc/tnccs-20-os/pretest.dat index 208f9da..58634a8 100644 --- a/testing/tests/tnc/tnccs-20-os/pretest.dat +++ b/testing/tests/tnc/tnccs-20-os/pretest.dat @@ -1,6 +1,7 @@ moon::/etc/init.d/iptables start 2> /dev/null carol::/etc/init.d/iptables start 2> /dev/null dave::/etc/init.d/iptables start 2> /dev/null +carol::echo 0 > /proc/sys/net/ipv4/ip_forward moon::cat /etc/tnc_config carol::cat /etc/tnc_config dave::cat /etc/tnc_config -- 2.7.4