History log of /openbsd-current/sbin/pflogd/pflogd.8
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.51 30-Aug-2019 jmc

mop up for the pcap.3 rename;
help/ok deraadt


Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.50 26-Aug-2018 brynet

pflogd(8): don't try to rename(2) broken/invalid pflog files, instead,
suspend logging until the log file has been moved out of the way, and
we have received either SIGHUP or SIGALRM.

ok florian@ deraadt@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.49 30-May-2017 schwarze

Fix escaping: .Nm Op Fl "Dx" turning into "pflogd [-DragonFly]"
is funny, but not useful, so say .Nm Op Fl \&Dx as required.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.48 16-Jan-2016 canacar

Interface status printing (at exit and USR1) was broken for a while.
Remove it completely to simplify the code.
even better deraadt@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.47 15-Feb-2015 bentley

Use "In" to mark up include files, instead of wrongly wrapping with Aq.

Aq is not the same as <> in non-ASCII situations, so this caused
incorrect output in some places. And it provided no semantics besides.

ok schwarze@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.46 21-Jan-2014 schwarze

obvious .Pa fixes; found with mandocdb(8)


Revision tags: OPENBSD_5_4_BASE
# 1.45 16-Jul-2013 schwarze

Add missing .Mt macros for AUTHORS email addresses.
From Jan Stary <hans at stare dot cz>.
ok jmc@


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.44 25-Jun-2012 jmc

log all, not log-all; ok henning


Revision tags: OPENBSD_5_1_BASE
# 1.43 12-Oct-2011 henning

default snaplen is 160 these days
From: giovanni <qgiovanni at gmail dot com>


Revision tags: OPENBSD_5_0_BASE
# 1.42 06-May-2011 jmc

put the tcpdump-specific stuff in a sane place (that is, not EXAMPLES);
ok sthen henning


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.41 14-May-2010 schwarze

nowadays, .Dx is callable, so we need to quote it;
ok jmc@ millert@ henning@ kristaps@


Revision tags: OPENBSD_4_7_BASE
# 1.40 03-Dec-2009 sthen

Adjust pflog BPF descriptions, problem pointed out by jmc@

- sync actions with PF changes (pass/block/match not just pass/block,
and remove some binat/nat/rdr entries)

- list all reason codes in tcpdump(8)

ok henning jmc


# 1.39 04-Nov-2009 jmc

tweak previous;


# 1.38 03-Nov-2009 deraadt

Get rid of pflogd.pid because the privsep child cannot delete the pidfile;
use pkill(1) in /etc/newsyslog.conf instead
together with otto and suggestions from tedu


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.37 22-Oct-2008 henning

log pcap stats upon SIGUSR1; ok canacar
From: Dave Harrison <dave@nullcube.com>


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.36 14-Jan-2008 okan

clear up pidfile(-p) option form

tweaked by jmc, ok henning


Revision tags: OPENBSD_4_2_BASE
# 1.35 31-May-2007 jmc

convert to new .Dd format;


# 1.34 07-Apr-2007 jmc

- use .Bk/.Ek to avoid SYNOPSIS splitting
- put -p in the correct place
- sync the -p argument name and tweak its description
- add -p to usage()


# 1.33 06-Apr-2007 canacar

Adds a pidfile argument to pflogd so that individual
instances can be rotated via newsyslog.
From Berk Demir < bdd at mindcast org >
ok henning@


Revision tags: OPENBSD_4_1_BASE
# 1.32 08-Dec-2006 joel

state that if the log file is bad, it is first moved out of the way. if
that fails, then logging is suspended.


# 1.31 06-Dec-2006 mk

style


# 1.30 19-Nov-2006 joel

Default snaplen has been 116 for a while now.


# 1.29 26-Oct-2006 jmc

- sort options
- sync usage()


# 1.28 25-Oct-2006 henning

allow pflogd to listen on alternate pflog interfaces
"Berk D. Demir" <bdd@mindcast.org> sent a diff in private, and then it
evolved quite a bit... ok djm canacar berk


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.27 27-May-2005 dhartmei

filtering on ruleset name is already implemented, document it.


# 1.26 14-Apr-2005 joel

sync the list of acceptable values for 'reason' with reality


Revision tags: OPENBSD_3_7_BASE
# 1.25 02-Jan-2005 jmc

"bad-timestamp" is a valid logging reason;
from joel knight;


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.24 16-Jan-2004 jmc

- standard option order
- sync usage()
- new sentence, new line
- Dv (not Va) for signals
- other nits

ok canacar@


# 1.23 15-Jan-2004 canacar

Try to preserve the integrity of the log file in case of errors/unexpected
shutdowns etc. Also check logfile integrity on startup and suspend
logging if an inconsistency is detected.
ok dhartmei@


Revision tags: OPENBSD_3_4_BASE
# 1.22 03-Jun-2003 jmc

- section reorder
- some mdoc fixes


Revision tags: OPENBSD_3_3_BASE
# 1.21 11-Mar-2003 david

mdoc fixes: macros are not allowed inside .Bd -literal blocks
ok deraadt@


# 1.20 24-Feb-2003 henning

to to
found by krause


# 1.19 19-Feb-2003 henning

mdoc-police: officer krause catched one again


# 1.18 14-Feb-2003 henning

and one more tweaking round by krause, thanks!


# 1.17 28-Jan-2003 jmc

typos; added white boldface to examples

ok deraadt@


# 1.16 09-Nov-2002 fgsch

SEE ALSO reordering and corrections.


Revision tags: OPENBSD_3_2_BASE
# 1.15 23-Apr-2002 frantzen

fix grammar in tcpdump example


Revision tags: OPENBSD_3_1_BASE
# 1.14 23-Mar-2002 frantzen

examples of tcpdump filters on pf log fields


# 1.13 28-Feb-2002 dhartmei

Remove the ifconfig line again, it's in pflog(4), which is now linked,
and in pflogd context (started from rc), the interface is up already.


# 1.12 28-Feb-2002 dhartmei

Document ethernet layer expressions.


# 1.11 28-Feb-2002 kjell

Up the pflog0 interface. alphabetize xrefs and add pflog(4)
ok dhartmei@


# 1.10 13-Dec-2001 mpech

o) start new sentence on a new line;
o) wrap long lines;
o) fix bogus .Xr usage;
o) we don't like blank lines;
o) always close .Bl tags;
o) OpenBSD -> .Ox;
o) don't like .Pp before .Ss;

millert@ ok;


# 1.9 06-Dec-2001 deraadt

When you give command examples in a manual page prefix them with
$ command
or
# command
Depending on if is a regular user command, or root-only. Please?


# 1.8 02-Dec-2001 frantzen

document tcpdump on pflog0 to make Theo happy and prove nroff can't kill you
(but damn can it try)


Revision tags: OPENBSD_3_0_BASE
# 1.7 02-Oct-2001 dhartmei

loging -> logging


# 1.6 15-Sep-2001 jakob

add EXAMPLES section; canacar@eee.metu.edu.tr, ok deraadt@


# 1.5 29-Aug-2001 deraadt

kill the -i option; it just causes all sorts of grief; canacar@eee.metu.edu.tr


# 1.4 27-Aug-2001 deraadt

doc improvements; canacar@eee.metu.edu.tr


# 1.3 24-Aug-2001 deraadt

corrections; wouter.clarie@pandora.be


# 1.2 22-Aug-2001 deraadt

clarify tcpdump use; frantzen


# 1.1 21-Aug-2001 deraadt

pflogd; work by canacar@eee.metu.edu.tr and myself


# 1.50 26-Aug-2018 brynet

pflogd(8): don't try to rename(2) broken/invalid pflog files, instead,
suspend logging until the log file has been moved out of the way, and
we have received either SIGHUP or SIGALRM.

ok florian@ deraadt@


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE
# 1.49 30-May-2017 schwarze

Fix escaping: .Nm Op Fl "Dx" turning into "pflogd [-DragonFly]"
is funny, but not useful, so say .Nm Op Fl \&Dx as required.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.48 16-Jan-2016 canacar

Interface status printing (at exit and USR1) was broken for a while.
Remove it completely to simplify the code.
even better deraadt@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.47 15-Feb-2015 bentley

Use "In" to mark up include files, instead of wrongly wrapping with Aq.

Aq is not the same as <> in non-ASCII situations, so this caused
incorrect output in some places. And it provided no semantics besides.

ok schwarze@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.46 21-Jan-2014 schwarze

obvious .Pa fixes; found with mandocdb(8)


Revision tags: OPENBSD_5_4_BASE
# 1.45 16-Jul-2013 schwarze

Add missing .Mt macros for AUTHORS email addresses.
From Jan Stary <hans at stare dot cz>.
ok jmc@


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.44 25-Jun-2012 jmc

log all, not log-all; ok henning


Revision tags: OPENBSD_5_1_BASE
# 1.43 12-Oct-2011 henning

default snaplen is 160 these days
From: giovanni <qgiovanni at gmail dot com>


Revision tags: OPENBSD_5_0_BASE
# 1.42 06-May-2011 jmc

put the tcpdump-specific stuff in a sane place (that is, not EXAMPLES);
ok sthen henning


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.41 14-May-2010 schwarze

nowadays, .Dx is callable, so we need to quote it;
ok jmc@ millert@ henning@ kristaps@


Revision tags: OPENBSD_4_7_BASE
# 1.40 03-Dec-2009 sthen

Adjust pflog BPF descriptions, problem pointed out by jmc@

- sync actions with PF changes (pass/block/match not just pass/block,
and remove some binat/nat/rdr entries)

- list all reason codes in tcpdump(8)

ok henning jmc


# 1.39 04-Nov-2009 jmc

tweak previous;


# 1.38 03-Nov-2009 deraadt

Get rid of pflogd.pid because the privsep child cannot delete the pidfile;
use pkill(1) in /etc/newsyslog.conf instead
together with otto and suggestions from tedu


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.37 22-Oct-2008 henning

log pcap stats upon SIGUSR1; ok canacar
From: Dave Harrison <dave@nullcube.com>


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.36 14-Jan-2008 okan

clear up pidfile(-p) option form

tweaked by jmc, ok henning


Revision tags: OPENBSD_4_2_BASE
# 1.35 31-May-2007 jmc

convert to new .Dd format;


# 1.34 07-Apr-2007 jmc

- use .Bk/.Ek to avoid SYNOPSIS splitting
- put -p in the correct place
- sync the -p argument name and tweak its description
- add -p to usage()


# 1.33 06-Apr-2007 canacar

Adds a pidfile argument to pflogd so that individual
instances can be rotated via newsyslog.
From Berk Demir < bdd at mindcast org >
ok henning@


Revision tags: OPENBSD_4_1_BASE
# 1.32 08-Dec-2006 joel

state that if the log file is bad, it is first moved out of the way. if
that fails, then logging is suspended.


# 1.31 06-Dec-2006 mk

style


# 1.30 19-Nov-2006 joel

Default snaplen has been 116 for a while now.


# 1.29 26-Oct-2006 jmc

- sort options
- sync usage()


# 1.28 25-Oct-2006 henning

allow pflogd to listen on alternate pflog interfaces
"Berk D. Demir" <bdd@mindcast.org> sent a diff in private, and then it
evolved quite a bit... ok djm canacar berk


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.27 27-May-2005 dhartmei

filtering on ruleset name is already implemented, document it.


# 1.26 14-Apr-2005 joel

sync the list of acceptable values for 'reason' with reality


Revision tags: OPENBSD_3_7_BASE
# 1.25 02-Jan-2005 jmc

"bad-timestamp" is a valid logging reason;
from joel knight;


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.24 16-Jan-2004 jmc

- standard option order
- sync usage()
- new sentence, new line
- Dv (not Va) for signals
- other nits

ok canacar@


# 1.23 15-Jan-2004 canacar

Try to preserve the integrity of the log file in case of errors/unexpected
shutdowns etc. Also check logfile integrity on startup and suspend
logging if an inconsistency is detected.
ok dhartmei@


Revision tags: OPENBSD_3_4_BASE
# 1.22 03-Jun-2003 jmc

- section reorder
- some mdoc fixes


Revision tags: OPENBSD_3_3_BASE
# 1.21 11-Mar-2003 david

mdoc fixes: macros are not allowed inside .Bd -literal blocks
ok deraadt@


# 1.20 24-Feb-2003 henning

to to
found by krause


# 1.19 19-Feb-2003 henning

mdoc-police: officer krause catched one again


# 1.18 14-Feb-2003 henning

and one more tweaking round by krause, thanks!


# 1.17 28-Jan-2003 jmc

typos; added white boldface to examples

ok deraadt@


# 1.16 09-Nov-2002 fgsch

SEE ALSO reordering and corrections.


Revision tags: OPENBSD_3_2_BASE
# 1.15 23-Apr-2002 frantzen

fix grammar in tcpdump example


Revision tags: OPENBSD_3_1_BASE
# 1.14 23-Mar-2002 frantzen

examples of tcpdump filters on pf log fields


# 1.13 28-Feb-2002 dhartmei

Remove the ifconfig line again, it's in pflog(4), which is now linked,
and in pflogd context (started from rc), the interface is up already.


# 1.12 28-Feb-2002 dhartmei

Document ethernet layer expressions.


# 1.11 28-Feb-2002 kjell

Up the pflog0 interface. alphabetize xrefs and add pflog(4)
ok dhartmei@


# 1.10 13-Dec-2001 mpech

o) start new sentence on a new line;
o) wrap long lines;
o) fix bogus .Xr usage;
o) we don't like blank lines;
o) always close .Bl tags;
o) OpenBSD -> .Ox;
o) don't like .Pp before .Ss;

millert@ ok;


# 1.9 06-Dec-2001 deraadt

When you give command examples in a manual page prefix them with
$ command
or
# command
Depending on if is a regular user command, or root-only. Please?


# 1.8 02-Dec-2001 frantzen

document tcpdump on pflog0 to make Theo happy and prove nroff can't kill you
(but damn can it try)


Revision tags: OPENBSD_3_0_BASE
# 1.7 02-Oct-2001 dhartmei

loging -> logging


# 1.6 15-Sep-2001 jakob

add EXAMPLES section; canacar@eee.metu.edu.tr, ok deraadt@


# 1.5 29-Aug-2001 deraadt

kill the -i option; it just causes all sorts of grief; canacar@eee.metu.edu.tr


# 1.4 27-Aug-2001 deraadt

doc improvements; canacar@eee.metu.edu.tr


# 1.3 24-Aug-2001 deraadt

corrections; wouter.clarie@pandora.be


# 1.2 22-Aug-2001 deraadt

clarify tcpdump use; frantzen


# 1.1 21-Aug-2001 deraadt

pflogd; work by canacar@eee.metu.edu.tr and myself


Revision tags: OPENBSD_6_2_BASE
# 1.49 30-May-2017 schwarze

Fix escaping: .Nm Op Fl "Dx" turning into "pflogd [-DragonFly]"
is funny, but not useful, so say .Nm Op Fl \&Dx as required.


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.48 16-Jan-2016 canacar

Interface status printing (at exit and USR1) was broken for a while.
Remove it completely to simplify the code.
even better deraadt@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.47 15-Feb-2015 bentley

Use "In" to mark up include files, instead of wrongly wrapping with Aq.

Aq is not the same as <> in non-ASCII situations, so this caused
incorrect output in some places. And it provided no semantics besides.

ok schwarze@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.46 21-Jan-2014 schwarze

obvious .Pa fixes; found with mandocdb(8)


Revision tags: OPENBSD_5_4_BASE
# 1.45 16-Jul-2013 schwarze

Add missing .Mt macros for AUTHORS email addresses.
From Jan Stary <hans at stare dot cz>.
ok jmc@


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.44 25-Jun-2012 jmc

log all, not log-all; ok henning


Revision tags: OPENBSD_5_1_BASE
# 1.43 12-Oct-2011 henning

default snaplen is 160 these days
From: giovanni <qgiovanni at gmail dot com>


Revision tags: OPENBSD_5_0_BASE
# 1.42 06-May-2011 jmc

put the tcpdump-specific stuff in a sane place (that is, not EXAMPLES);
ok sthen henning


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.41 14-May-2010 schwarze

nowadays, .Dx is callable, so we need to quote it;
ok jmc@ millert@ henning@ kristaps@


Revision tags: OPENBSD_4_7_BASE
# 1.40 03-Dec-2009 sthen

Adjust pflog BPF descriptions, problem pointed out by jmc@

- sync actions with PF changes (pass/block/match not just pass/block,
and remove some binat/nat/rdr entries)

- list all reason codes in tcpdump(8)

ok henning jmc


# 1.39 04-Nov-2009 jmc

tweak previous;


# 1.38 03-Nov-2009 deraadt

Get rid of pflogd.pid because the privsep child cannot delete the pidfile;
use pkill(1) in /etc/newsyslog.conf instead
together with otto and suggestions from tedu


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.37 22-Oct-2008 henning

log pcap stats upon SIGUSR1; ok canacar
From: Dave Harrison <dave@nullcube.com>


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.36 14-Jan-2008 okan

clear up pidfile(-p) option form

tweaked by jmc, ok henning


Revision tags: OPENBSD_4_2_BASE
# 1.35 31-May-2007 jmc

convert to new .Dd format;


# 1.34 07-Apr-2007 jmc

- use .Bk/.Ek to avoid SYNOPSIS splitting
- put -p in the correct place
- sync the -p argument name and tweak its description
- add -p to usage()


# 1.33 06-Apr-2007 canacar

Adds a pidfile argument to pflogd so that individual
instances can be rotated via newsyslog.
From Berk Demir < bdd at mindcast org >
ok henning@


Revision tags: OPENBSD_4_1_BASE
# 1.32 08-Dec-2006 joel

state that if the log file is bad, it is first moved out of the way. if
that fails, then logging is suspended.


# 1.31 06-Dec-2006 mk

style


# 1.30 19-Nov-2006 joel

Default snaplen has been 116 for a while now.


# 1.29 26-Oct-2006 jmc

- sort options
- sync usage()


# 1.28 25-Oct-2006 henning

allow pflogd to listen on alternate pflog interfaces
"Berk D. Demir" <bdd@mindcast.org> sent a diff in private, and then it
evolved quite a bit... ok djm canacar berk


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE
# 1.27 27-May-2005 dhartmei

filtering on ruleset name is already implemented, document it.


# 1.26 14-Apr-2005 joel

sync the list of acceptable values for 'reason' with reality


Revision tags: OPENBSD_3_7_BASE
# 1.25 02-Jan-2005 jmc

"bad-timestamp" is a valid logging reason;
from joel knight;


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.24 16-Jan-2004 jmc

- standard option order
- sync usage()
- new sentence, new line
- Dv (not Va) for signals
- other nits

ok canacar@


# 1.23 15-Jan-2004 canacar

Try to preserve the integrity of the log file in case of errors/unexpected
shutdowns etc. Also check logfile integrity on startup and suspend
logging if an inconsistency is detected.
ok dhartmei@


Revision tags: OPENBSD_3_4_BASE
# 1.22 03-Jun-2003 jmc

- section reorder
- some mdoc fixes


Revision tags: OPENBSD_3_3_BASE
# 1.21 11-Mar-2003 david

mdoc fixes: macros are not allowed inside .Bd -literal blocks
ok deraadt@


# 1.20 24-Feb-2003 henning

to to
found by krause


# 1.19 19-Feb-2003 henning

mdoc-police: officer krause catched one again


# 1.18 14-Feb-2003 henning

and one more tweaking round by krause, thanks!


# 1.17 28-Jan-2003 jmc

typos; added white boldface to examples

ok deraadt@


# 1.16 09-Nov-2002 fgsch

SEE ALSO reordering and corrections.


Revision tags: OPENBSD_3_2_BASE
# 1.15 23-Apr-2002 frantzen

fix grammar in tcpdump example


Revision tags: OPENBSD_3_1_BASE
# 1.14 23-Mar-2002 frantzen

examples of tcpdump filters on pf log fields


# 1.13 28-Feb-2002 dhartmei

Remove the ifconfig line again, it's in pflog(4), which is now linked,
and in pflogd context (started from rc), the interface is up already.


# 1.12 28-Feb-2002 dhartmei

Document ethernet layer expressions.


# 1.11 28-Feb-2002 kjell

Up the pflog0 interface. alphabetize xrefs and add pflog(4)
ok dhartmei@


# 1.10 13-Dec-2001 mpech

o) start new sentence on a new line;
o) wrap long lines;
o) fix bogus .Xr usage;
o) we don't like blank lines;
o) always close .Bl tags;
o) OpenBSD -> .Ox;
o) don't like .Pp before .Ss;

millert@ ok;


# 1.9 06-Dec-2001 deraadt

When you give command examples in a manual page prefix them with
$ command
or
# command
Depending on if is a regular user command, or root-only. Please?


# 1.8 02-Dec-2001 frantzen

document tcpdump on pflog0 to make Theo happy and prove nroff can't kill you
(but damn can it try)


Revision tags: OPENBSD_3_0_BASE
# 1.7 02-Oct-2001 dhartmei

loging -> logging


# 1.6 15-Sep-2001 jakob

add EXAMPLES section; canacar@eee.metu.edu.tr, ok deraadt@


# 1.5 29-Aug-2001 deraadt

kill the -i option; it just causes all sorts of grief; canacar@eee.metu.edu.tr


# 1.4 27-Aug-2001 deraadt

doc improvements; canacar@eee.metu.edu.tr


# 1.3 24-Aug-2001 deraadt

corrections; wouter.clarie@pandora.be


# 1.2 22-Aug-2001 deraadt

clarify tcpdump use; frantzen


# 1.1 21-Aug-2001 deraadt

pflogd; work by canacar@eee.metu.edu.tr and myself