LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2009, 06:48 PM   #1
jrober2p
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Problems with DansGuardian


I have a problem with DansGuardian,

Reading in a blog here:
https://www.linuxquestions.org/quest...ardian-261197/

The same problem has the user: win32sux, a few years ago, but the answer to that does not appear.

Synopsis: I have a linux box with squid+dansguardian, configured as transparent proxy on port 80, but certain websites loads very slow with NO IMAGES (ex: www.facebook, www.yahoo.com, www.dell.com) , in the post I linked before is exactly my problem, but the answer never appear.

Please if someone knows how to contact with WIN32SUX or have the solution I apreciate so much.

jrober2p@hotmail.com or in this pages. (user: jrobe2p)


Many thanks.

2009Jul27:0548p
 
Old 07-29-2009, 03:51 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Welcome to LQ!
Please don't place your email address in your posts. All you will get is spam. Answers will be posted on this thread so that everyone can benefit. That said, I don't have any but I'm sure that someone else will.
Cheers,
jdk
 
Old 07-29-2009, 03:58 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
One use has replied to win32sux, with some solutions like making changes to file /etc/dansguardian/pics and then reloading dans or with dansguardian -r or dansguardian -q.
Have you tried that.
 
Old 07-30-2009, 02:05 PM   #4
jrober2p
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Many thanks for your response,

After a few days of sleepless,
investigating about this, tracing the possible reason for this behavior I discover that the problem is not the squid, dansguardian, snort ... the <<mod edit: profanity cleanup>> problem are the rules in the firewall. I'm looking for an update for our firewall-rules.

For test and solution this problem meanwhile I found an update for my firewall-rules I did this:

<enter as root>

1st. disable firewall service:
# service firewall stop

2nd. I made a script file with basic rules: ALL PERMITTED.

#vi proxgate.sh <enter>

type this:
---------------------------------------------------------------------
#
# Creando la configuracion para NAT: proxy/router/gateway
#

# Step 1, Activar el reenvío de paquetes:
# echo 1 > /proc/sys/net/ipv4/ip_forward

# Step 2, Limpiaremos las reglas del iptables:
iptables -X
iptables --flush
iptables --table nat --flush

# Step 3, Activaremos el NAT con enmacaramiento en las reglas del iptables:
# eth0 - interface publica (internet)
# eth1 - interface interna (red privada-mired-)
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT

#
# Fin Configuracion
#

---------------------------------------------------------

save file and then run it:
# sh proxgate.sh
and now you have a transparent proxy gateway (with your legs open to the world jajajajaja, but functional)

3er. You must look for an update for your firewall rules.

Many thanks for your help, you give me so much ideas for discover the solution.

jrober2p

Last edited by pixellany; 07-31-2009 at 08:20 AM.
 
Old 07-31-2009, 08:20 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
jrober2p;
Watch the language please---this is a family show.....

Welcome to LQ---we're glad to see your issue got resolved
 
  


Reply



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/Dansguardian Proxy configuration and problems downloading updates. metallica1973 Linux - Networking 2 03-27-2008 04:30 PM
Dansguardian permission problems jasboy Linux - Software 3 09-27-2006 06:10 PM
Problems with DansGuardian win32sux Linux - Software 12 12-07-2004 04:26 PM
DansGuardian/Squid/SquidGuardian problems :-( Sn7 Linux - Security 1 06-21-2004 09:22 AM
dansguardian setup problems!!! kbrian38 Linux - Software 1 06-16-2004 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:53 PM.

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
Open Source Consulting | Domain Registration