Date: Thu, 6 Nov 2008 16:47:58 -0200 From: Marcelo Araujo <araujobsdport@gmail.com> To: Marcel Grandemange <thavinci@thavinci.za.net> Cc: freebsd-ipfw@FreeBSD.org Subject: Re: TOS/DSCP Message-ID: <20081106184758.GA1514@ponderosa.intelbras.com.br> In-Reply-To: <03a101c93ff9$db7e64b0$927b2e10$@za.net> References: <03a101c93ff9$db7e64b0$927b2e10$@za.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--ikeVEW9yuYc//A+q Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 06, 2008 at 12:24:31PM +0200, Marcel Grandemange wrote: > Good day, >=20 > It would be great if someone could show me an example of how to make ipfw > rules based on TOS. > I have a external box that marks all p2p packets and gives them the TOS of > 8. > What Id like to do is build rules on the bsd machine that can match those > packets with TOS 8.. >=20 > Examples anyone? >=20 Hello dear Marcel, Some time ago I did a research about FreeBSD and QoS. With this research I started to developing and organize some patchs for IPFW, but these aren't finished, however you can use that. About ToS and IPFW: http://code.google.com/p/exports/wiki/ToSWorkAround About DSCP and IPFW: http://code.google.com/p/exports/wiki/DSCPWorkAround It was started also a new user function called *modip* that indeed just together some tools to provide a QoS implementation. Patch of MODIP: http://people.freebsd.org/~araujo/logs/ipfw-modip20080324.diff How you can use that: ipfw add 10 modip tos:lowdelay ip from any to any ipfw add 11 modip dscp:af14 ip from any to any ipfw add 12 modip ippre:flash ip from any to any Bye for now, Best Regards, --=20 Marcelo Araujo araujo@FreeBSD.org http://www.FreeBSD.org The first myth of management is that it exists the second myth of management is that success equals skill. --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFJEzveovxJd1Pkz6gRAs9JAJ91R90Xmm+dx4bdjdpC85oGKMHg0QCePFwQ /xTIaxv4cqQIHhPuelciY/0= =FIss -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081106184758.GA1514>