Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: Master of Reality on 12 July 2002, 01:20
-
I have on my computer Mozilla 1.1Alpha, Mozilla 1.0, Konqueror. Mozilla 1.1a is running perfectly through my proxy by just choosing proxy and typing in my server address. Mozilla 1.0 says 'connection refused' when trying to go through my proxy but can still go through my network being masqed. Konqueror does the same as Mozilla 1.0 but with the message 'Connection refused by 192.168.0.1'. They are all configured exactly the same for the proxy but only one of them will work. What could be stopping Mozilla 1.0 and konqueror??
[ July 11, 2002: Message edited by: Master of Reality / Bob ]
[ July 25, 2002: Message edited by: Master of Reality / Bob ]
-
Are you sure you have them set to use port 3128? Are all of the browsers on the same machine?
-
all the browsers are on the exact same machine and OS, they are all configured to use the proxy at 192.168.0.1 port 3128
-
I don't know what to say. It works for me in all browsers with no problem, and always has in all versions. Hmm.
Hey, maybe you don't have the format right. Some browsers want it in the form of:
192.168.0.1 and then "3128" in the port section.
then some browsers want it in the form of:
http://192.168.0.1/ (http://192.168.0.1/) and then "3128" in the port section.
Then others want it in the form of:
http://192.168.0.1:3128/ (http://192.168.0.1:3128/)
Try using "http://192.168.0.1/" if you don't already.
[ July 15, 2002: Message edited by: VoidMain ]
-
i was wrong... it doesnt work at all.
It says 'connection refused by website' from Mozilla and 'connection refused by 192.168.0.1 port 3128' from Konqueror.
I looked at my ipchains and none of them seem to be blocking it. I looked through my squid.conf and changed it to bind to 192.168.0.1:3128 exactly. I also set it to 'allow all' in the acl.
It still doesnt work.
then i checked the cache.log in /var/log/squid/
it seems that it couldnt find a swap file.. so i ran squid -z to create them, and now it works and i am almost happy
[ July 25, 2002: Message edited by: Master of Reality / Bob ]
-
:( whenever i turn off 'allow all' it cant connect anymore.
here is my acl section:
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 SSL_ports port 443 563
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl machines src 192.168.0.1
acl machines src 192.168.0.2
acl machines src 192.168.0.3
acl machines src 192.168.0.4
acl bansite dstdomain .microsoft.com
acl bansite dstdomain .msn.com
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow machines !bansite
http_access deny bansite
http_access allow all
see anything very wrong?
-
now i am basically just documenting how i fixed it...
i had to add the full netmask beside my machines IP.
-
Looks like you figgered it out then? Yes, I do not define my IP addresses the way you do and I do include the netmask on the network ranges/IPs.
-
my fucking proxy stopped working again. The power went out. squid and httpd dont start at startup (yet). I get home and start httpd and squid. My webserver runs fine. Squid doesnt give any error messages when starting, but it doesnt work. Mother other computers cant connect through squid. Any ideas what the hell might have changed squid in a power outage?
-
Well, you may have corrupted something in the cache. You could try making it rebuild the cache by first deleting the old cache and restaring squid:
# /etc/rc.d/init.d/squid stop
# rm -rf /var/spool/squid/*
# /etc/rc.d/init.d/squid start
And while you are at it you could set it to start at bootup:
# /sbin/chkconfig squid on
[ July 27, 2002: Message edited by: VoidMain ]
-
n/m it works now (at least in windows)... it may be because i needed to reinitialize the swap things with squid -z (thats what i did)