diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-23 10:32:01 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-23 10:32:01 +0000 |
commit | 77614a53d140589048bab0c7f11f093ef9a825e0 (patch) | |
tree | be3205fb85fd30ce50e4c54baae983e0a5770a7b /sbin/ifconfig/ifconfig.8 | |
parent | 53fc170db0896d251f8be8d909ca38cf9ba8c81e (diff) |
correct bridge rule descriptions
Diffstat (limited to 'sbin/ifconfig/ifconfig.8')
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index a27b8aa7ad8..631a5e35b7e 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ifconfig.8,v 1.190 2009/11/22 22:29:43 claudio Exp $ +.\" $OpenBSD: ifconfig.8,v 1.191 2009/11/23 10:32:00 deraadt Exp $ .\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $ .\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $ .\" @@ -31,7 +31,7 @@ .\" .\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94 .\" -.Dd $Mdocdate: November 22 2009 $ +.Dd $Mdocdate: November 23 2009 $ .Dt IFCONFIG 8 .Os .Sh NAME @@ -465,18 +465,9 @@ and .El .\" BRIDGE .Sh BRIDGE -.Nm ifconfig -.Bk -words -.Ar bridge-interface Cm rule No { -.Cm block | pass No } { -.Cm in | out | in/out No } Cm on -.Ar interface -.Op Cm src Ar address -.Op Cm dst Ar address -.Op Cm tag Ar tagname -.Ek -.Pp -The options are as follows: +Bridges have many configuration options as well as a rudimentary +filtering language. +They are as follows: .Bl -tag -width Ds .It Cm add Ar interface Add @@ -687,7 +678,7 @@ Disable point-to-point link status on This should be disabled for a half duplex link and for an interface connected to a shared network segment, like a hub or a wireless network. -.It Cm rule Op Ar rulespec +.It Cm rule Ar "{ block|pass } { in|out| } on interface [src address] [dst address] [tag tagname]" Add a filtering rule to an interface. Rules have a similar syntax to those in .Xr pf.conf 5 . |