GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
EXPIRETABLE(1) FreeBSD General Commands Manual EXPIRETABLE(1)

expiretable
removes PF table entries based on age

expiretable [-dnvp] [-a anchor] [-t age] table

expiretable is used to remove entries from the pf table specified by table with an age greater than that specified by -t age. The age in question being the amount of time that has passed since the statistics for the respective entry in the target table was last cleared.

The options:

anchor
Specify the anchor containing the (private) table.
Daemonize. Detach from terminal and run in the background. The -p flag is implied.
Dry-run. Go through the motions, but don't actually delete anything.
Will cause expiretable to poll for expired entries instead of exiting.
age
Specify the maximum age of a table-entry. age can be specified as a positive integer, in seconds, or as a series of positive integers with suffixes. Valid suffixes are d (days), h (hours), m (minutes), s (seconds). The total number of seconds must be less than 100 million.
Verbose output. Use twice for even more verbose output.

The following removes any entries in table int.users older than one hour:
# expiretable -v -t 3600 int.users

This example removes any entries in table int.users older than one and a half hour:

# expiretable -v -t 1h30m int.users

pf(4), pfctl(8)
June 19 2005 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.