Skip to contentSkip to conversation

how to drop MP3 and other Downloads

DISCUSSION Andrew Magnus 2 participants 2 messages Nov 13, 2002

lore
Share & tools
lore
#0 lore raw

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?

Thanks.

Quoted 43 lines

From: "hare ram" <[email protected]>
Reply-To: "hare ram" <[email protected]>
To: "Antony Stone" <[email protected]>,<[email protected]>
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" <[email protected]>
To: <[email protected]>
Sent: Tuesday, November 12, 2002 6:13 PM
Subject: Re: how to drop MP3 and other Downloads

Quoted 14 lines · hare ram
Quoted 7 lines

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.

Quoted 11 lines
Quoted 6 lines

--

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.

Quoted 4 lines

- Enrico Fermi

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus

#1 lore raw
Quoted 6 lines · Andrew Magnus

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.

Quoted 54 lines
Quoted 54 lines

From: "hare ram" <[email protected]>
Reply-To: "hare ram" <[email protected]>
To: "Antony Stone" <[email protected]>,<[email protected]>
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" <[email protected]>
To: <[email protected]>
Sent: Tuesday, November 12, 2002 6:13 PM
Subject: Re: how to drop MP3 and other Downloads

Quoted 14 lines · hare ram
Quoted 7 lines

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.

Quoted 7 lines

--

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.

Quoted 1 line
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines

- 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/