Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2018 12:46:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 223835] BGP session not established with md5 password via FRRouting
Message-ID:  <bug-223835-2472-J2A2IuixfR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223835-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223835-2472@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=3D223835

--- Comment #31 from Felipe N. Oliva <felipe@felipeoliva.eti.br> ---
(In reply to Andrey V. Elsukov from comment #30)
I will try with TSO/LRO.
Interface: ix (intel 10g)
Doesn't work with ipv4 and ipv6.

netstat -sp tcp | grep sig
        0 packets with matching signature received
        0 packets with bad signature received
        0 times failed to make signature due to no SA
        0 times unexpected signature received
        0 times no signature provided by segment

/etc/ipsec.conf:
add -4 <my_ip4> 187.16.216.55 tcp 0x1000 -A tcp-md5 "<password>"; # GOOGLE
add -4 187.16.216.55 <my_ip4> tcp 0x1000 -A tcp-md5 "<password>"; # GOOGLE
add -4 <my_ip4> 187.16.218.58 tcp 0x1000 -A tcp-md5 "<password>"; # GOOGLE
add -4 187.16.218.58 <my_ip4> tcp 0x1000 -A tcp-md5 "<password>"; # GOOGLE
add -6 <my_ip6> 2001:12f8::55 tcp 0x1000 -A tcp-md5 "<password>"; # GOOGLE
add -6 2001:12f8::55 <my_ip6> tcp 0x1000 -A tcp-md5 "<password>"; # GOOGLE
add -6 <my_ip6> 2001:12f8::218:58 tcp 0x1000 -A tcp-md5 "<password>"; # GOO=
GLE
add -6 2001:12f8::218:58 <my_ip6> tcp 0x1000 -A tcp-md5 "<password>"; # GOO=
GLE

setkey -D
2001:12f8::218:58 <my_ip6>
        tcp mode=3Dany spi=3D130789163(0x07cbaf2b) reqid=3D0(0x00000000)
        A: tcp-md5  6a757472 616e3764 45625577 72366339
        seq=3D0x00000000 replay=3D0 flags=3D0x00000040 state=3Dmature
        created: Feb 27 08:36:12 2018   current: Feb 27 08:41:32 2018
        diff: 320(s)    hard: 0(s)      soft: 0(s)
        last:                           hard: 0(s)      soft: 0(s)
        current: 0(bytes)       hard: 0(bytes)  soft: 0(bytes)
        allocated: 0    hard: 0 soft: 0
        sadb_seq=3D7 pid=3D74097 refcnt=3D1
<my_ip6> 2001:12f8::218:58
        tcp mode=3Dany spi=3D205209160(0x0c3b3e48) reqid=3D0(0x00000000)
        A: tcp-md5  6a757472 616e3764 45625577 72366339
        seq=3D0x00000000 replay=3D0 flags=3D0x00000040 state=3Dmature
        created: Feb 27 08:36:12 2018   current: Feb 27 08:41:32 2018
        diff: 320(s)    hard: 0(s)      soft: 0(s)
        last:                           hard: 0(s)      soft: 0(s)
        current: 0(bytes)       hard: 0(bytes)  soft: 0(bytes)
        allocated: 0    hard: 0 soft: 0
        sadb_seq=3D6 pid=3D74097 refcnt=3D1
2001:12f8::55 <my_ip6>
        tcp mode=3Dany spi=3D17778168(0x010f45f8) reqid=3D0(0x00000000)
        A: tcp-md5  6a757472 616e3764 45625577 72366339
        seq=3D0x00000000 replay=3D0 flags=3D0x00000040 state=3Dmature
        created: Feb 27 08:36:12 2018   current: Feb 27 08:41:32 2018
        diff: 320(s)    hard: 0(s)      soft: 0(s)
        last:                           hard: 0(s)      soft: 0(s)
        current: 0(bytes)       hard: 0(bytes)  soft: 0(bytes)
        allocated: 0    hard: 0 soft: 0
        sadb_seq=3D5 pid=3D74097 refcnt=3D1
<my_ip6> 2001:12f8::55
        tcp mode=3Dany spi=3D11511344(0x00afa630) reqid=3D0(0x00000000)
        A: tcp-md5  6a757472 616e3764 45625577 72366339
        seq=3D0x00000000 replay=3D0 flags=3D0x00000040 state=3Dmature
        created: Feb 27 08:36:12 2018   current: Feb 27 08:41:32 2018
        diff: 320(s)    hard: 0(s)      soft: 0(s)
        last:                           hard: 0(s)      soft: 0(s)
        current: 0(bytes)       hard: 0(bytes)  soft: 0(bytes)
        allocated: 0    hard: 0 soft: 0
        sadb_seq=3D4 pid=3D74097 refcnt=3D1
187.16.218.58 <my_ip4>
        tcp mode=3Dany spi=3D49404247(0x02f1d957) reqid=3D0(0x00000000)
        A: tcp-md5  6a757472 616e3764 45625577 72366339
        seq=3D0x00000000 replay=3D0 flags=3D0x00000040 state=3Dmature
        created: Feb 27 08:36:12 2018   current: Feb 27 08:41:32 2018
        diff: 320(s)    hard: 0(s)      soft: 0(s)
        last:                           hard: 0(s)      soft: 0(s)
        current: 0(bytes)       hard: 0(bytes)  soft: 0(bytes)
        allocated: 0    hard: 0 soft: 0
        sadb_seq=3D3 pid=3D74097 refcnt=3D1
<my_ip4> 187.16.218.58
        tcp mode=3Dany spi=3D209590058(0x0c7e172a) reqid=3D0(0x00000000)
        A: tcp-md5  6a757472 616e3764 45625577 72366339
        seq=3D0x00000000 replay=3D0 flags=3D0x00000040 state=3Dmature
        created: Feb 27 08:36:12 2018   current: Feb 27 08:41:32 2018
        diff: 320(s)    hard: 0(s)      soft: 0(s)
        last:                           hard: 0(s)      soft: 0(s)
        current: 0(bytes)       hard: 0(bytes)  soft: 0(bytes)
        allocated: 0    hard: 0 soft: 0
        sadb_seq=3D2 pid=3D74097 refcnt=3D1
187.16.216.55 <my_ip4>
        tcp mode=3Dany spi=3D124856546(0x077128e2) reqid=3D0(0x00000000)
        A: tcp-md5  6a757472 616e3764 45625577 72366339
        seq=3D0x00000000 replay=3D0 flags=3D0x00000040 state=3Dmature
        created: Feb 27 08:36:12 2018   current: Feb 27 08:41:32 2018
        diff: 320(s)    hard: 0(s)      soft: 0(s)
        last:                           hard: 0(s)      soft: 0(s)
        current: 0(bytes)       hard: 0(bytes)  soft: 0(bytes)
        allocated: 0    hard: 0 soft: 0
        sadb_seq=3D1 pid=3D74097 refcnt=3D1
<my_ip4> 187.16.216.55
        tcp mode=3Dany spi=3D4096(0x00001000) reqid=3D0(0x00000000)
        A: tcp-md5  6a757472 616e3764 45625577 72366339
        seq=3D0x00000000 replay=3D0 flags=3D0x00000040 state=3Dmature
        created: Feb 27 08:36:12 2018   current: Feb 27 08:41:32 2018
        diff: 320(s)    hard: 0(s)      soft: 0(s)
        last:                           hard: 0(s)      soft: 0(s)
        current: 0(bytes)       hard: 0(bytes)  soft: 0(bytes)
        allocated: 0    hard: 0 soft: 0
        sadb_seq=3D0 pid=3D74097 refcnt=3D1

FreeBSD 10.3 was working with only one direction. Did anything change?

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223835-2472-J2A2IuixfR>