From owner-freebsd-net@FreeBSD.ORG Sun Sep 21 15:42:14 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7142A1D0 for ; Sun, 21 Sep 2014 15:42:14 +0000 (UTC) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 09F698C8 for ; Sun, 21 Sep 2014 15:42:13 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id z2so1691248wiv.5 for ; Sun, 21 Sep 2014 08:42:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=UF5+aSFtvRwXJ7hEBvBCNG7dak0wN5OwvZCCzJ7Yk2k=; b=UhGNCxSBA9ZzU47rye6SHym9zOdMXGvGF9skc9M9bKQH9K+569dkCUBlMMFUTB7z3X h9B0xKnanwOnGMtQ9FSG2u8ZBHrY6fGZjTiKg6ctzURQdHsHEQ7Vz8AIgpm2BhtNTR3q MaMaNHhhRye1B1GgCrC4WwOeyuDijIhB9T+P0ZHY7GVwqjbLa+yrR5l5HehhYfJf7Hty zah+as6kfaWPuM0sjOlQbIOSdR5BAd0osEFO1S3looPERMNnJC7rnq7/Rsd8P4IZ6SeR OuKu/+3ptjiiR9PWQ6xVZuwPNzI6J+HpgVfOEgE7wt8I7Xo5hbkOU58xhTJC9kJdr/bn Jwaw== X-Received: by 10.194.88.195 with SMTP id bi3mr14960129wjb.10.1411314131352; Sun, 21 Sep 2014 08:42:11 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.194.240.102 with HTTP; Sun, 21 Sep 2014 08:41:51 -0700 (PDT) In-Reply-To: <541EA396.7050201@winterei.se> References: <541EA396.7050201@winterei.se> From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Sun, 21 Sep 2014 17:41:51 +0200 X-Google-Sender-Auth: FmVqLg9fvhjdqEZ7HDzEz6pbL4Y Message-ID: Subject: Re: IP fast forwarding and setkey To: "Paul S." Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 15:42:14 -0000 On Sun, Sep 21, 2014 at 12:08 PM, Paul S. wrote: > Hi folks, > > I plan to make an edge router out of a freebsd system with OpenBGPD + > FreeBSD 10, or such. > > I've been reading up, and noticed that the net.inet.ip.fastforwarding flag > provides rather nice performance benefits. > > My issue is, my upstream networks insist on using TCP MD5 authentication > on their BGP sessions. > > This is fine, except on FreeBSD -- I'm going to have to use the setkey > utility to set those since native PF_KEY support for OpenBGPD does not seem > available. > > Now, since setkey is part of IPSec, and there are countless warnings about > using IPSec and fastforwarding together in the manpage, am I correct in > assuming that this will not work if I have fastforwarding enabled? > > Is there any way to make it work? Quagga, from what I've read, seems to > also be in the same boat (Usage of setkey required for TCP MD5). > > fastforwarding is not compatible with IPSec only but can be used with TCP_MD5 without problem (tested on FreeBSD 10-stable). Regards, Olivier