[squid-users] login dialog pop up occurs every site embeed a frame

Jens Kallup jkallup at web.de
Wed Mar 30 12:49:23 UTC 2016


Hello,

I have the following problem:
when i serve the site:

http://thejimmahknows.com/squid-proxy-splash-page-2/?doing_wp_cron=1459339456.8651709556579589843750

the authentication/squid ask me for user & password.
That's all ok.

But, when you look at the right, there is a frame with ads.
And the frame/page is performing an endless login loop, if you click on OK.
If you click "abort/cancel" few times, the web-browser produce prox error.

What can I do to prevent those loop's?
Here is the config:

auth_param basic program /usr/lib/squid3/basic_ncsa_auth /sap/squid/passwd
auth_param basic children 4
auth_param basic utf8 on
auth_param basic realm Bitte geben Sie Ihren Benutzernamen und Passwort 
fuer die Internetberechtigung ein!
auth_param basic credentialsttl 60 minutes
auth_param basic casesensitive on

external_acl_type MyAclHelper %LOGIN %DST /sap/squid/myHelper/myaclhelper.pl

acl ncsa_users proxy_auth REQUIRED
acl block_list external MyAclHelper

acl localnet src 10.0.0.0/8
acl localnet src 192.168.178.0/24
#
http_access deny !ncsa_users
http_access deny !block_list
#
http_access allow localnet


acl SSL_port port 443
acl Safe_ports port 3128
acl Safe_ports port 80        # http
acl Safe_ports port 21        # ftp
acl Safe_ports port 443        # https
acl Safe_ports port 70        # gopher
acl Safe_ports port 210        # wais
acl Safe_ports port 1025-65535    # unregistered ports
acl Safe_ports port 280        # http-mgmt
acl Safe_ports port 488        # gss-http
acl Safe_ports port 591        # filemaker
acl Safe_ports port 777        # multiling http
acl CONNECT method CONNECT

http_access deny !Safe_ports
http_access deny CONNECT !SSL_port
http_access deny all

http_port 192.168.178.80:3128
dns_v4_first on # DNS queryis

cache_mgr jkallup at web.de
cache_mem 8 MB

cache_effective_user  squid
cache_effective_group squid

error_directory /usr/local/squid/share/errors/de-de
error_default_language de

cache_dir ufs    /sap/var/spool/squid 64 16 128
cache_access_log /sap/squid/log/access.log
cache_log        /sap/squid/log/cache.log
cache_store_log  none

# Leave coredumps in the first cache dir
coredump_dir /sap/var/spool/squid

pid_filename /sap/squid/squid3.pid

# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
refresh_pattern .               0       20%     4320

logformat squid  %tl.%03tu %6tr %>a %un %Ss/%03>Hs %<st %rm %ru %Sh/%<A %mt
TIA
Jens

-- 
        .  ."|
       /| /  |  _.----._
      . |/  |.-"        ".  /|
     /                    \/ |__
    |           _.-"""/        /
    |       _.-"     /."|     /
     ".__.-"         "  |     \
        |              |       |
        /_      _.._   | ___  /
      ."  ""-.-"    ". |/.-.\/
     |    0  |    0  |     / |
     \      /\_     _/    "_/
      "._ _/   "---"       |
      /"""                 |
      \__.--                |_
        )          .        | ".
       /        _.-"\        |  ".
      /     _.-"             |    ".
     (_ _.-|                  |     |"-._.
       "    "--.             .J     _.-'
               /\        _.-" | _.-'
              /  \__..--"   _.-'
             /   |      _.-'
            /| /\|  _.-'
           / |/ _.-'
          /|_.-'
        _.-'

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jkallup.vcf
Type: text/x-vcard
Size: 115 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160330/819c2b8b/attachment.vcf>


More information about the squid-users mailing list