From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Sun, 27 Jan 2002 08:47:13 +0000 Subject: Re: [LARTC] traffic shaping Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Friday 25 January 2002 09:11, Antonis Lazaridis wrote: > Hello again, > > i have another question. > > Is there any way to shape traffic according to file types or directories? > Something like: > access to files in folderA can have 10Mbps, > access to files in forderB can have 5Mbps. > > Possible? I think it's possible. There is a ftp-helper for iptables that can mark all ftp-data because it's smart enough to recoginise the ftp-data path. You can do the same : write a helper that can read the data-stream and that can recognize for instance the attachements of emails. Once you can do this, you can mark these packets and shape them. I don't know if this is possible, I'm not a kernel/iptabes guru, but there are other people on this list that can say "Stef, you are stupid" or "hey, I will write this for you" ;-) Anyway, it's not possible with the tools we have right now. Stef -- stef.coene@docum.org More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/