ipfw.8 (259697) | ipfw.8 (266941) |
---|---|
1.\" | 1.\" |
2.\" $FreeBSD: head/sbin/ipfw/ipfw.8 259697 2013-12-21 21:56:12Z crees $ | 2.\" $FreeBSD: head/sbin/ipfw/ipfw.8 266941 2014-06-01 07:28:24Z hiren $ |
3.\" | 3.\" |
4.Dd October 25, 2012 | 4.Dd May 31, 2014 |
5.Dt IPFW 8 6.Os 7.Sh NAME 8.Nm ipfw 9.Nd User interface for firewall, traffic shaper, packet scheduler, 10in-kernel NAT. 11.Sh SYNOPSIS 12.Ss FIREWALL CONFIGURATION --- 2423 unchanged lines hidden (view full) --- 2436.Xr sysctl 8 2437variables 2438.Em net.inet.ip.dummynet.pipe_byte_limit 2439and 2440.Em net.inet.ip.dummynet.pipe_slot_limit 2441control the maximum lengths that can be specified. 2442.Pp 2443.It Cm red | gred Ar w_q Ns / Ns Ar min_th Ns / Ns Ar max_th Ns / Ns Ar max_p | 5.Dt IPFW 8 6.Os 7.Sh NAME 8.Nm ipfw 9.Nd User interface for firewall, traffic shaper, packet scheduler, 10in-kernel NAT. 11.Sh SYNOPSIS 12.Ss FIREWALL CONFIGURATION --- 2423 unchanged lines hidden (view full) --- 2436.Xr sysctl 8 2437variables 2438.Em net.inet.ip.dummynet.pipe_byte_limit 2439and 2440.Em net.inet.ip.dummynet.pipe_slot_limit 2441control the maximum lengths that can be specified. 2442.Pp 2443.It Cm red | gred Ar w_q Ns / Ns Ar min_th Ns / Ns Ar max_th Ns / Ns Ar max_p |
2444[ecn] |
|
2444Make use of the RED (Random Early Detection) queue management algorithm. 2445.Ar w_q 2446and 2447.Ar max_p 2448are floating | 2445Make use of the RED (Random Early Detection) queue management algorithm. 2446.Ar w_q 2447and 2448.Ar max_p 2449are floating |
2449point numbers between 0 and 1 (0 not included), while | 2450point numbers between 0 and 1 (inclusive), while |
2450.Ar min_th 2451and 2452.Ar max_th 2453are integer numbers specifying thresholds for queue management 2454(thresholds are computed in bytes if the queue has been defined 2455in bytes, in slots otherwise). | 2451.Ar min_th 2452and 2453.Ar max_th 2454are integer numbers specifying thresholds for queue management 2455(thresholds are computed in bytes if the queue has been defined 2456in bytes, in slots otherwise). |
2456The | 2457The two parameters can also be of the same value if needed. The |
2457.Nm dummynet | 2458.Nm dummynet |
2458also supports the gentle RED variant (gred). 2459Three | 2459also supports the gentle RED variant (gred) and ECN (Explicit Congestion 2460Notification) as optional. Three |
2460.Xr sysctl 8 2461variables can be used to control the RED behaviour: 2462.Bl -tag -width indent 2463.It Va net.inet.ip.dummynet.red_lookup_depth 2464specifies the accuracy in computing the average queue 2465when the link is idle (defaults to 256, must be greater than zero) 2466.It Va net.inet.ip.dummynet.red_avg_pkt_size 2467specifies the expected average packet size (defaults to 512, must be --- 1009 unchanged lines hidden --- | 2461.Xr sysctl 8 2462variables can be used to control the RED behaviour: 2463.Bl -tag -width indent 2464.It Va net.inet.ip.dummynet.red_lookup_depth 2465specifies the accuracy in computing the average queue 2466when the link is idle (defaults to 256, must be greater than zero) 2467.It Va net.inet.ip.dummynet.red_avg_pkt_size 2468specifies the expected average packet size (defaults to 512, must be --- 1009 unchanged lines hidden --- |