LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-29-2009, 12:45 PM   #1
vijay1585
LQ Newbie
 
Registered: Mar 2009
Location: Bangalore
Posts: 12
Blog Entries: 1

Rep: Reputation: 0
Internet Explorer not working in squid-2.6.STABLE6-4.el5


Hi i am using Redhat EL5 proxy server. Squid + dansguardian and SARG
windows XP clint,all are use to Internet explorer 6.0

The following error was encountered:

* Invalid Request

Some aspect of the HTTP Request is invalid. Possible problems:

* Missing or unknown request method
* Missing URL
* Missing HTTP Identifier (HTTP/1.0)
* Request is too large
* Content-Length missing for POST or PUT requests
* Illegal character in hostname; underscores are not allowed

Your cache administrator is root.
Generated Wed, 06 May 2009 09:27:25 GMT by proxy.server1.com (squid/2.6.STABLE6)


My Squid configuration

http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_mem 50 MB
access_log /var/log/squid/access.log squid
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/.passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl ppts proxy_auth REQUIRED
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 143 # for mail
acl Safe_ports port 110 # for mail
acl Safe_ports port 25 # smtp
acl Safe_ports port 21 # ftp
acl Safe_ports port 22 # ftp data
acl Safe_ports port 443 563 # https, snews
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 5100
acl Safe_ports port 5101
acl Safe_ports port 5050
acl Safe_ports port 5000-5010
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
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow ppts
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir /var/spool/squid


--------

And Dansguardian configuration
Dansguardian listen 8080,i mention proxy port 3128

I am using one lancard

iptables configuration
iptables -t nat -A PREROUTING -p tcp -s 192.168.1.0/24 --dport 80 -j REDIRECT --to-port 8080
--------
Firefox working but https page not working
Ex
www.gotomeeting.com
this web not working in firefox

Error message
connection intrupted

Last edited by vijay1585; 05-31-2009 at 11:56 PM. Reason: i am not inform using dabnsguardian
 
Old 05-31-2009, 12:17 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
all are use to Internet explorer 6.0
I feel your pain - maybe now is the time to get everyone to upgrade - at least to a recent IE though a free software browser would be preferable.

Note there are serious IE6 security holes which will never be patched - the fix is to use IE8 or another browser. It does nobody any good to help people continue to use any broken browser.

http://www.internetnews.com/security...le.php/3374931

http://www.byebyeinternetexplorer.org/en

http://www.msversus.org/microsoft-ve...ware-bugs.html


You are getting an invalid request out of IE6 and a time-out for firefox. Have you investigated the suggestions in the error message?
 
Old 05-31-2009, 12:37 AM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,180

Rep: Reputation: 113Reputation: 113
Quote:
My Squid configuration
http_port 3128
Quote:
iptables configuration
iptables -t nat -A PREROUTING -p tcp -s 192.168.1.0/24 --dport 80 -j REDIRECT --to-port 8080
As i seen your configuration your proxy listening on port 3128 but you are redirecting all http traffic to port 8080 then how is this proxy setup work??

Do you plan to setup squid as a transparent proxy?, if not then you dont need this PREROUTING rule, just ask your clients to add proxy settings on their web browser(ip & port)
And you cant redirect https traffics to another port(443--->another port) it wont work.
 
Old 06-01-2009, 02:33 AM   #4
vijay1585
LQ Newbie
 
Registered: Mar 2009
Location: Bangalore
Posts: 12
Blog Entries: 1

Original Poster
Rep: Reputation: 0
I am Using Dansguardian

Quote:
Originally Posted by kirukan View Post
As i seen your configuration your proxy listening on port 3128 but you are redirecting all http traffic to port 8080 then how is this proxy setup work??

Do you plan to setup squid as a transparent proxy?, if not then you dont need this PREROUTING rule, just ask your clients to add proxy settings on their web browser(ip & port)
And you cant redirect https traffics to another port(443--->another port) it wont work.

Thank you for reply,
I am using Dansguardian for Webcontent filtering.
I am Using Squid authendication proxy.
 
  


Reply

Tags
proxy


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQUID internet explorer 7 ntlm login problem gianpiero1978 Linux - Server 3 12-10-2008 08:24 PM
Internet Explorer Deepak Gusain Red Hat 16 09-24-2007 09:26 PM
Internet Explorer vs. Other Browsers (Internet Standards) smaida Linux - General 6 10-11-2004 04:27 AM
Internet Explorer only internet page?? jimdaworm Linux - Software 9 08-08-2004 02:26 PM
Internet Explorer 6.1 and Squid TechnoBod Linux - Software 1 12-09-2003 11:18 AM


All times are GMT -5. The time now is 05:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration