Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2018 11:31:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 231659] 12-ALPHA7 r338900 crashes with IPsec on network load
Message-ID:  <bug-231659-7501-OnrAHbEyIp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231659-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231659-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=3D231659

--- Comment #1 from Lev A. Serebryakov <lev@FreeBSD.org> ---
Steps to reproduce for me:

(1) Two hosts:
  192.168.134.1, 12-ALPHA7, slow, without AES-NI
  192.168.134.2, 11-STABLE, fast, with AES-NI

(2) Setup IPsec transport for TCP port 5201 (iperf3 part):
 (a) on 192.168.134.2
setkey -c<<__END
flush;
spdflush;
add 192.168.134.1 192.168.134.2 esp 0x10001 -E rijndael-cbc "0123456789abcd=
ef";
add 192.168.134.2 192.168.134.1 esp 0x10002 -E rijndael-cbc "0123456789abcd=
ef";
spdadd 192.168.134.2/32[5201] 192.168.134.1/32 tcp -P out ipsec
esp/transport//require;
spdadd 192.168.134.1/32 192.168.134.2/32[5201] tcp -P in  ipsec
esp/transport//require;
__END
 (b) on 192.168.134.1
setkey -c <<__END
flush;
spdflush;
add 192.168.134.1 192.168.134.2 esp 0x10001 -E rijndael-cbc "0123456789abcd=
ef";
add 192.168.134.2 192.168.134.1 esp 0x10002 -E rijndael-cbc "0123456789abcd=
ef";
spdadd 192.168.134.1/32 192.168.134.2/32[5201] tcp -P out ipsec
esp/transport//require;
spdadd 192.168.134.2/32[5201] 192.168.134.1/32 tcp -P in  ipsec
esp/transport//require;
__END

(3) run "iperf3 -s" on 192.168.134.2
(4) run "iperf -c 192.168.134.2 -R" on 192.168.134.1
(5) Almost instant crash on 192.168.134.1.

It looks have something to do with timings, as same setup where slow
192.168.134.1 is replaced bu much faster and AES-NI-capable system (same
FreeBSD version) make crash much more hard to reproduce. I've got only one =
for
6 hours of testing with fast system.

--=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-231659-7501-OnrAHbEyIp>