From owner-freebsd-stable@freebsd.org Sat May 4 21:33:32 2019 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8FA59159985C for ; Sat, 4 May 2019 21:33:32 +0000 (UTC) (envelope-from matpockuh@gmail.com) Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44A3D7248C for ; Sat, 4 May 2019 21:33:31 +0000 (UTC) (envelope-from matpockuh@gmail.com) Received: by mail-ot1-x333.google.com with SMTP id a10so8320731otl.12 for ; Sat, 04 May 2019 14:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=G1kJXNjR2p3LFFIMRbelGF6F8zyvf6Ohj8iHedVAmbk=; b=eWPOHZ01Y0I7HJareI2ck4XsntFBCJNGU+XIITOcDoSm2sFoXFMC/vwI+8BjgcHtJd KY3oWhp8eQ9WW5WFExEOoqJvJDtArVN0xKpznXXbBKXOv53mYBOB2OQIzn1pTHjThGBX J7RSAw8hUs/0oArTD2mVZ3xiN5c193ZYRMGhvYw43J/8oNBEuQOievKN5fKOFne43TGU ClCxH/7eJrN821ykmapTKBbvVUwLmzOauKZJ/+kG+Zj6Q3p7idbEH0+1el2EgV45jms7 23xVcF7JgCyQBae3QKn16ZrIVi+cVtF+EfRCAR0lBUMCSHR7ZqJ4QZrdq0TD+2hHaiIh tw8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=G1kJXNjR2p3LFFIMRbelGF6F8zyvf6Ohj8iHedVAmbk=; b=CnS+c8LWrKASy6/fUTNbm+1vZQUdrF/ucu+4MIxmore+jQnSgP2SsLylkSn62MRQ/h pMkHY4GMggwYmnMTgHVudmCUtfhqmNfFXnepCbds0t3ThSdLahyfp8GZakc+D2z/PTwg jOE+hU21Dv/S/3B6Kh+y9/vM8OJaPgKJ+4SAXFyyYnB0BU4Cl4Y4BOENq13neqxLpGxj D+I7uzB+ADRvZpSolmFCeSWCORElTA6lzPiTObZ9P/3F5h06af2x08+JDswWVYeuQc5N Yt5K3xxPBr1poA29IdidsarTwB6jb6l5NTPvV1c6EHssrsQSKvWFhKOO4A4HGBqCFVJJ tVgQ== X-Gm-Message-State: APjAAAUp97JlCCc9CEWJMh2XJv1ZTJhukJ+SXOINZRh6hHjXtVxQ8APw 9vaxwT+tFqekps0cQSCVK+p/NaTG3UnJmeObSX3ZKDjD X-Google-Smtp-Source: APXvYqyhxMO1F5Cx/y5MS9tCY+kZjzH2oFoF2WvEYy4fxsFMzp8EwBvWZPGbiGB2vOvARKZZVfH4ewixOM7fEjxZCo4= X-Received: by 2002:a9d:73d9:: with SMTP id m25mr4624884otk.356.1557005610172; Sat, 04 May 2019 14:33:30 -0700 (PDT) MIME-Version: 1.0 References: <20190504171822.GA27671@thismonkey.com> In-Reply-To: <20190504171822.GA27671@thismonkey.com> From: KOT MATPOCKuH Date: Sun, 5 May 2019 00:33:42 +0300 Message-ID: Subject: Re: route based ipsec To: freebsd-stable@freebsd.org X-Rspamd-Queue-Id: 44A3D7248C X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=eWPOHZ01; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of matpockuh@gmail.com designates 2607:f8b0:4864:20::333 as permitted sender) smtp.mailfrom=matpockuh@gmail.com X-Spamd-Result: default: False [-6.87 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-2.88)[ip: (-8.86), ipnet: 2607:f8b0::/32(-3.21), asn: 15169(-2.25), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 May 2019 21:33:32 -0000 Hello! =D1=81=D0=B1, 4 =D0=BC=D0=B0=D1=8F 2019 =D0=B3. =D0=B2 21:01, Scott Aitken = : > > On 5/2/2019 4:16 PM, KOT MATPOCKuH wrote: > > > 0.The ipsec-tools port currently does not have a maintainer (C) > portmaster > > > ... Does this solution really supported? Or I should switch to use > > > another IKE daemon? > > I've just started using IPSEC between a 12.0-RELEASE box, a 11.2-RELEASE-= p9 > box and a Cisco IOS router. > What type of peers_identifier are You using? I'm using asn1dn... And today I got a coredump on 3rd host in: #0 0x000000000024717f in privsep_init () I haven't seen any core dumps or crashes. I run routing between these > devices (using RIPv2 rather than OSPF) - in order to do this you need to > create tunnels between the devices because encrypting routing protocols a= nd > things that use multicast is tricky. I felt that that the handbook examp= le > was lacking - it should have been encrypting the tunnel endpoints and NOT > the > LAN traffic on either side of the tunnel. > I used pointtomultipoint topology and hardcoded peer's IP addresses for OSPF. No multicast =3D> no problems :) > Anyway I built IPENCAP (aka IPinIP) tunnels using gif interfaces and > configured racoon/ipsec-tools to build the SA/SADs using the tunnel > endpoints > and IP protocol 4 (IPENCAP). > I think my next step will be try to use gre tunnels over ipsec with psk authentication. If you want the configs let me know. > No, thanks You! :) --=20 MATPOCKuH