Re: viewing files in the process of downloading

From: <alowe@dont-contact.us>
Date: Tue, 6 Jun 2000 23:04:01 +1000 (EST)

if you just want to stop a user from downloading mp3's etc... then a
re-director will do the job:

somthing like
if url contains *.mp3*
        return error.html
else
        return \n

should do the trick... a bit more code then that but basically it...

if you want to actually see the url it is a bit harder, im not sure if you
can, but a redirector that logs each url as requested should do the trick,
add a line that prints the url to a file or console while it runs.. not
sure if it would work but because you usually have 6 or more redirector
processes..

watching the cache would not be a fun job for someone to do.... and you
probably would not notice it all going through..

Andrew Lowe
andrew@pccentre.com.au
        The South Coast Professional Computing Centre
                + Hislora Website Hosting & Design
                + Daly & Daly Computer Training
                + Flatearth Internet Cafe
        Ph: 02 4423 7771
        Fax: 02 4423 7772
        email: sales@pccentre.com.au

On Tue, 6 Jun 2000, Michael Vincent K. Pozon - CompE wrote:

>
> hi,
> i was wondering if it is possible to monitor or view the files
> squid is currently downloading ... like for example .. some user is
> downloading a file from a HTTP server via squid.. the access.log only logs
> the file downloaded after the file is finish downloaded.
> basically , i want to cut those downloaders who are downloading certain
> files especially mp3s. is there any way to automatically and manually do
> this ?
>
> and if it possible to view the the file being downloaded or cached, how do
> i tell squid to stop/cut that certain download ? .. please help ...
>
> thanks ..
> mike
>
Received on Tue Jun 06 2000 - 06:27:55 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:56 MST