PROPHET/OS
NAME
filter: the packet filter
SYNOPSIS
filter [-connections|-smoothing|-blocked|-counters] [--tui]
DESCRIPTION
The packet filter: what it holds, and what it counted. Without arguments it prints the rules in the order they are asked, each with the packets and the bytes it decided about.
filter the rules with their hits filter -connections which connection it holds, and how long filter -smoothing the lines that pull a packet straight filter -blocked what was blocked, the last thirty-two filter -counters what the machine counted, and the last pass filter --tui the same table live on the whole screen
The last row of the rules is the **default**: it is the rule that holds when no other matches, so it stands in the table and not above it.
A rule without a single packet is yellow. That it never took hold is exactly the answer somebody is looking for: such a rule is either superfluous or it means something other than what the one who wrote it meant.
A connection past half its deadline is yellow too, because it falls away at the next pass, and that is only visible while both numbers stand side by side.
-counters carries the **last** pass over the connections, not a fresh one: a pass drops what has expired, so a view that triggered one would change the machine by being looked at. A fresh one: firewall -sweep.
Every table comes out of the four topics of the wall and out of no call of the net block, the same way top reads its tab Filter. The one exception is -blocked: there is no topic for the block log.
The lines carry every column. The live shape shows as many as the console is wide, and the columns stand in the order in which they answer: what a rule is first, what it counted after it.
firewall is the other half: it **sets**, and it shows nothing.
EXAMPLE
$ filter --help filter [-connections|-smoothing|-blocked|-counters] [--tui] the rules in the order they are asked, with their hits -connections which connection the wall holds, and how long -smoothing the lines that pull a packet straight -blocked what was blocked, the last thirty-two -counters what the machine counted, and the last pass --tui live on the whole screen, q leaves