pfc (1)
Leading comments
Hey, EMACS: First parameter, NAME, should be all caps Second parameter, SECTION, should be 1-8, maybe w/ subsection other parameters are allowed: see man(7), man(1)
NAME
pfc - active precompiled filters generatorSYNOPSIS
pfc <expression> >/etc/ppp/your.active.filterDESCRIPTION
This manual page documents briefly the pfc command.pfc is the Precompiled Filter Compiler - a tool to generate "active precompiled filters". If your pppd supports this feature, you can use this utility to generate the filter files. The Active Filter allows a connect on demand pppd to determine what is 'interesting' traffic, and then initiate the PPP session. The tool allows you to create the filters, in libpcap format, for use by pppd. Common filters are used to ignore traffic (ie: ntp, various protocol keepalives, etc...) so PPP sessions are not initiated until 'real' traffic requires them.
Note that the generated compiled filter expression is specific to point-to-point links, and differs from the format generated by tcpdump -ddd.
(specify precompiled-active-filter=/etc/ppp/your.active.filter in the ppp options file)