Date: Mon, 27 Apr 1998 11:41:33 +0200 (MET DST) From: Luigi Rizzo <luigi@labinfo.iet.unipi.it> To: julian@whistle.com (Julian Elischer) Cc: hackers@FreeBSD.ORG Subject: Re: RFC: IPFW/DIVERT change suggestion. Message-ID: <199804270941.LAA24888@labinfo.iet.unipi.it> In-Reply-To: <Pine.BSF.3.95.980427032227.9072A-100000@current1.whistle.com> from "Julian Elischer" at Apr 27, 98 03:39:17 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > i think the most reasonable view of the "divert" process is to see > > it as a graph where a pkt is forwarded. So we need to associate ... > The trouble with this approach is that the filter program needs to be able > to specify where to go, as it might generate 2 packets from one incoming > > Also where would you store that information while the packet is out in > user-land? This what why I suggested keeping info in the kernel > for the last N packets (option 2). But I'm not crazy about that idea. i don't see the problem. In any case the pointer to the rule that you wanted to add to the mbuf header does the job nicely, it seems to me. > what about a filter that looks at packets and makes a decision to send it > back to one of 2 differnt rules? this is exactly it: one rule is the next in numeric order, the other one is the one specified by the rule. > How do your results look for incoming control? > what do you use for policy? (which sessions get what bandwidth?) dummynet was written for testing purposes, not for bw policing. But it has bounded size buffers so packets are dropped after a while. cheers luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804270941.LAA24888>