[MASOCH-L] Site da Catho pelo squid opaco

Márcio Merlone marcio.merlone at a1.ind.br
Thu Jun 26 16:25:42 -03 2014


Em 26-06-2014 15:36, davi peres escreveu:
> meu macete é o seguinte:
> poe essas opcoes no squid.conf :
> debug_options ALL,1 33,2 28,9
> cache_log /var/log/squid/cache.log
> salve e de um reconfigure... acesse o site, mas logo em seguida tirela da
> configuracao pq ela enche o log.
> da uma olhada la no /var/log/squid/cache.log o que mostrou.
Até onde consegui ver dá tudo certo, finaliza com ALLOWED (exemplo 
abaixo), todos os outros negados são componentes de skype, dropbox, 
facebook e escambau que tem na página mas não deveria impedir o 
funcionamento do site.... pro domínio catho.com.br não nega nada.

2014/06/26 16:15:10.044| RegexData.cc(71) match: aclRegexData::match: 
checking 'seguro.catho.com.br:443'
2014/06/26 16:15:10.044| RegexData.cc(82) match: aclRegexData::match: 
looking for '(^cache_object://)'
2014/06/26 16:15:10.044| RegexData.cc(82) match: aclRegexData::match: 
looking for '(^https?://[^/]+/squid-internal-mgr/)'
2014/06/26 16:15:10.044| Acl.cc(321) checklistMatches: 
ACL::ChecklistMatches: result for 'manager' is 0
2014/06/26 16:15:10.044| Acl.cc(339) matches: ACLList::matches: result 
is false
2014/06/26 16:15:10.044| Checklist.cc(275) matchNode: 0x7f620e1bf808 
matched=0 async=0 finished=0
2014/06/26 16:15:10.044| Checklist.cc(299) matchNode: 0x7f620e1bf808 
simple mismatch
2014/06/26 16:15:10.044| Checklist.cc(160) checkAccessList: 
0x7f620e1bf808 checking 'http_access allow purge localhost'
2014/06/26 16:15:10.044| Acl.cc(336) matches: ACLList::matches: checking 
purge
2014/06/26 16:15:10.044| Acl.cc(319) checklistMatches: 
ACL::checklistMatches: checking 'purge'
2014/06/26 16:15:10.044| Acl.cc(321) checklistMatches: 
ACL::ChecklistMatches: result for 'purge' is 0
2014/06/26 16:15:10.044| Acl.cc(339) matches: ACLList::matches: result 
is false
2014/06/26 16:15:10.045| Checklist.cc(275) matchNode: 0x7f620e1bf808 
matched=0 async=0 finished=0
2014/06/26 16:15:10.045| Checklist.cc(299) matchNode: 0x7f620e1bf808 
simple mismatch
2014/06/26 16:15:10.045| Checklist.cc(160) checkAccessList: 
0x7f620e1bf808 checking 'http_access deny !Safe_ports'
2014/06/26 16:15:10.045| Acl.cc(336) matches: ACLList::matches: checking 
!Safe_ports
2014/06/26 16:15:10.045| Acl.cc(319) checklistMatches: 
ACL::checklistMatches: checking 'Safe_ports'
2014/06/26 16:15:10.045| Acl.cc(321) checklistMatches: 
ACL::ChecklistMatches: result for 'Safe_ports' is 1
2014/06/26 16:15:10.045| Acl.cc(339) matches: ACLList::matches: result 
is false
2014/06/26 16:15:10.045| Checklist.cc(275) matchNode: 0x7f620e1bf808 
matched=0 async=0 finished=0
2014/06/26 16:15:10.045| Checklist.cc(299) matchNode: 0x7f620e1bf808 
simple mismatch
2014/06/26 16:15:10.045| Checklist.cc(160) checkAccessList: 
0x7f620e1bf808 checking 'http_access deny purge'
2014/06/26 16:15:10.045| Acl.cc(336) matches: ACLList::matches: checking 
purge
2014/06/26 16:15:10.045| Acl.cc(319) checklistMatches: 
ACL::checklistMatches: checking 'purge'
2014/06/26 16:15:10.045| Acl.cc(321) checklistMatches: 
ACL::ChecklistMatches: result for 'purge' is 0
2014/06/26 16:15:10.045| Acl.cc(339) matches: ACLList::matches: result 
is false
2014/06/26 16:15:10.045| Checklist.cc(275) matchNode: 0x7f620e1bf808 
matched=0 async=0 finished=0
2014/06/26 16:15:10.045| Checklist.cc(299) matchNode: 0x7f620e1bf808 
simple mismatch
2014/06/26 16:15:10.045| Checklist.cc(160) checkAccessList: 
0x7f620e1bf808 checking 'http_access allow CONNECT CATHO'
2014/06/26 16:15:10.045| Acl.cc(336) matches: ACLList::matches: checking 
CONNECT
2014/06/26 16:15:10.045| Acl.cc(319) checklistMatches: 
ACL::checklistMatches: checking 'CONNECT'
2014/06/26 16:15:10.045| Acl.cc(321) checklistMatches: 
ACL::ChecklistMatches: result for 'CONNECT' is 1
2014/06/26 16:15:10.045| Acl.cc(343) matches: ACLList::matches: result 
is true
2014/06/26 16:15:10.045| Checklist.cc(275) matchNode: 0x7f620e1bf808 
matched=1 async=0 finished=0
2014/06/26 16:15:10.045| Acl.cc(336) matches: ACLList::matches: checking 
CATHO
2014/06/26 16:15:10.045| Acl.cc(319) checklistMatches: 
ACL::checklistMatches: checking 'CATHO'
2014/06/26 16:15:10.045| DomainData.cc(131) match: aclMatchDomainList: 
checking 'seguro.catho.com.br'
2014/06/26 16:15:10.045| DomainData.cc(135) match: aclMatchDomainList: 
'seguro.catho.com.br' found
2014/06/26 16:15:10.045| Acl.cc(321) checklistMatches: 
ACL::ChecklistMatches: result for 'CATHO' is 1
2014/06/26 16:15:10.045| Acl.cc(343) matches: ACLList::matches: result 
is true
2014/06/26 16:15:10.045| Checklist.cc(275) matchNode: 0x7f620e1bf808 
matched=1 async=0 finished=0
2014/06/26 16:15:10.045| Checklist.cc(260) matchNodes: 0x7f620e1bf808 
success: all ACLs matched
2014/06/26 16:15:10.045| Checklist.cc(146) markFinished: 0x7f620e1bf808 
answer ALLOWED for first matching rule won
2014/06/26 16:15:10.045| Checklist.cc(88) matchNonBlocking: 
ACLChecklist::check: 0x7f620e1bf808 match found, calling back with ALLOWED
2014/06/26 16:15:10.045| Checklist.cc(182) checkCallback: 
ACLChecklist::checkCallback: 0x7f620e1bf808 answer=ALLOWED


> Em 26 de junho de 2014 11:46, Márcio Merlone <marcio.merlone at a1.ind.br>
> escreveu:
>> Nossa recrutadora tem uma dificuldade enorme para acessar o site da Catho
>> pelo proxy squid autenticado. Os logs não fornecem nenhuma pista razoável
>> de qual seria o problema, alguém já passou por isso, conhece algum macete?
>> Sem uso do proxy, aberto no firewall funciona bem.

-- 
*Marcio Merlone*



More information about the masoch-l mailing list