Date: Mon, 26 May 2014 19:01:55 +0200 From: Luigi Rizzo <rizzo@iet.unipi.it> To: Patrick Zwickl <patrick.zwickl@gmail.com> Cc: freebsd-ipfw@freebsd.org Subject: Re: Dummynet pipe cascades Message-ID: <20140526170155.GB40172@onelab2.iet.unipi.it> In-Reply-To: <A2748CD1-3860-416F-9569-F17933234054@gmail.com> References: <A2748CD1-3860-416F-9569-F17933234054@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 23, 2014 at 03:53:18PM +0200, Patrick Zwickl wrote: > Dear all, > > I am currently experimenting with ipfw dummynet features (coming rather from the netem tc corner; so being new to dummynet and apologise for these kind of questions) and was wondering how to syntactically achieve "build cascades of pipes? listed on [1]?s front page. Unfortunately, I could not find a minimal example for this in the documentation (or I missed the point). > > Background: I am currently looking for concepts allowing me to put some traffic into a pipe being followed by several queues, the scheduler and then reinserted into another pipe (optimally as clean as possible). So, basically, a cascade of pipes, optimally being able to consume from different other pipes or interfaces. From the statement in [1], I assume ipfw + dummynet could be the perfect playground for this, but from the syntax it was not clear to me how this is done. > > Any pointer to a minimal example or any reading recommendation would be highly appreciated (maybe I have been searching the wrong channels so far). Thanks in advance for reading and potentially commenting :) the trick to enable cascades is to set the sysctl variable net.inet.ip.fw.one_pass=0 (or equivalent in linux, /sys/modules/...) so that packets coming out from a pipe re-enter the firewall at the next rule. cheers luigi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140526170155.GB40172>