Changeset View
Changeset View
Standalone View
Standalone View
sbin/pfctl/pfctl.8
Show All 20 Lines | |||||||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||||||
.\" | .\" | ||||||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||||||
.\" | .\" | ||||||||
.Dd October 3, 2016 | .Dd February 22, 2021 | ||||||||
.Dt PFCTL 8 | .Dt PFCTL 8 | ||||||||
.Os | .Os | ||||||||
.Sh NAME | .Sh NAME | ||||||||
.Nm pfctl | .Nm pfctl | ||||||||
.Nd control the packet filter (PF) device | .Nd control the packet filter (PF) device | ||||||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||||||
.Nm pfctl | .Nm pfctl | ||||||||
.Bk -words | .Bk -words | ||||||||
▲ Show 20 Lines • Show All 361 Lines • ▼ Show 20 Lines | |||||||||
When used together with | When used together with | ||||||||
.Fl v , | .Fl v , | ||||||||
per-queue statistics are also shown. | per-queue statistics are also shown. | ||||||||
When used together with | When used together with | ||||||||
.Fl v v , | .Fl v v , | ||||||||
.Nm | .Nm | ||||||||
will loop and show updated queue statistics every five seconds, including | will loop and show updated queue statistics every five seconds, including | ||||||||
measured bandwidth and packets per second. | measured bandwidth and packets per second. | ||||||||
.It Fl s Cm ether | |||||||||
Show the currently loaded Ethernet rules. | |||||||||
When used together with | |||||||||
.Fl v , | |||||||||
the per-rule statistics (number of evaluations, | |||||||||
packets and bytes) are also shown. | |||||||||
pauamma_gundo.comUnsubmitted Not Done Inline Actions
pauamma_gundo.com: | |||||||||
.It Fl s Cm rules | .It Fl s Cm rules | ||||||||
Show the currently loaded filter rules. | Show the currently loaded filter rules. | ||||||||
When used together with | When used together with | ||||||||
.Fl v , | .Fl v , | ||||||||
the per-rule statistics (number of evaluations, | the per-rule statistics (number of evaluations, | ||||||||
packets and bytes) are also shown. | packets and bytes) are also shown. | ||||||||
Not Done Inline Actions
pauamma_gundo.com: | |||||||||
Note that the | Note that the | ||||||||
.Dq skip step | .Dq skip step | ||||||||
optimization done automatically by the kernel | optimization done automatically by the kernel | ||||||||
will skip evaluation of rules where possible. | will skip evaluation of rules where possible. | ||||||||
Packets passed statefully are counted in the rule that created the state | Packets passed statefully are counted in the rule that created the state | ||||||||
(even though the rule is not evaluated more than once for the entire | (even though the rule is not evaluated more than once for the entire | ||||||||
connection). | connection). | ||||||||
.It Fl s Cm Anchors | .It Fl s Cm Anchors | ||||||||
▲ Show 20 Lines • Show All 297 Lines • Show Last 20 Lines |