This is all source related to ecap:
ecap_enable on
adaptation_send_client_ip on
adaptation_send_username on
adaptation_masterx_shared_names X-Subscriber-ID
adaptation_send_client_ip on
adaptation_send_username on
adaptation_masterx_shared_names X-Subscriber-ID
loadable_modules /usr/libexec/squid/ecap_adapter_siteblock.so
loadable_modules /usr/libexec/squid/squid-transfer-audit.so
ecap_service ecapSquidTransferAuditRequest reqmod_precache ecap://h3r3t1c.cu/ecap/services/transfer_audit_CLIENT_REQUEST_MODE bypass=0
ecap_service ecapBlockSiteRequest reqmod_precache ecap://h3r3t1c.cu/ecap/services/siteblock?mode=CLIENT_REQUEST_MODE bypass=0
adaptation_service_chain request_chain ecapSquidTransferAuditRequest ecapBlockSiteRequest
adaptation_access ecapBlockSiteRequest allow all
adaptation_access ecapSquidTransferAuditRequest allow all
El jue., 15 nov. 2018 a las 12:43, Alex Rousskov (<rousskov@xxxxxxxxxxxxxxxxxxxxxxx>) escribió:
On 11/15/18 2:51 AM, Amos Jeffries wrote:
> On 15/11/18 9:00 AM, Luis Felipe Dominguez Vega wrote:
>> Not working.... i was added
>>
>> adaptation_service_chain request_chain ecapBlockSiteRequest
>> ecapSquidTransferAuditRequest
>>
>> and only ecapBlockSiteRequest is used.....
> This is sounding more and more like the eCAP module is broken.
Unless Squid configuration does not _use_ the declared request_chain. I
would ask for *all* adaptation-related lines from squid.conf first.
A good test is to reorder ecapSquidTransferAuditRequest and
ecapBlockSiteRequest in request_chain and see if ecapBlockSiteRequest is
still the only adaptation service that is being used. If it is, a
different set of adaptation_access lines is needed to enable
request_chain usage.
> Can you get a cache.log trace of what it is receiving and sending to Squid?
HTH,
Alex.
>> El mié., 14 nov. 2018 a las 8:54, Amos Jeffries escribió:
>>
>> On 15/11/18 2:13 AM, Luis Felipe Dominguez Vega wrote:
>> > by "use all services" i mean, that all the ecap services set as
>> > reqmod_precache.... see this:
>> > if i change the order in adaptation_access, then only the first
>> defined
>> > is used, the another is not used, so i think that in my
>> > ecap module i need to put something like.... "continue to next
>> > adaptation_service"?????
>>
>>
>> Did you read the documentation I provided links for earlier?
>>
>> There are multiple ways to group and order services. The services
>> themselves can even change the order of what follows. The config sample
>> you mention does not contain anything telling Squid those details.
>>
>> You need to add one of those directives I provided links to - whichever
>> one meets your required ordering.
>>
>> Amos
>> _______________________________________________
>> squid-users mailing list
>> squid-users@xxxxxxxxxxxxxxxxxxxxx
>> <mailto:squid-users@xxxxxxxxxxxxxxxxxxxxx>
>> http://lists.squid-cache.org/listinfo/squid-users
>>
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users
>
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users