From owner-freebsd-pf@freebsd.org Tue May 30 18:05:27 2017 Return-Path: Delivered-To: freebsd-pf@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 DB24DB9598A for ; Tue, 30 May 2017 18:05:27 +0000 (UTC) (envelope-from vegeta@tuxpowered.net) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 779A273700 for ; Tue, 30 May 2017 18:05:27 +0000 (UTC) (envelope-from vegeta@tuxpowered.net) Received: by mail-wm0-x236.google.com with SMTP id d127so104839194wmf.0 for ; Tue, 30 May 2017 11:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxpowered-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version; bh=UqIqMuToY7yaqntYErUpTX+zernui+48Hc5Tt/sJR+Q=; b=VtI7viumlAoYUxGhtvQeqyzv/t+b2RDSqFhtShZghrmmx14OJwOoYmpBbtyFdeKwuJ 0/1MIFxOou2nFwH7+EkhPWGVQQU6/jHQxG6yQw1dqqnvFWBOyAvZNmbtO0GTJ1yEw3Pe VQDgqd9C9uxKZAtRwwByh9lebU8pX07BW0lNhCdVMtekgCSQhuGpaLCK6r00f3omPnqB jr4zIGW6fe32MHOSs+dc4myXdPo6kTeunACKpwXAx0HiCBeTi0x9F7AKkAO5NcqtF/Vx B4OSDgQxrEQZaoi/9MUL1xbMxd1UIJnAXLCmgmZi2PmgrQV0PzvFqWLLPLSBxa5hbJ6H +2Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version; bh=UqIqMuToY7yaqntYErUpTX+zernui+48Hc5Tt/sJR+Q=; b=roeTujWaIDSTRvc8BGlxIKXQh76BFXwqGF2YbmYsQ28a1kIIM+5zsiJ6ZbLhR3MdIo KDRBGtLsrrHrH2xx4X6mpgiLhETCUbBZ7DqybtSZAVgF3SUQnUZhEFWebT96CWY1PWVp xZ5NM4D+CtjKajPvKcVFoU8zxSFfI+i1XlU5TWmRSzC1MIxrNVHGuTImL2Los0Dpb/wL QsCpOin/q1c3oQLoSGWymxMrLL4vIFddV8U9/hil2c+jwA6CHxmMDNWQlpVD3SeJEtUK n7yFy3wnKEDmgAD96liibG6+wZRSAvFi1End5LH5RbDCuqOBM7/WKkDfLOzxRbP7uysm Fihw== X-Gm-Message-State: AODbwcC3DxkgKRIu8ifANB9B1sYjXowAZQz9yBlltX8LalAPRrhHouBK 0r/o03cf3p82HkDIAzBo4Q== X-Received: by 10.80.184.24 with SMTP id j24mr17453146ede.176.1496167525900; Tue, 30 May 2017 11:05:25 -0700 (PDT) Received: from energia.localnet ([2a02:8108:4b3f:d254::5]) by smtp.gmail.com with ESMTPSA id a54sm7031404edd.68.2017.05.30.11.05.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 May 2017 11:05:24 -0700 (PDT) From: Kajetan Staszkiewicz To: "Bjoern A. Zeeb" Cc: freebsd-pf@freebsd.org Subject: Re: pf not checking traffic from tunnels Date: Tue, 30 May 2017 20:05:19 +0200 Message-ID: <2427866.HH9brvnEOx@energia> Organization: tuxpowered.net User-Agent: KMail/5.2.3 (Linux/4.9.0-22.1-liquorix-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: References: <1853600.RL7SYQSJBX@energia> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5735402.ZaQVCjWN4Q"; micalg="pgp-sha1"; protocol="application/pgp-signature" X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2017 18:05:28 -0000 --nextPart5735402.ZaQVCjWN4Q Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Dnia wtorek, 30 maja 2017 16:22:05 CEST Bjoern A. Zeeb pisze: > On 30 May 2017, at 16:17, Kajetan Staszkiewicz wrote: > > Is there any option to check from userspace if the gif interface has > > pf > > attached in netpfil hook for incoming traffic? Running tcpdump on gif > > interface correctly shows incoming icmp echo request. >=20 > What you want to read is > man 4 enc > I think. That was close but not really :) Proper lecture was man 4 ipsec and this switch: net.inet.ipsec.filtertunnel =2D-=20 | pozdrawiam / greetings | powered by Debian, FreeBSD and CentOS | | Kajetan Staszkiewicz | jabber,email: vegeta()tuxpowered net | | Vegeta | www: http://vegeta.tuxpowered.net | `------------------------^---------------------------------------' --nextPart5735402.ZaQVCjWN4Q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSOEQZObv2B8mf0JbnjtFCvbXs6FAUCWS20XwAKCRDjtFCvbXs6 FBdPAJ4wIRW4A5G8X3eoeNloa/k74CPELACgvsDPUuEKSj2zIY0JXjEGG0ZNDEU= =ImwS -----END PGP SIGNATURE----- --nextPart5735402.ZaQVCjWN4Q--