Andrew Magnus said: > > This, of course, brings up a question I've been thinking about. > > Is there a patch that will allow iptables to read into the header for > the presentation layer to filter out, for example, MP3s being > downloaded? The fact you want something at the transport layer to be looking at data at the application layer tells you something is wrong with the approach. This is what proxies are for. > >>From: "hare ram" <hareram@sol.net.in> >>Reply-To: "hare ram" <hareram@sol.net.in> >>To: "Antony Stone" >><Antony@Soft-Solutions.co.uk>,<netfilter@lists.netfilter.org> >>Subject: Re: how to drop MP3 and other Downloads >>Date: Tue, 12 Nov 2002 19:35:14 +0530 >> >>hi some one guided in the news group >> >>---- >>That of course was not the connbytes patch. You can find it at >>http://luxik.cdi.cz/~devik/connbytes/. >> >>You may need some sort of crontab to change the rules as you go. You >>can also use connbytes with the --mark to move all long lived downloads >>to a lower tc class if your doing traffic shaping. >>------ >> >> >>what you think about this >> >>thanks >>hare >>----- Original Message ----- >>From: "Antony Stone" <Antony@Soft-Solutions.co.uk> >>To: <netfilter@lists.netfilter.org> >>Sent: Tuesday, November 12, 2002 6:13 PM >>Subject: Re: how to drop MP3 and other Downloads >> >> >> > On Tuesday 12 November 2002 12:13 pm, hare ram wrote: >> > >> > > Hi all >> > > >> > > i have small application here like >> > > how do the drop all downloads more than 1MB from >> > > the day time >> > > and rest of the time open for all >> > >> > I don't see that netfilter can know a download is going to be more >> > than 1Mbyte before it's already seen a million bytes downloaded... >> > >> > Antony. >> > >> > -- >> > >> > There are two possible outcomes. >> > >> > If the result confirms the hypothesis, then you've made a >> > measurement. If the result is contrary to the hypothesis, then >> > you've made a >>discovery. >> > >> > - Enrico Fermi >> > >> > > > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus Alex www.bennee.com/~alex/