From owner-freebsd-questions@freebsd.org Fri Jan 27 22:43:20 2017 Return-Path: Delivered-To: freebsd-questions@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 3619ACC40DA for ; Fri, 27 Jan 2017 22:43:20 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qt0-x233.google.com (mail-qt0-x233.google.com [IPv6:2607:f8b0:400d:c0d::233]) (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 DC24F62D for ; Fri, 27 Jan 2017 22:43:19 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-qt0-x233.google.com with SMTP id v23so159799351qtb.0 for ; Fri, 27 Jan 2017 14:43:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=eQVph+jGTE7+hw1XBXiyRJQCfqIneedl7u6JeuUjaKE=; b=SlGL+g9NeeKTV6A0fj5YyB1aDZnRXp4Kd+KuizqtIzrC//wAjvpvz+EiVwmBXfdxJc 5H4lpTY/pkSHpTUsxzZo+ExmNbzmsVN2azwwZUYXDov33VDWyZwf2CyUaKSYVlhpAmK3 QTOmcft1IVKgG3c6vQsZMhrIJXsToZKreLBw8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=eQVph+jGTE7+hw1XBXiyRJQCfqIneedl7u6JeuUjaKE=; b=K7Iu71/OkzLZrFGBvPqeSZqUwBBrEIY/E6/DHlbWQzGknGrWLPhHpR1EmLZiGqHA+J G7z8pjQbd0dRF/i87SL1//cl3Mcip1LOQTpU3hRuUEa9YnommF6R+hMLLDgEM2zOr1Mk aZKP5/ly/CmCwvdIbpnLZcTDEFkqhYXaZwXHPOD2uwI8/MuKeheEL0P0YFh0TbFFfY8W dd+s8tG23oSOIAa4cXjxnH0TbMjZCYMsekDuUjK5Xlogk4hmLxFwH3hrXbFFlMygRrzl euIwP6jsVRjD9fvT20Tz/wzUF9jfmZOzztnF8eJZjvtJboAWP9uUlAGjuGoe077yt6O9 yzbg== X-Gm-Message-State: AIkVDXKQ5z0BUfzIM37rW605Uwj4qWK2IvL4MSq5psuh73b76yWqOuL5NmLdpw4v2Y2TOw== X-Received: by 10.200.46.241 with SMTP id i46mr10311074qta.17.1485556999098; Fri, 27 Jan 2017 14:43:19 -0800 (PST) Received: from Papi ([177.17.103.74]) by smtp.gmail.com with ESMTPSA id b190sm5298776qkg.32.2017.01.27.14.43.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Jan 2017 14:43:18 -0800 (PST) Date: Fri, 27 Jan 2017 19:44:03 -0300 From: Mario Lobo To: Stari Karp Cc: freebsd-questions@freebsd.org Subject: Re: pf log Message-ID: <20170127194403.6f9b41cc@Papi> In-Reply-To: <1485545547.5165.1.camel@yandex.com> References: <1485539914.4837.6.camel@yandex.com> <1485545547.5165.1.camel@yandex.com> Organization: BSD X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2017 22:43:20 -0000 On Fri, 27 Jan 2017 14:32:27 -0500 Stari Karp wrote: > On Fri, 2017-01-27 at 12:35 -0600, Noel wrote: > > On 1/27/2017 11:58 AM, Stari Karp wrote: =20 > > >=20 > > > Hi! > > >=20 > > > I am using pf firewall on FreeBSD 11.0-RELEASE (amd64). In > > > /etc/rc.conf > > > I have: > > >=20 > > > pf_enable=3D"YES" > > > pflog_enable=3D"YES" > > >=20 > > > I made a new pf.conf on January 8th and in/var/log I have pflog > > > and after that nothing more. The file has just > > > "=C3=94=C3=B2=C2=A1............t...u..." > > >=20 > > > Is it normal or is something wrong, please? > > > =20 > >=20 > > That's normal.=C2=A0=C2=A0The pflog is a binary log (not human readable= ) you > > can read with tcpdump.=C2=A0=C2=A0See the handbook for details. > >=20 > >=20 > > =20 > tcpdump -v -r /var/log/pflog > reading from file /var/log/pflog, link-type PFLOG (OpenBSD pflog > file). >=20 > I have nothing in log as I update 10.3 release to FreeBSD-11.0-RELEASE >=20 > I forgot to say that I use FreeBSD as a desktop. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" =46rom "man pflog" EXAMPLES Create a pflog interface and monitor all packets logged on it: # ifconfig pflog1 up # tcpdump -n -e -ttt -i pflog1 --=20 Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] =20 "UNIX was not designed to stop you from doing stupid things,=20 because that would also stop you from doing clever things."