Skip to contentSkip to conversation

download stopper

DISCUSSION varun 3 participants 3 messages May 13, 2006 – May 14, 2006 netfilter

lore
Share & tools
lore

varun

author
#0 lore raw

Hi,

Can anyone suggest me a way in which i can stop http downloads
but not http traffic.
Say iam browsing and downloading a file from internet...my
traffic will go through the gateway. Is there anyway i
as a admin stop the download only but not the other http
traffic.Any suggestions?

Varun

#1 lore raw

--- varun <[email protected]> ha scritto:

Quoted 3 lines

Can anyone suggest me a way in which i can
stop http downloads
but not http traffic.

Your request is ambiguous: how do you distinguish between
(what you defined) file traffic and other http traffic?
A way to do that is checking download file name, but it's hard to entrust on it.
Anyway if you want something like this, i think there's nothing ready out of the box but you've to implement it, for example on top on libnfnetlink.

Good luck,

Valerio

#2 lore raw
In reply to varun

You can use L7 filtering to filter by file types
(http://l7-filter.sourceforge.net/protocols) or limit the size of the download (using something like
http://www.lowth.com/rope/HttpContentLength) to allow the normal html files, graphics etc.

Quoted 13 lines · varun

Hi,

Can anyone suggest me a way in which i can stop http downloads
but not http traffic.
Say iam browsing and downloading a file from internet...my
traffic will go through the gateway. Is there anyway i
as a admin stop the download only but not the other http
traffic.Any suggestions?

Varun