Re: Squid with Dansguardian problem.



If I redirect to squid(3128),i have not a problem but if I try redirect to
dansguardian(8080),The squid error page(The requested URL coult not be
retrieved) print on web browser.
If i try manually configure proxy server on web browser(connection setting)
to dansguardian(8080),it works.

it works like below:

$IPTABLES -t nat -A PREROUTING -i $INTIF -p tcp --dport 80 -j REDIRECT
--to-port 3128

but not works like below:

$IPTABLES -t nat -A PREROUTING -i $INTIF -p tcp --dport 80 -j REDIRECT
--to-port 8080



On 15/11/2007, Mihira Fernando <mihiratheace@xxxxxxxxx> wrote:

Semih Gokalp wrote:
Thanks for reply Mihira.I tried script and remove manual web browser
configure for proxy but not worked.

Invalid URL Error page is squid error page that i see on the web
browser.

I think,it means web request is being redirected to dansguardian by
iptables and dansguardian is forwarding request to squid but squid dont
resolve the URL-path.

Am i wrong ?

What do you think ?

Do you get the same result if Iptables redirect to squid instead of
dansguardian ?

change he redirection command like this and try :

echo " Rerouting http hits to proxy server "
$IPTABLES -t nat -A PREROUTING -i $INTIF -p tcp --dport 80 -j REDIRECT
--to-port
3128


Mihira.
--
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break
stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has
been
approved.




--
Iyi calismalar.Basarilar...
Semih Gokalp
Istanbul/Turkiye


Relevant Pages

  • Re: HttpWebRequest in Compact Framework fails on second request
    ... The .NET Compact Framework sends HTTP/1.0 requests, ... It correctly omits "Host" ... way to make Squid send HTTP/1.1 responses. ... request to a given host can succeed. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Preventing Request.Form abuse
    ... I think I would redirect them to a large video file on one of the online ... also block their IP real time in the filter, so any future request from them ... If we were to use a real rather than a fictitious URL for the redirect, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: HELP! - I need to setup a temporary IIS redirect while I fix SQL Injection vulnerabilities o
    ... Can I go a global redirect like this in IIS to prevent the request ... but it will NOT scan the Querystring. ... All it takes is a few encodings/permutations and ...
    (microsoft.public.inetserver.iis.security)
  • Re: NetApp filers 3rd party API
    ... then I'd trigger operations based on this request ... and finally redirect the request back to the NetApp. ...
    (comp.arch.storage)
  • Re: jsps not serving from context root in netbeans server
    ... I was doing that anyway) but I must admit despite reading the API and ... this method can help with maintaining context root. ... My main points have to do with keeping the request and avoiding the round trip ... The leading '/' moves the redirect out of the context. ...
    (comp.lang.java.programmer)