From owner-freebsd-net@freebsd.org Fri Nov 24 23:19:25 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABF6EDF3C6C for ; Fri, 24 Nov 2017 23:19:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 99E606868E for ; Fri, 24 Nov 2017 23:19:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vAONJOiX035992 for ; Fri, 24 Nov 2017 23:19:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 223835] BGP session not established with md5 password via FRRouting Date: Fri, 24 Nov 2017 23:19:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pautina@kharkiv.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Nov 2017 23:19:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223835 Alexey changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|New |Closed --- Comment #10 from Alexey --- Good night everybody. The problem is solved. Many thanks to Marek Zarychta mailto:zarychtam@plan-b.pwste.edu.pl for the help. He showed me a similar problem: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219453. =D0=90nd indeed, the problem was that on the interface TX/RX checksums was = disabled. Now everything works with the following settings: On interface ix0 or ixl0 or other must be turn ON: rxcsum txcsum; (ifconfig ixl0 rxcsum txcsum) At /etc/rc.conf: ifconfig_ixl0=3D"up -tso -lro -vlanhwtso" (I disabled only tso and lro) ipsec_enable=3D"YES" ipsec_file=3D"/etc/ipsec.conf" At /etc/ipsec.conf: flush; add 185.1.62.241 185.1.62.69 tcp 0x1000 -A tcp-md5 "some_password"; add 185.1.62.69 185.1.62.241 tcp 0x1001 -A tcp-md5 "some_password"; On kernel you must add next: options IPSEC # IP (v4/v6) security options IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5 # The crypto framework is required by IPSEC device crypto # Required by IPSEC device cryptodev options TCP_SIGNATURE And need set password for neighbor on FRRouting, for example: neighbor 185.1.62.69 password some_password I think it's necessary to describe all this in documentation.=20 This would be good, as this problem arises for many. Or you can simply forg= et about it :) --=20 You are receiving this mail because: You are the assignee for the bug.=