Search squid archive

Redirector problems with squid 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm currently upgrading Squid and Smartfilter to a supported combination of squid 2.6STABLE18 + Smartfilter 4.2.1.  Included in this mix is a redirection program, written in c.  The redirection program was written to intercept all proxy requests and query LDAP to check if the user has accepted Internet usage terms and conditions.  If the user has not accepted or needs to re-confirm acceptance, the browser is redirected to the terms and conditions website.  If the user has a valid acceptance record then they can continue on the requested website.   

The redirector program reads from buffered stdout, queries LDAP and writes back to stdout using fprintf.  This worked in squid 2.5, but using squid 2.6, the browser appears to timeout with no error reported back to the user.  There is no log entry in the access.log, but there is a log entry in store.log that looks like the following:

1204259653.333 RELEASE -1 FFFFFFFF AF6C1D6C4B3CEF474FB849A84B6F9371  200 1204256053 1204256053 1204259653 application/cache-digest 817/817 GET internal://xxx.xxx.xxx.xxx/squid-internal-periodic/store_digest

It appears to me that squid 2.6 is not receiving the output back from the redirector.  Can you please advise how I can troubleshoot this further?

Thanks,

Jonne.



iDivision Security Team
Brisbane City Council

Ph: 07 3403 6918
Email: jonne.hannon@xxxxxxxxxxxxxxxxxxx
Visit http://www.brisbane.qld.gov.au



**********************************************************************
   This message has passed through an insecure network.
    Please direct all enquiries to the message author.
**********************************************************************


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux