Zero Sized Reply instead of messages for sites in blocked category.



  • Hi i have implemented squid proxy in transparent mode. And blocked all p0rn sites using squidguard and shella list. While the message configured is displayed in most sites for some sites users get below error when accessing sites in blocked category.

    Though they are not able to open the site but the configured error message is not displayed.

    Please help.

    ERROR
    The requested URL could not be retrieved
    While trying to retrieve the URL: http://192.168.4.10:7141/sgerror.php?
    The following error was encountered:
    Zero Sized Reply
    Squid did not receive any data for this request.
    Your cache administrator is admin@localhost.
    Generated Sun, 03 Jan 2016 17:23:15 GMT by PTCL (squid/2.7.STABLE9)



  • Little update
    As soon as I disabled https  proper error  message was displayed for blocked sites.
    I am using 7174 for webui.

    Not the question is how to make it work without compromising on security by disabling https



  • @Snailkhan:

    Little update
    As soon as I disabled https  proper error  message was displayed for blocked sites.
    I am using 7174 for webui.

    Now the question is how to make it work without compromising on security by disabling https

    Not the question is how to make it work without compromising on security by disabling https



  • I could not find a resolution to it.
    How can I make proxy display correct message while https management is enabled



  • Any idea?


Log in to reply