Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103990642
D46280.id142038.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
649 B
Referenced Files
None
Subscribers
None
D46280.id142038.diff
View Options
diff --git a/tests/sys/netpfil/pf/if_enc.sh b/tests/sys/netpfil/pf/if_enc.sh
--- a/tests/sys/netpfil/pf/if_enc.sh
+++ b/tests/sys/netpfil/pf/if_enc.sh
@@ -172,10 +172,10 @@
jexec bgw sysctl net.inet.ipsec.filtertunnel=0
jexec bgw sysctl net.enc.in.ipsec_filter_mask=2 # after stripping
jexec bgw sysctl net.enc.out.ipsec_filter_mask=1 # before outer header
- echo '
- rdr on enc0 proto tcp to 4.0.0.1 port 666 -> 4.0.0.44
- pass
- ' | jexec bgw pfctl -ef-
+ jexec bgw pfctl -e
+ pft_set_rules bgw \
+ "rdr on enc0 proto tcp to 4.0.0.1 port 666 -> 4.0.0.44" \
+ "pass"
# Prepare the catcher on host b
echo "unexpected" > ./receiver
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 3, 2:43 AM (20 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14996820
Default Alt Text
D46280.id142038.diff (649 B)
Attached To
Mode
D46280: pf tests: Make if_enc.sh stick to utils.subr interface
Attached
Detach File
Event Timeline
Log In to Comment