Search squid archive

External users --> firewall --> proxy --> Internet = :-(

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

 



Hi guys, hope you can help me here,

Setup:

Intranet = inside firewall
userA --> 8080:dansguardian --> 3128: http_port transparent --> Internet = 

Extranet = outside firewall (mobile / remote users)
userB --> SOHO router --> corp firewall:80 --> 8080:dansguardian --> 3128:
http_port transparent --> Internet = 
userB --> SOHO router --> corp firewall:443 --> 3129: https_port transparent
ssl-bump cert=... key=... - -> Internet = 

The Issue: 

userB request Google which we convert from HTTPS to HTTP using DNS trickery
(setup by Google for schools/corps ie. explicit.google.com=0.0.0.0 to
prevent encrypted searches).  So far, so good.  However HTTPS coming from
userB (outside our firewall) is not CONNECT, but straight SSL.  Thus the
ssl-bump setup which is working, with invalid cert warnings which is ok for
us, but the google/calendar site gets stuck in a loop.  From my access.log:

*173.162.48.224* TCP_MISS/302 890 GET http://www.google.com/calendar? -
DIRECT/216.239.32.20 text/html
*173.162.48.224 *TCP_MISS/302 1198 GET
http://www.google.com/calendar/render? - DIRECT/216.239.32.20 text/html
*10.0.10.171 *TCP_MISS/302 845 GET http://www.google.com/calendar/render? -
DIRECT/216.239.32.20 text/html
*173.162.48.224 *TCP_MISS/302 717 GET http://www.google.com/calendar/render?
- DIRECT/216.239.32.20 text/html
*173.162.48.224* TCP_MISS/302 717 GET http://www.google.com/calendar/render?
- DIRECT/216.239.32.20 text/html
*173.162.48.224* TCP_MISS/302 717 GET http://www.google.com/calendar/render?
- DIRECT/216.239.32.20 text/html


...and then the session times out with the agent usually returning a "page
isn’t redirecting properly" warning.  IE will try forever of course, and
eventually crash the system.  

squid.conf:

acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
access_log /var/log/access.log
acl localnet src all
http_access allow localnet
acl SSL_ports port 443
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 allow manager localhost
http_access deny manager
cache_effective_user squid3
http_access allow localnet
http_access deny all
ssl_bump allow all
http_port 10.0.10.100:3128 intercept
https_port 10.0.10.100:3129 intercept cert=/www.sample.com.pem
key=/www.sample.com.pem
hierarchy_stoplist cgi-bin ?
coredump_dir /var/cache
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
dns_nameservers 8.8.8.8


Thanks guys!!! Right now I'm shooting in the dark trying this, trying that. 
I have a tone of work in this setup, if we can't resolve this I must find
another solution for our external users.

Scott


--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/External-users-firewall-proxy-Internet-tp4516780p4516780.html
Sent from the Squid - Users mailing list archive at Nabble.com.



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

  Powered by Linux