hi,
i find this question and your answer to it in
archive,i
want to do something like this.you recommend that
fetch the document to be able to do content
filtering,i want also to content filterinh http
reply.please let me know where should i start to
prevent from sending reply to clients until i receive
the complete reply and sending it to filter process
and also i want to see the place that squid start
saving something i search for it but i can' find
it.perhaps in httpparseheader function.
thanks in advance.
Re: redirecting, and parseing for content
From: Henrik Nordstrom (hno@hem.passagen.se)
Date: Sun Apr 02 2000 - 13:31:14 MDT
Next message: Henrik Nordstrom: "Re: Code Changes
in squid"
Previous message: Henrik Nordstrom: "Re: Code
Changes in squid"
Messages sorted by: [ date ] [ thread ] [ subject
] [ author ]
David Flynn wrote:
> Can you sugest any one who knows of a way to do
content "filtering"
> efficiently .... as we are only on ISDN and its a
large network, i dont want
> to fetch every type/txt document that is requested
and parse it ... its tooo
> inefficient .... and then i need to redirect the url
...
You must fetch the document to be able to do content
filtering, else you
can only block based on the URL. So first you have to
decide on what you
actually want to acheive here.
Extending Squid to perform this kind of filtering
should not be that
hard, but it has to be done in-process. Squid is
capable to buffer up to
16KB before sending anything to the client and it
should not be that
hard to plug content filtering into this.
It is probably about time to add a set of access
controls based on the
response (both headers and initial body content).
-- Henrik Nordstrom Squid hacker __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/Received on Fri Aug 24 2001 - 09:07:07 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:54 MST