1997-03-07 02:50:01 +00:00
|
|
|
.\"
|
1999-08-28 00:22:10 +00:00
|
|
|
.\" $FreeBSD$
|
1997-03-07 02:50:01 +00:00
|
|
|
.\"
|
2002-11-29 11:39:20 +00:00
|
|
|
.Dd October 28, 2002
|
2002-10-28 07:24:58 +00:00
|
|
|
.Dt IPFW 4
|
1995-02-17 18:48:36 +00:00
|
|
|
.Os
|
|
|
|
.Sh NAME
|
2002-10-28 07:24:58 +00:00
|
|
|
.Nm ipfw
|
1997-06-23 02:12:21 +00:00
|
|
|
.Nd IP packet filter and traffic accounting
|
1995-02-17 18:48:36 +00:00
|
|
|
.Sh DESCRIPTION
|
2002-11-29 11:39:20 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
system facility allows filtering,
|
|
|
|
redirecting, and other operations on
|
|
|
|
.Tn IP
|
|
|
|
packets travelling through
|
|
|
|
network interfaces.
|
1996-07-11 02:37:59 +00:00
|
|
|
.Pp
|
2002-10-28 07:24:58 +00:00
|
|
|
The user interface for
|
2002-11-29 11:39:20 +00:00
|
|
|
.Nm
|
2002-10-28 07:24:58 +00:00
|
|
|
is implemented by the
|
|
|
|
.Xr ipfw 8
|
2002-11-29 11:39:20 +00:00
|
|
|
utility, so please refer to the
|
|
|
|
.Xr ipfw 8
|
|
|
|
manpage for a complete description of the
|
|
|
|
.Nm
|
|
|
|
capabilities and how to use it.
|
|
|
|
.Ss Kernel Options
|
2002-10-28 07:24:58 +00:00
|
|
|
The following options in the kernel configuration file are related to
|
2002-11-29 11:39:20 +00:00
|
|
|
.Nm
|
2002-10-28 07:24:58 +00:00
|
|
|
operation:
|
2002-11-29 11:39:20 +00:00
|
|
|
.Pp
|
|
|
|
.Bl -tag -width ".Dv IPFIREWALL_VERBOSE_LIMIT" -compact
|
|
|
|
.It Dv IPFIREWALL
|
|
|
|
enable
|
|
|
|
.Nm
|
|
|
|
.It Dv IPFIREWALL_VERBOSE
|
2000-03-07 22:45:32 +00:00
|
|
|
enable
|
|
|
|
.Nm
|
2002-11-29 11:39:20 +00:00
|
|
|
logging
|
|
|
|
.It Dv IPFIREWALL_VERBOSE_LIMIT
|
|
|
|
limit
|
|
|
|
.Nm
|
|
|
|
logging
|
|
|
|
.It Dv IPDIVERT
|
2000-03-07 22:45:32 +00:00
|
|
|
enable
|
|
|
|
.Xr divert 4
|
|
|
|
sockets
|
|
|
|
.El
|
1995-02-17 18:48:36 +00:00
|
|
|
.Sh SEE ALSO
|
1996-07-11 02:37:59 +00:00
|
|
|
.Xr setsockopt 2 ,
|
1997-06-23 02:12:21 +00:00
|
|
|
.Xr divert 4 ,
|
1997-09-29 10:11:02 +00:00
|
|
|
.Xr ip 4 ,
|
1997-06-23 02:12:21 +00:00
|
|
|
.Xr ipfw 8 ,
|
2001-02-22 09:12:44 +00:00
|
|
|
.Xr sysctl 8 ,
|
2004-08-19 18:04:10 +00:00
|
|
|
.Xr syslogd 8 ,
|
|
|
|
.Xr pfil 9
|