[squid-users] Re: redirect program technicalities

From: Siddhesh PaiRaikar <siddhesh.pairaikar@dont-contact.us>
Date: Tue, 27 Feb 2007 12:33:21 +0530

---------- Forwarded message ----------
From: Siddhesh PaiRaikar <siddhesh.pairaikar@gmail.com>
Date: Tue, 27 Feb 2007 12:30:50 +0530
Subject: Re: [squid-users] Re: redirect program technicalities
To: Henrik Nordstrom <henrik@henriknordstrom.net>

> >> > On 2/12/07, Siddhesh PaiRaikar <siddhesh.pairaikar@gmail.com> wrote:
> >> >> hi..
> >>> >
> >>> > Can someone please tell me .. that when squid passes on the URL to
> another
> > >>> program such as say squidguard...
> > >>>
> > >>> does it write to stdin or somewhere else... and also wen it gets
> back a URL
> > >>> from the external program.. does it get it on stdout...
>
> > >yes, or it writes to an IPC channel connected to the helpers stdin, and
> > >receives responses on an IPC channel connected to the helpers stdout.
>
> >>> > as when i studied the code of squidguard i found out that squidguard
> writes
> >>> > the URLs to and retrieves them from stdout and stdin respectively
> buti am
> >>> > unable to find that matching code in squid... i tried a lot..
>
> >>redirect.c, calling helper.c functions for talking to the helper, using
> >>ipc.c functions for setting up the communication.
>
 could you please elaborate a little more on the above ... i am yet failing
 to realize the process after so much of studying...

-- 
- Siddhesh
-- 
- Siddhesh
Received on Tue Feb 27 2007 - 00:03:25 MST

This archive was generated by hypermail pre-2.1.9 : Thu Mar 01 2007 - 12:00:01 MST