11.2-RC1 setkey invalid spi ?
Olivier Cochard-Labbé
olivier at freebsd.org
Tue Jun 12 14:54:51 UTC 2018
On Tue, Jun 12, 2018 at 4:02 PM Patrick Lamaiziere <patfbsd at davenulle.org>
wrote:
> Le Tue, 12 Jun 2018 14:34:47 +0200,
> Patrick Lamaiziere <patfbsd at davenulle.org> a écrit :
>
> Hello
>
Hi Patrick,
>
> Well I can reproduce this problem by using setkey(8) :
>
> /etc/ipsec.conf
> add 129.20.128.78 129.20.128.149 tcp 0x1000 -A tcp-md5 "secret";
> add 129.20.128.149 129.20.128.78 tcp 0x1000 -A tcp-md5 "secret";
>
>
>
You can't no more use the same SPI for these 2 entries (cf the TCP MD5
examples into the setkey man page):
Use TCP MD5 between two numerically specified hosts:
add 10.1.10.34 10.1.10.36 tcp 0x1000 -A tcp-md5 "TCP-MD5 BGP
secret" ;
add 10.1.10.36 10.1.10.34 tcp 0x1001 -A tcp-md5 "TCP-MD5 BGP
secret" ;
Regards,
Olivier
More information about the freebsd-net
mailing list