Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2023 14:01:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 273533] need to sleep before using IPsec tunnel
Message-ID:  <bug-273533-7501-RntsMPZVik@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273533-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-273533-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273533

--- Comment #4 from Andrew Cagney <andrew.cagney@gmail.com> ---
(In reply to Zhenlei Huang from comment #3)

> Have you tried `ping` instead of `fping` ?

good question, the plot thickens:

make: Leaving directory '/home/libreswan/wip-webkvm/testing/libvirt'
--- MASTER/testing/pluto/pfkeyv2-esn-ah-freebsd/all.console.txt
+++ OUTPUT/testing/pluto/pfkeyv2-esn-ah-freebsd/all.console.txt
@@ -11,9 +11,17 @@
 ipsec.conf -> PATH/etc/ipsec.conf
 ipsec.secrets -> PATH/etc/ipsec.secrets
 freebsdw# ping -c 1 192.1.2.23
+PING 192.1.2.23 (192.1.2.23): 56 data bytes
+64 bytes from 192.1.2.23: icmp_seq=3D0 ttl=3D64 time=3D0.XXX ms
+--- 192.1.2.23 ping statistics ---
+1 packets transmitted, 1 packets received, 0.0% packet loss
+round-trip min/avg/max/stddev =3D 0.398/0.398/0.398/0.000 ms
 freebsdw# fping -c 1 192.1.2.23
+fping error: not enough sequence numbers available!
(expire_timeout=3D10000000000, host_nr=3D0, ping_count=3D0, seqmap_next_id=
=3D0)
 freebsdw# sleep 5
 freebsdw# fping -c 1 192.1.2.23
+192.1.2.23 : [0], 64 bytes, 0.417 ms (0.417 avg, 0% loss)
+192.1.2.23 : xmt/rcv/%loss =3D 1/1/0%, min/avg/max =3D 0.417/0.417/0.417
 freebsdw# ipsec start
 Redirecting to: [initsystem]
 Initializing NSS database

(fping is used by the test framework so that there's a consistent interface
between *Linux and *BSD)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273533-7501-RntsMPZVik>