[5.001] Web still not working

I am running the web proxy in transparent mode, didn't bother to test other modes since the issues in transparent mode have not been resovled.

Basically this doesn't work at all.  I can load web pages for a couple of minutes after truning it on then everything gets can't connect or just hangs.

When running an apt-get update I got the following messages:

Failed to fetch http://security.debian.org/dists/stable/updates/main/binary-i386/Packages  Could not connect to security.debian.org:80 (194.109.137.218). - connect (111 Connection refused)
Failed to fetch http://security.debian.org/dists/stable/updates/main/binary-i386/Release  Could not connect to security.debian.org:80 (194.109.137.218). - connect (111 Connection refused)

I turned off the proxy and apt-get update worked fine.

This issue has been there since i started testing the 4.770 version with no change.  I have also noticed it is not on the known issue list even though it appears to be well documented in this forum.
Parents
  • Hi there, 

    plz let me shade some light into the HTTP-Proxy issue.

    As you might have recognized that astaro has added a content filter framework 
    to handle different Sercure Content Management methods, one of the is Virus Scanning.
    But all those content scanners have one drawback, they can only work on files, not on streams.
    Therefore we need to download the whole file prior beeing able to scan it.

    On the other hand it is not satisfactionary for customers to wait 10 minutes 
    while the browser is doing nothing until the firewall has downloaded and scannned the file, 
    without having any progress bar or feeddback about the status.
    We addressed this by serving an HTML Progress bar.
    This is only done, if the downloaded file exceeds a certain file size.  (appr. 1MB)

    In order to not break any non browser HTTP clients, we also return a certain error code 
    'Content temporarily not available', which should tell them to wait a little bit and try again. 
    But no all clients behave that way. I assume apt-get is one of them.
    If you disable the content filter it will work as before, but without virus scanning.

    We are working on more sophisticated detection mechanism so we know if the client supports an HTML status page or not.

    I hope this helps to understand the problem, 

    Regards
    Gert
  • Gert,

    HOw about the random restarting of squid that is becoming a frequent post?
    https://community.sophos.com/products/unified-threat-management/astaroorg/f/54/t/40313

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • Hi,

    I think I have the same problem, after Starting squid, it is shuting down and resarting. So a few seconds, I can access the Internet, then there is the message that squid is currently shutting down, then nothing, and so on:

    (It is also 5.001)

    Squid.log:
    2004:04:13-13:05:34 (none) squid[5977]: Starting Squid Cache version 2.5.STABLE4 for i686-pc-linux-gnu...
    2004:04:13-13:05:34 (none) squid[5977]: Process ID 5977
    2004:04:13-13:05:34 (none) squid[5977]: With 1024 file descriptors available
    2004:04:13-13:05:34 (none) squid[5977]: DNS Socket created at 127.0.0.1, port 32772, FD 5
    2004:04:13-13:05:34 (none) squid[5977]: Adding nameserver 127.0.0.1 from /etc/resolv.conf
    2004:04:13-13:05:34 (none) squid[5972]: Squid Parent: child process 5977 started
    2004:04:13-13:05:34 (none) squid[5977]: Unlinkd pipe opened on FD 10
    2004:04:13-13:05:34 (none) squid[5977]: Swap maxSize 4288512 KB, estimated 329885 objects
    2004:04:13-13:05:34 (none) squid[5977]: Target number of buckets: 16494
    2004:04:13-13:05:34 (none) squid[5977]: Using 32768 Store buckets
    2004:04:13-13:05:34 (none) squid[5977]: Max Mem  size: 8192 KB
    2004:04:13-13:05:34 (none) squid[5977]: Max Swap size: 4288512 KB
    2004:04:13-13:05:34 (none) squid[5977]: Rebuilding storage in /cache (CLEAN)
    2004:04:13-13:05:34 (none) squid[5977]: Using Least Load store dir selection
    2004:04:13-13:05:34 (none) squid[5977]: Set Current Directory to /cache
    2004:04:13-13:05:34 (none) squid[5977]: Loaded Icons.
    2004:04:13-13:05:34 (none) squid[5977]: Accepting HTTP connections at 0.0.0.0, port 3128, FD 12.
    2004:04:13-13:05:34 (none) squid[5977]: WCCP Disabled.
    2004:04:13-13:05:34 (none) squid[5977]: Ready to serve requests.
    2004:04:13-13:05:34 (none) squid[5977]: Done reading /cache swaplog (105 entries)
    2004:04:13-13:05:34 (none) squid[5977]: Finished rebuilding storage from disk.
    2004:04:13-13:05:34 (none) squid[5977]:       105 Entries scanned
    2004:04:13-13:05:34 (none) squid[5977]:         0 Invalid entries.
    2004:04:13-13:05:34 (none) squid[5977]:         0 With invalid flags.
    2004:04:13-13:05:34 (none) squid[5977]:       105 Objects loaded.
    2004:04:13-13:05:34 (none) squid[5977]:         0 Objects expired.
    2004:04:13-13:05:34 (none) squid[5977]:         0 Objects cancelled.
    2004:04:13-13:05:34 (none) squid[5977]:         0 Duplicate URLs purged.
    2004:04:13-13:05:34 (none) squid[5977]:         0 Swapfile clashes avoided.
    2004:04:13-13:05:34 (none) squid[5977]:   Took 0.3 seconds ( 384.5 objects/sec).
    2004:04:13-13:05:34 (none) squid[5977]: Beginning Validation Procedure
    2004:04:13-13:05:34 (none) squid[5977]:   Completed Validation Procedure
    2004:04:13-13:05:34 (none) squid[5977]:   Validated 105 Entries
    2004:04:13-13:05:34 (none) squid[5977]:   store_swap_size = 708k
    2004:04:13-13:05:36 (none) squid[5977]: storeLateRelease: released 0 objects
    2004:04:13-13:05:51 (none) squid[5977]: Preparing for shutdown after 0 requests
    2004:04:13-13:05:51 (none) squid[5977]: Waiting 30 seconds for active connections to finish
    2004:04:13-13:05:51 (none) squid[5977]: FD 12 Closing HTTP connection
    2004:04:13-13:05:51 (none) squid[5977]: Shutting down...
    2004:04:13-13:05:51 (none) squid[5977]: Closing unlinkd pipe on FD 10
    2004:04:13-13:05:51 (none) squid[5977]: storeDirWriteCleanLogs: Starting...
    2004:04:13-13:05:51 (none) squid[5977]:   Finished.  Wrote 105 entries.
    2004:04:13-13:05:51 (none) squid[5977]:   Took 0.0 seconds (305232.6 entries/sec).
    2004:04:13-13:05:51 (none) squid[5977]: Squid Cache (Version 2.5.STABLE4): Exiting normally.
Reply
  • Hi,

    I think I have the same problem, after Starting squid, it is shuting down and resarting. So a few seconds, I can access the Internet, then there is the message that squid is currently shutting down, then nothing, and so on:

    (It is also 5.001)

    Squid.log:
    2004:04:13-13:05:34 (none) squid[5977]: Starting Squid Cache version 2.5.STABLE4 for i686-pc-linux-gnu...
    2004:04:13-13:05:34 (none) squid[5977]: Process ID 5977
    2004:04:13-13:05:34 (none) squid[5977]: With 1024 file descriptors available
    2004:04:13-13:05:34 (none) squid[5977]: DNS Socket created at 127.0.0.1, port 32772, FD 5
    2004:04:13-13:05:34 (none) squid[5977]: Adding nameserver 127.0.0.1 from /etc/resolv.conf
    2004:04:13-13:05:34 (none) squid[5972]: Squid Parent: child process 5977 started
    2004:04:13-13:05:34 (none) squid[5977]: Unlinkd pipe opened on FD 10
    2004:04:13-13:05:34 (none) squid[5977]: Swap maxSize 4288512 KB, estimated 329885 objects
    2004:04:13-13:05:34 (none) squid[5977]: Target number of buckets: 16494
    2004:04:13-13:05:34 (none) squid[5977]: Using 32768 Store buckets
    2004:04:13-13:05:34 (none) squid[5977]: Max Mem  size: 8192 KB
    2004:04:13-13:05:34 (none) squid[5977]: Max Swap size: 4288512 KB
    2004:04:13-13:05:34 (none) squid[5977]: Rebuilding storage in /cache (CLEAN)
    2004:04:13-13:05:34 (none) squid[5977]: Using Least Load store dir selection
    2004:04:13-13:05:34 (none) squid[5977]: Set Current Directory to /cache
    2004:04:13-13:05:34 (none) squid[5977]: Loaded Icons.
    2004:04:13-13:05:34 (none) squid[5977]: Accepting HTTP connections at 0.0.0.0, port 3128, FD 12.
    2004:04:13-13:05:34 (none) squid[5977]: WCCP Disabled.
    2004:04:13-13:05:34 (none) squid[5977]: Ready to serve requests.
    2004:04:13-13:05:34 (none) squid[5977]: Done reading /cache swaplog (105 entries)
    2004:04:13-13:05:34 (none) squid[5977]: Finished rebuilding storage from disk.
    2004:04:13-13:05:34 (none) squid[5977]:       105 Entries scanned
    2004:04:13-13:05:34 (none) squid[5977]:         0 Invalid entries.
    2004:04:13-13:05:34 (none) squid[5977]:         0 With invalid flags.
    2004:04:13-13:05:34 (none) squid[5977]:       105 Objects loaded.
    2004:04:13-13:05:34 (none) squid[5977]:         0 Objects expired.
    2004:04:13-13:05:34 (none) squid[5977]:         0 Objects cancelled.
    2004:04:13-13:05:34 (none) squid[5977]:         0 Duplicate URLs purged.
    2004:04:13-13:05:34 (none) squid[5977]:         0 Swapfile clashes avoided.
    2004:04:13-13:05:34 (none) squid[5977]:   Took 0.3 seconds ( 384.5 objects/sec).
    2004:04:13-13:05:34 (none) squid[5977]: Beginning Validation Procedure
    2004:04:13-13:05:34 (none) squid[5977]:   Completed Validation Procedure
    2004:04:13-13:05:34 (none) squid[5977]:   Validated 105 Entries
    2004:04:13-13:05:34 (none) squid[5977]:   store_swap_size = 708k
    2004:04:13-13:05:36 (none) squid[5977]: storeLateRelease: released 0 objects
    2004:04:13-13:05:51 (none) squid[5977]: Preparing for shutdown after 0 requests
    2004:04:13-13:05:51 (none) squid[5977]: Waiting 30 seconds for active connections to finish
    2004:04:13-13:05:51 (none) squid[5977]: FD 12 Closing HTTP connection
    2004:04:13-13:05:51 (none) squid[5977]: Shutting down...
    2004:04:13-13:05:51 (none) squid[5977]: Closing unlinkd pipe on FD 10
    2004:04:13-13:05:51 (none) squid[5977]: storeDirWriteCleanLogs: Starting...
    2004:04:13-13:05:51 (none) squid[5977]:   Finished.  Wrote 105 entries.
    2004:04:13-13:05:51 (none) squid[5977]:   Took 0.0 seconds (305232.6 entries/sec).
    2004:04:13-13:05:51 (none) squid[5977]: Squid Cache (Version 2.5.STABLE4): Exiting normally.
Children
No Data