diff options
author | mlaier <mlaier@FreeBSD.org> | 2004-04-02 19:25:27 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2004-04-02 19:25:27 +0000 |
commit | a19995e56292e9934e56cb4c881738c89b6477e3 (patch) | |
tree | 28edc7ced37af17b059964e476d6b4d4db3a2269 /share | |
parent | 688833918a6ad17a8ae6951adcc80656f0235366 (diff) | |
download | FreeBSD-src-a19995e56292e9934e56cb4c881738c89b6477e3.zip FreeBSD-src-a19995e56292e9934e56cb4c881738c89b6477e3.tar.gz |
Add rc.d script to start pflogd and add rcvars etc. Also document vars in
rc.conf(5) and put a sample entry to newsyslog.conf
Reviewed by: -current
Approved by: bms(mentor)
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/rc.conf.5 | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 5957c3b..0430a5a 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -718,6 +718,44 @@ is set to these flags are passed to the .Xr pfctl 8 program when loading the ruleset. +.It Va pflog_enable +.Pq Vt bool +Set to +.Dq Li NO +by default. +Setting this to +.Dq Li YES +enables +.Xr pflogd 8 +which logs packtes from the +.Xr pf 4 +packet filter. +.It Va pflog_logfile +.Pq Vt str +If +.Va pflog_enable +is set to +.Dq Li YES +this controls where +.Xr pflogd 8 +stores the logfile. +(default +.Pa /var/log/pflog ) . +Check +.Pa /etc/newsyslog.conf +to enable logfile rotation for this. +.It Va pflog_program +.Pq Vt str +Path to +.Xr pflogd 8 +(default +.Pa /sbin/pflogd ) . +.It Va pflog_flags +.Pq Vt str +Empty by default. +This variable contains additional flags passed to the +.Xr pflogd 8 +program. .It Va tcp_extensions .Pq Vt bool Set to @@ -2910,6 +2948,7 @@ sessions. .Xr udp 4 , .Xr exports 5 , .Xr motd 5 , +.Xr newsyslog.conf 5 , .Xr accton 8 , .Xr amd 8 , .Xr apm 8 , |