diff options
author | yar <yar@FreeBSD.org> | 2005-10-02 18:59:02 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2005-10-02 18:59:02 +0000 |
commit | 327895a26d00e4a20e74f7f0f563dbda350408fa (patch) | |
tree | 06f160b8333b1fa086d351d997b7534badaf42fb /share | |
parent | 57ff4e8e87ba086a7cc0b2bb654094221fa7ed55 (diff) | |
download | FreeBSD-src-327895a26d00e4a20e74f7f0f563dbda350408fa.zip FreeBSD-src-327895a26d00e4a20e74f7f0f563dbda350408fa.tar.gz |
Add an rc.d script to start pfsync at the right moment of the
system boot, and hook it up in the system.
The separate script is needed because in the presence of various
interface lists in rc.conf ($network_interfaces, $cloned_interfaces,
$sppp_interfaces, $gif_interfaces, more to come) it is hard to start
them orderly, so that pfsync is brought up after its syncdev, which
is required for the proper startup of pfsync.
Discussed with: mlaier on -pf
MFC after: 5 days
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man5/rc.conf.5 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index cb4b0a3..93862ed 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -785,6 +785,38 @@ Empty by default. This variable contains additional flags passed to the .Xr pflogd 8 program. +.It Va pfsync_enable +.Pq Vt bool +Set to +.Dq Li NO +by default. +Setting this to +.Dq Li YES +enables exposing +.Xr pf 4 +state changes to other hosts over the network by means of +.Xr pfsync 4 . +The +.Va pfsync_syncdev +variable +must also be set then. +.It Va pfsync_syncdev +.Pq Vt str +Empty by default. +This variable specifies the name of the network interface +.Xr pfsync 4 +should operate through. +It must be set accordingly if +.Va pfsync_enable +is set to +.Dq Li YES . +.It Va pfsync_ifconfig +.Pq Vt str +Empty by default. +This variable can contain additional options to be passed to the +.Xr ifconfig 8 +command used to set up +.Xr pfsync 4 . .It Va tcp_extensions .Pq Vt bool Set to @@ -3323,6 +3355,7 @@ device and the mount point will be changed. .Xr kld 4 , .Xr pf 4 , .Xr pflog 4 , +.Xr pfsync 4 , .Xr tcp 4 , .Xr udp 4 , .Xr exports 5 , |