diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2013-11-01 10:42:39 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2013-11-01 10:42:39 +0000 |
commit | 8ee9b40ab798214ce828510135fdf222936d7387 (patch) | |
tree | bf6b2315df9377725500887090285fd7d010e9d5 /sbin | |
parent | bf36fba4206c15ef937cd20791f21528d6935389 (diff) |
altq -> new queue in examples
From: Arto Jonsson <ajonsson at kapsi.fi>
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/iked/iked.conf.5 | 21 | ||||
-rw-r--r-- | sbin/ipsecctl/ipsec.conf.5 | 21 |
2 files changed, 20 insertions, 22 deletions
diff --git a/sbin/iked/iked.conf.5 b/sbin/iked/iked.conf.5 index fc64dd7b5f0..d2aa00b8a42 100644 --- a/sbin/iked/iked.conf.5 +++ b/sbin/iked/iked.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: iked.conf.5,v 1.25 2013/07/16 09:45:28 schwarze Exp $ +.\" $OpenBSD: iked.conf.5,v 1.26 2013/11/01 10:42:38 henning Exp $ .\" .\" Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> .\" Copyright (c) 2004 Mathieu Sauve-Frankel All rights reserved. @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 16 2013 $ +.Dd $Mdocdate: November 1 2013 $ .Dt IKED.CONF 5 .Os .Sh NAME @@ -624,17 +624,16 @@ The following fragment uses queues for all IPsec traffic with special handling for developers and employees: .Bd -literal -offset indent -altq on ix0 cbq bandwidth 1000Mb \e - queue { deflt, developers, employees, ipsec } - queue deflt bandwidth 10% priority 0 cbq(default ecn) - queue developers bandwidth 75% priority 7 cbq(borrow red) - queue employees bandwidth 5% cbq(red) - queue ipsec bandwidth 10% cbq(red) +queue std on ix0 bandwidth 100M +queue deflt parent std bandwidth 10M default +queue developers parent std bandwidth 75M +queue employees parent std bandwidth 5M +queue ipsec parent std bandwidth 10M -pass out on ix0 proto esp queue ipsec +pass out on ix0 proto esp set queue ipsec -pass out on ix0 tagged ipsec-developers.example.com queue developers -pass out on ix0 tagged ipsec-employees.example.com queue employees +pass out on ix0 tagged ipsec-developers.example.com set queue developers +pass out on ix0 tagged ipsec-employees.example.com set queue employees .Ed .Pp The following example assigns the tags in the diff --git a/sbin/ipsecctl/ipsec.conf.5 b/sbin/ipsecctl/ipsec.conf.5 index 0f274fcedff..a0444c67a3f 100644 --- a/sbin/ipsecctl/ipsec.conf.5 +++ b/sbin/ipsecctl/ipsec.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ipsec.conf.5,v 1.143 2013/06/29 09:08:41 jmc Exp $ +.\" $OpenBSD: ipsec.conf.5,v 1.144 2013/11/01 10:42:38 henning Exp $ .\" .\" Copyright (c) 2004 Mathieu Sauve-Frankel All rights reserved. .\" @@ -22,7 +22,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 29 2013 $ +.Dd $Mdocdate: November 1 2013 $ .Dt IPSEC.CONF 5 .Os .Sh NAME @@ -544,17 +544,16 @@ The following fragment uses queues for all IPsec traffic with special handling for developers and employees: .Bd -literal -offset indent -altq on sk0 cbq bandwidth 1000Mb \e - queue { deflt, developers, employees, ipsec } - queue deflt bandwidth 10% priority 0 cbq(default ecn) - queue developers bandwidth 75% priority 7 cbq(borrow red) - queue employees bandwidth 5% cbq(red) - queue ipsec bandwidth 10% cbq(red) +queue std on sk0 bandwidth 100M +queue deflt parent std bandwidth 10M default +queue developers parent std bandwidth 75M +queue employees parent std bandwidth 5M +queue ipsec parent std bandwidth 10M -pass out on sk0 proto esp queue ipsec +pass out on sk0 proto esp set queue ipsec -pass out on sk0 tagged ipsec-developers.bar.org queue developers -pass out on sk0 tagged ipsec-employees.bar.org queue employees +pass out on sk0 tagged ipsec-developers.bar.org set queue developers +pass out on sk0 tagged ipsec-employees.bar.org set queue employees .Ed .Pp The tags will be assigned by the following |