From owner-freebsd-net@FreeBSD.ORG Tue Jan 3 18:03:57 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F5431065676; Tue, 3 Jan 2012 18:03:57 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) by mx1.freebsd.org (Postfix) with ESMTP id 2292C8FC16; Tue, 3 Jan 2012 18:03:57 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 236D225D3892; Tue, 3 Jan 2012 18:03:56 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 518E8BD866A; Tue, 3 Jan 2012 18:03:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id VIub6QdgBB00; Tue, 3 Jan 2012 18:03:54 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 01BE0BD8669; Tue, 3 Jan 2012 18:03:53 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: "Bjoern A. Zeeb" In-Reply-To: <6FE9FF15-487F-4A31-AEE0-A0AD92F5DC72@sarenet.es> Date: Tue, 3 Jan 2012 18:03:52 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <20DC0C8A-DD9E-408E-9ACA-82532DB31871@lists.zabbadoz.net> References: <99A5FFD9-8815-4CCC-9868-FB2E3D799566@gridfury.com> <4F027BC0.1080101@FreeBSD.org> <8F87C898-3290-41B9-ACDF-3558D7C28D74@gmail.com> <20120103152909.GA83706@sandvine.com> <6FE9FF15-487F-4A31-AEE0-A0AD92F5DC72@sarenet.es> To: Borja Marcos X-Mailer: Apple Mail (2.1084) Cc: Nikolay Denev , Ed Maste , freebsd-net@freebsd.org Subject: Re: openbgpds not talking each other since 8.2-STABLE upgrade X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2012 18:03:57 -0000 On 3. Jan 2012, at 17:47 , Borja Marcos wrote: >=20 > On Jan 3, 2012, at 4:29 PM, Ed Maste wrote: >=20 >> Thanks for the link Nikolay. >>=20 >> Borja, I assume it's the PR submission form that gave you trouble - >> sorry for that. Based on your report it sounds to me like the bug is >> in OpenBGPd itself. If it works on OpenBSD with the TCP_MD5SIG = option >> though I'd assume it's due to a difference in our (FreeBSD's) >> implementation of the option. Did you look at the OpenBSD/FreeBSD >> differences in your investigation? >=20 > Both bird and quagga work as expected on FreeBSD. You can leave = TCP_MD5 enabled in the kernel. If you specify "password" options for a = BGP peer, it will enable TCP_MD5. Of course in FreeBSD it's a bit clumsy = and you have to use setkey(8) to set the keys. But it works. The reason for setkey is just because the software (quagga, bird,...) = didn't grow a proper key management integration on pfkey2. Would be = easy. Might be needed soon anyway;-) Not having looked at the particular openbgpd patches in our ports tree I = would almost expect there can only be a minor issue that it would stop = to work for non-protected peers once MD5 support is present in the = kernel and that should be easy to spot. Unfortunately Doug didn't say from where he updated to this December = 8-STABLE to see if it could be the MFCs of the MD5 changes by Attilio = could make OpenBGPd as in ports cranky? /bz --=20 Bjoern A. Zeeb You have to have visions! It does not matter how good you are. It matters what good you do!