[FUG-BR] Squid - Proxy transparente não funciona[urgente

brunounixuser em aol.com brunounixuser em aol.com
Terça Maio 29 18:26:16 BRT 2007


[root em firewall ~]# ps aux | grep squid
squid   855  0.0  0.2  3336  1676  ??  Is    6:01PM   0:00.00 
/usr/local/sbin/squid -D
squid   858  0.0  0.9  9348  8768  ??  S     6:01PM   0:00.50 (squid) 
-D (squid)
squid   871  0.0  0.1  1248   648  ??  Is    6:01PM   0:00.00 (unlinkd) 
(unlinkd)
squid   878  0.0  0.1  1408   940  ??  Ss    6:01PM   0:00.01 (pinger) 
(pinger)

-----Original Message-----
From: Alessandro de Souza Rocha <etherlinkii em gmail.com>
To: Lista Brasileira de Discussão sobre FreeBSD (FUG-BR) 
<freebsd em fug.com.br>
Sent: Tue, 29 May 2007 6:22 pm
Subject: Re: [FUG-BR] Squid - Proxy transparente não funciona[urgente



Em 29/05/07, brunounixuser em aol.com<brunounixuser em aol.com> escreveu:
> Versão do meu squid instalado via ports:
>
> [root em firewall ~]# squid -v
> Squid Cache: Version 2.6.STABLE12
> configure options: '--bindir=/usr/local/sbin'
> '--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid'
> '--libexecdir=/usr/local/libexec/squid'
> '--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid'
> '--enable-removal-policies=lru heap' '--disable-linux-netfilter'
> '--disable-linux-tproxy' '--disable-epoll' '--enable-auth=basic ntlm
> digest' '--enable-basic-auth-helpers=NCSA PAM MSNT SMB YP'
> '--enable-digest-auth-helpers=password'
> '--enable-external-acl-helpers=ip_user session unix_group 
wbinfo_group'
> '--enable-ntlm-auth-helpers=SMB' '--enable-storeio=ufs diskd null'
> '--enable-icmp' '--disable-http-violations' '--enable-arp-acl'
> '--enable-pf-transparent' '--enable-kqueue' '--with-large-files'
> '--enable-large-cache-files' '--enable-stacktraces'
> '--enable-err-languages=Azerbaijani Bulgarian Catalan Czech Danish
> Dutch  English Estonian Finnish French German Greek Hebrew  Hungarian
> Italian Japanese Korean Lithuanian  Polish Portuguese Romanian
> Russian-1251 Russian-koi8-r  Serbian Simplify_Chinese Slovak Spanish
> Swedish  Traditional_Chinese Turkish'
> '--enable-default-err-language=English' '--prefix=/usr/local'
> 'i386-portbld-freebsd6.2' 'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing
> -pipe  -g' 'CPPFLAGS=' 'LDFLAGS=' 
'build_alias=i386-portbld-freebsd6.2'
> 'host_alias=i386-portbld-freebsd6.2'
> 'target_alias=i386-portbld-freebsd6.2'
>
>
>
> -----Original Message-----
> From: Suprema Informática Ltda <suprema.info em supremasc.com.br>
> To: "Lista Brasileira de Discussão sobre Fre eBSD (FUG-BR)"
> <freebsd em fug.com.br>
> Sent: Tue, 29 May 2007 6:17 pm
> Subject: Re: [FUG-BR] Squid - Proxy transparente não funciona[urgente
>
>
>
>    Suprema Informática Ltda escreveu:
>
> [1]brunounixuser em aol.com escreveu:
>
> o que eu fiz até agora, depois das dicas da lista.
>
> 1 - alterei meu firewall para a linha
> [root em firewall ~]# ipfw list
> 00800 fwd 127.0.0.1,3128 tcp from 192.168.1.0/24 to any dst-port 80
> 65535 allow ip from any to any
>
> 2 - alterei no squid.conf:
> http_port 3128 transparent
> always_direct allow all
> always_direct allow our_networks
>
> nenhuma das alterações funcionou.
>
> --
>
> funciona sim...eu setei no meu e roda blz a nao ser que seu squid nao 
e
> 2.6
>
> always_direct allow all
> --
> Alessandro de Souza Rocha
> Administrador de Redes e Sistemas
> Freebsd-BR User #117
> -------------------------
> Histórico: [2]http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: [3]https://www.fug.com.br/mailman/listinfo/freebsd
>
>
> 
________________________________________________________________________
> AOL now offers free email to everyone.  Find out more about what's 
free
> from AOL at AOL.com.
> =0
> -------------------------
> Histórico: [4]http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: [5]https://www.fug.com.br/mailman/listinfo/freebsd
>
>
>
>
> E agora com estas alterações, vc restarta o squid, ele dá alguma
> mensagem de erro,
>
> analisa os log´s
>
> -------------------------
> Histórico: [6]http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: [7]https://www.fug.com.br/mailman/listinfo/freebsd
>
>
>
>    digita ai pra ver o erro
>    squid -k parse
> strictly prohibited.
>
> References
>
>    1. mailto:brunounixuser em aol.com
>    2. http://www.fug.com.br/historico/html/freebsd/
>    3. https://www.fug.com.br/mailman/listinfo/freebsd
>    4. http://www.fug.com.br/historico/html/freebsd/
>    5. https://www.fug.com.br/mailman/listinfo/freebsd
>    6. http://www.fug.com.br/historico/html/freebsd/
>    7. https://www.fug.com.br/mailman/listinfo/freebsd
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
>
> 
________________________________________________________________________
> AOL now offers free email to everyone.  Find out more about what's 
free
> from AOL at AOL.com.
> =0
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
olha se o squid da ta subindo com ps ax|more se nao tiver
squid -D e depois rode um squid -k reconfigure

--
Alessandro de Souza Rocha
Administrador de Redes e Sistemas
Freebsd-BR User #117
-------------------------
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


________________________________________________________________________
AOL now offers free email to everyone.  Find out more about what's free 
from AOL at AOL.com.
=0


Mais detalhes sobre a lista de discussão freebsd