OpenBSD CVS

CVS log for src/sbin/pflogd/pflogd.8


[BACK] Up to [local] / src / sbin / pflogd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.51 / (download) - annotate - [select for diffs], Fri Aug 30 17:51:47 2019 UTC (4 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, HEAD
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

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

Revision 1.50 / (download) - annotate - [select for diffs], Sun Aug 26 18:24:46 2018 UTC (5 years, 9 months ago) by brynet
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.49: +4 -5 lines
Diff to previous 1.49 (colored)

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 1.49 / (download) - annotate - [select for diffs], Tue May 30 17:15:06 2017 UTC (7 years ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

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

Revision 1.48 / (download) - annotate - [select for diffs], Sat Jan 16 03:17:48 2016 UTC (8 years, 4 months ago) by canacar
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.47: +2 -9 lines
Diff to previous 1.47 (colored)

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

Revision 1.47 / (download) - annotate - [select for diffs], Sun Feb 15 22:26:45 2015 UTC (9 years, 3 months ago) by bentley
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

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 1.46 / (download) - annotate - [select for diffs], Tue Jan 21 03:15:45 2014 UTC (10 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

obvious .Pa fixes; found with mandocdb(8)

Revision 1.45 / (download) - annotate - [select for diffs], Tue Jul 16 09:45:28 2013 UTC (10 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

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

Revision 1.44 / (download) - annotate - [select for diffs], Mon Jun 25 11:49:19 2012 UTC (11 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.43: +6 -4 lines
Diff to previous 1.43 (colored)

log all, not log-all; ok henning

Revision 1.43 / (download) - annotate - [select for diffs], Wed Oct 12 10:33:29 2011 UTC (12 years, 7 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

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

Revision 1.42 / (download) - annotate - [select for diffs], Fri May 6 18:30:43 2011 UTC (13 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.41: +35 -36 lines
Diff to previous 1.41 (colored)

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

Revision 1.41 / (download) - annotate - [select for diffs], Fri May 14 18:17:02 2010 UTC (14 years ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

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

Revision 1.40 / (download) - annotate - [select for diffs], Thu Dec 3 12:45:05 2009 UTC (14 years, 6 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.39: +5 -5 lines
Diff to previous 1.39 (colored)

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

Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 4 08:07:52 2009 UTC (14 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.38: +2 -3 lines
Diff to previous 1.38 (colored)

tweak previous;

Revision 1.38 / (download) - annotate - [select for diffs], Tue Nov 3 20:47:41 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.37: +2 -12 lines
Diff to previous 1.37 (colored)

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 1.37 / (download) - annotate - [select for diffs], Wed Oct 22 08:16:49 2008 UTC (15 years, 7 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.36: +9 -2 lines
Diff to previous 1.36 (colored)

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

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jan 14 17:03:42 2008 UTC (16 years, 4 months ago) by okan
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.35: +7 -8 lines
Diff to previous 1.35 (colored)

clear up pidfile(-p) option form

tweaked by jmc, ok henning

Revision 1.35 / (download) - annotate - [select for diffs], Thu May 31 19:19:47 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

convert to new .Dd format;

Revision 1.34 / (download) - annotate - [select for diffs], Sat Apr 7 07:48:50 2007 UTC (17 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.33: +11 -7 lines
Diff to previous 1.33 (colored)

- 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()

Revision 1.33 / (download) - annotate - [select for diffs], Fri Apr 6 16:30:49 2007 UTC (17 years, 2 months ago) by canacar
Branch: MAIN
Changes since 1.32: +8 -1 lines
Diff to previous 1.32 (colored)

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 1.32 / (download) - annotate - [select for diffs], Fri Dec 8 10:26:38 2006 UTC (17 years, 5 months ago) by joel
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.31: +4 -2 lines
Diff to previous 1.31 (colored)

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

Revision 1.31 / (download) - annotate - [select for diffs], Wed Dec 6 17:58:29 2006 UTC (17 years, 5 months ago) by mk
Branch: MAIN
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored)

style

Revision 1.30 / (download) - annotate - [select for diffs], Sun Nov 19 22:30:24 2006 UTC (17 years, 6 months ago) by joel
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Default snaplen has been 116 for a while now.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Oct 26 13:34:47 2006 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.28: +3 -2 lines
Diff to previous 1.28 (colored)

- sort options
- sync usage()

Revision 1.28 / (download) - annotate - [select for diffs], Wed Oct 25 20:20:19 2006 UTC (17 years, 7 months ago) by henning
Branch: MAIN
Changes since 1.27: +20 -3 lines
Diff to previous 1.27 (colored)

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 1.27 / (download) - annotate - [select for diffs], Fri May 27 20:27:17 2005 UTC (19 years ago) by dhartmei
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.26: +4 -2 lines
Diff to previous 1.26 (colored)

filtering on ruleset name is already implemented, document it.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Apr 14 03:45:03 2005 UTC (19 years, 1 month ago) by joel
Branch: MAIN
Changes since 1.25: +4 -2 lines
Diff to previous 1.25 (colored)

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

Revision 1.25 / (download) - annotate - [select for diffs], Sun Jan 2 18:15:02 2005 UTC (19 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.24: +3 -2 lines
Diff to previous 1.24 (colored)

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

Revision 1.24 / (download) - annotate - [select for diffs], Fri Jan 16 10:45:49 2004 UTC (20 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.23: +20 -20 lines
Diff to previous 1.23 (colored)

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

ok canacar@

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jan 15 20:15:14 2004 UTC (20 years, 4 months ago) by canacar
Branch: MAIN
Changes since 1.22: +14 -1 lines
Diff to previous 1.22 (colored)

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 1.22 / (download) - annotate - [select for diffs], Tue Jun 3 13:16:08 2003 UTC (21 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.21: +11 -11 lines
Diff to previous 1.21 (colored)

- section reorder
- some mdoc fixes

Revision 1.21 / (download) - annotate - [select for diffs], Tue Mar 11 07:10:04 2003 UTC (21 years, 2 months ago) by david
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.20: +5 -9 lines
Diff to previous 1.20 (colored)

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

Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 24 09:30:39 2003 UTC (21 years, 3 months ago) by henning
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

to to
found by krause

Revision 1.19 / (download) - annotate - [select for diffs], Wed Feb 19 10:29:37 2003 UTC (21 years, 3 months ago) by henning
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

mdoc-police: officer krause catched one again

Revision 1.18 / (download) - annotate - [select for diffs], Fri Feb 14 09:46:09 2003 UTC (21 years, 3 months ago) by henning
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

and one more tweaking round by krause, thanks!

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 28 10:40:21 2003 UTC (21 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.16: +18 -10 lines
Diff to previous 1.16 (colored)

typos; added white boldface to examples

ok deraadt@

Revision 1.16 / (download) - annotate - [select for diffs], Sat Nov 9 00:57:20 2002 UTC (21 years, 6 months ago) by fgsch
Branch: MAIN
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 (colored)

SEE ALSO reordering and corrections.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Apr 23 23:09:51 2002 UTC (22 years, 1 month ago) by frantzen
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

fix grammar in tcpdump example

Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 23 01:38:17 2002 UTC (22 years, 2 months ago) by frantzen
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.13: +30 -18 lines
Diff to previous 1.13 (colored)

examples of tcpdump filters on pf log fields

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 28 23:31:12 2002 UTC (22 years, 3 months ago) by dhartmei
Branch: MAIN
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

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.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Feb 28 22:27:33 2002 UTC (22 years, 3 months ago) by dhartmei
Branch: MAIN
Changes since 1.11: +21 -1 lines
Diff to previous 1.11 (colored)

Document ethernet layer expressions.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 28 22:19:47 2002 UTC (22 years, 3 months ago) by kjell
Branch: MAIN
Changes since 1.10: +5 -3 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 13 20:16:48 2001 UTC (22 years, 5 months ago) by mpech
Branch: MAIN
Changes since 1.9: +4 -2 lines
Diff to previous 1.9 (colored)

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;

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 6 03:58:29 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

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?

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 2 00:14:26 2001 UTC (22 years, 6 months ago) by frantzen
Branch: MAIN
Changes since 1.7: +7 -1 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Tue Oct 2 16:02:09 2001 UTC (22 years, 8 months ago) by dhartmei
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

loging -> logging

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 15 14:03:06 2001 UTC (22 years, 8 months ago) by jakob
Branch: MAIN
Changes since 1.5: +12 -1 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Wed Aug 29 17:42:28 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +3 -9 lines
Diff to previous 1.4 (colored)

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

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 27 17:36:53 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +10 -3 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 24 19:39:19 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

corrections; wouter.clarie@pandora.be

Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 22 16:15:00 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 (colored)

clarify tcpdump use; frantzen

Revision 1.1 / (download) - annotate - [select for diffs], Tue Aug 21 22:29:14 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.