Lines Matching refs:ip_remote
71 local ip_remote=$4
77 spdadd $ip_local $ip_remote any -P out ipsec $proto/transport//require;
78 spdadd $ip_remote $ip_local any -P in ipsec $proto/transport//require;
82 #check_sp_entries $SOCK_LOCAL $ip_local $ip_remote
86 spdadd $ip_remote $ip_nat_remote any -P out ipsec $proto/transport//require;
87 spdadd $ip_local $ip_remote any -P in ipsec $proto/transport//require;
91 #check_sp_entries $SOCK_REMOTE $ip_remote $ip_local
99 local ip_remote=$4
107 add $ip_local [4500] $ip_remote [4500] $proto $((spi)) $algo_args;
108 add $ip_remote [4500] $ip_local [4500] $proto $((spi + 1)) $algo_args;
114 #check_sa_entries $SOCK_LOCAL $ip_local $ip_remote
118 add $ip_local [$port] $ip_remote [4500] $proto $((spi)) $algo_args;
119 add $ip_remote [4500] $ip_nat_remote [$port] $proto $((spi + 1)) $algo_args;
125 #check_sa_entries $SOCK_PEER $ip_local $ip_remote
221 local ip_remote=20.0.0.2
246 atf_check -s exit:0 rump.ifconfig shmif0 $ip_remote/24
254 atf_check -s exit:0 -o ignore rump.ping -c 1 -n -w 3 $ip_remote
259 -o match:"$ip_local > $ip_remote: ICMP echo request" \
262 -o match:"$ip_remote > $ip_local: ICMP echo reply" \
275 atf_check -s exit:0 -o ignore rump.ping -c 1 -n -w 3 $ip_remote
280 -o match:"$ip_nat_remote > $ip_remote: ICMP echo request" \
283 -o match:"$ip_remote > $ip_nat_remote: ICMP echo reply" \
290 atf_check -s exit:0 $HIJACKING nc -w 3 $ip_remote 4501 < $file_send
297 -o match:"${ip_nat_remote}\.[0-9]+ > ${ip_remote}\.4501" \
300 -o match:"${ip_remote}\.4501 > ${ip_nat_remote}\.[0-9]+" \
304 start_natt_terminator $SOCK_REMOTE ipv4 $ip_remote 4500
311 nc -u -w 3 -p 4500 $ip_remote 4500 < $file_send
334 setup_sp esp "$algo_args" $ip_local $ip_remote $ip_nat_remote
335 add_sa "esp-udp" "$algo_args" $ip_local $ip_remote $ip_nat_remote 10000 $port
339 atf_check -s exit:0 -o ignore rump.ping -c 1 -n -w 3 $ip_remote
345 atf_check -s exit:0 -o ignore $HIJACKING nc -w 3 $ip_remote 4501 < $file_send
353 -o match:"${ip_nat_remote}\.$port > ${ip_remote}\.4500: UDP-encap" \
356 -o match:"${ip_remote}\.4500 > ${ip_nat_remote}\.$port: UDP-encap" \