mån 2003-08-04 klockan 18.02 skrev Luis Fernando Robledano Esteban:
> I've no experience with SQUID code, but im interested in inserting just
> some code. The idea is to catch the client request, and then call to a
> content-filtering application. Seeing SQUID programmer's guide I've found
> the "Flow of a Typical Request", nevertheless the function's names seems
> not to be in the code.
The functions are a bit spread out in client_side*.cc.
> My intention is to operate, after access controls are verified, and before
> cache hit checking; although probably the easiest first step is just to
> catch up the request right after the client request arrives.
> Please, can anybody tell me which functions or pieces of are involved?
If you only need access to the URL or request headers then using the
redirector or external acl interfaces works well for this purpose.
If you need access to request/reply body data then ICAP is the way to
go. Still needs a little of work before really usable in Squid however,
but the current implementation works well as point of proof.
http://devel.squid-cache.org/icap/
Regards
Henrik
-- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org Please consult the Squid FAQ and other available documentation before asking Squid questions, and use the squid-users mailing-list when no answer can be found. Private support questions is only answered for a fee or as part of a commercial Squid support contract. If you need commercial Squid support or cost effective Squid and firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, info@marasystems.comReceived on Mon Aug 04 2003 - 10:53:59 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:26 MST