LinuxQuestions.org
Review your favorite Linux distribution.
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
  Search this Thread
Old 11-21-2001, 01:41 AM   #1
garysmith
LQ Newbie
 
Registered: Nov 2001
Location: South Africa
Posts: 2

Rep: Reputation: 0
Angry Linux Hangs using squid


I'm running Suse 7.2 as a mail server, samba and squid proxy.
Everything works well until I try and configure my document capture server or browse my intranet through my web browser with my "use proxy" and "bypass proxy for local addresses" set to on in my internet settings. The capture server is running FreeBSD and intranet is NT Server 4. When configuring FreeBSD or browsing the intranet, the Suse box freezes totally and I have to switch the box off and back on again as the reset switch has no effect. I thought that it could be a hardware problem and took a workstation running windows 2000, pentium 3 500, 256 mb ram and a 13 gig Hdd and loaded Suse 7.2 again.
I did the configuration using webmin, tested the proxy using the internet and it worked 100%. I then went through my intranet and Suse fell over again. Does anyone have any ideas that I can try as I'd like the users on the lan to go through a proxy so that I can configure squid guard for obvious reasions.
Thanks in advance
Gary
 
Old 11-25-2001, 05:08 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try setting up squid to listen on port 3128 and redirect port 80 to port 3128
no proxy settings needed in your browsers

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128


or for ipchains


ipchains -A input -p TCP -d any/0 www -j REDIRECT 3128


I have not used squid guard but I guess it filters some stuff, if it is listening on port 1080 or something just redirect to 1080. it will redirect to 3128.

dans guardian is a good filter program that will filter based on key words, mime content, file extension, ip address, key phrases, etc....




Last edited by DavidPhillips; 11-25-2001 at 05:19 AM.
 
Old 07-25-2002, 08:59 PM   #3
snr4999
LQ Newbie
 
Registered: Jul 2002
Location: melaka
Posts: 8

Rep: Reputation: 0
i have problem with squid
when i ./RunCache
i have fatal error says
Cannot open HTTP port
i'm using 3128 port
can any body help me with this problem
 
Old 07-27-2002, 11:58 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
what distro?

most likely thing is that squid is already running
 
Old 07-29-2002, 09:29 PM   #5
snr4999
LQ Newbie
 
Registered: Jul 2002
Location: melaka
Posts: 8

Rep: Reputation: 0
i just ignore that fatal said cannot open http port
then i configure client using netscape....
i have error
please...somebody help me....'
i'm running out off time...
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 09:33 AM
squid message customization, hiding squid versioin rajnishmishra Linux - Networking 0 11-27-2004 04:55 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 03:29 PM
Squid load testing software / Squid optimisation? gundelgauk Linux - Networking 2 08-31-2004 08:36 PM
after i installed linux and tried start linux it hangs at the message (in post) adamshreves Linux - General 5 10-30-2003 02:44 PM


All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration