Причем с с клиента норм цепляется:
Код: Выделить всё
ICAP server:localhost, ip:127.0.0.1, port:1344
OPTIONS:
Allow 204: Yes
Preview: 1024
Keep alive: Yes
ICAP HEADERS:
ICAP/1.0 200 OK
Methods: RESPMOD, REQMOD
Service: C-ICAP/180407 server - Echo demo service
ISTag: CI0001-XXXXXXXXX
Transfer-Preview: *
Options-TTL: 3600
Date: Thu, 11 Oct 2007 07:41:33 GMT
Preview: 1024
Allow: 204
Encapsulated: null-body=0
Squid Cache: Version 3.0.PRE7+PatchSets-20070919
icap ставил и из портов и с оффа.
Форум курил, много... Настройки в конфигах ICAP и SQUID все перепробывал.
Вот такой у мну вывод sockstat почему-то...
#>sockstat | grep icap
squid c-icap 99182 5 tcp4 *:1344 *:*
squid c-icap 99181 5 tcp4 *:1344 *:*
squid c-icap 99180 5 tcp4 *:1344 *:*
squid c-icap 99179 5 tcp4 *:1344 *:*
Почему нет строчек с датаграммами: ???
squid c-icap 33144 4 dgram -> /var/run/logpriv
Логи сквида:
Код: Выделить всё
2007/10/10 21:16:08.153| The request GET http://www.lissyara.su/?id=1128 is ALLOWED, because it matched 'auth_users'
2007/10/10 21:16:08.153| client_side_request.cc(1012) Doing calloutContext->icapAccessCheck()
2007/10/10 21:16:08.153| ICAPAccessCheck::check
2007/10/10 21:16:08.153| ICAPAccessCheck::check: class 'class_req' has candidate service 'service_req'
2007/10/10 21:16:08.153| ACLChecklist::preCheck: 0x8cb50a0 checking 'icap_access class_req allow all'
2007/10/10 21:16:08.153| ACLList::matches: checking all
2007/10/10 21:16:08.153| ACL::checklistMatches: checking 'all'
2007/10/10 21:16:08.154| aclMatchIp: '192.168.77.26' found
2007/10/10 21:16:08.154| ACL::ChecklistMatches: result for 'all' is 1
2007/10/10 21:16:08.154| aclmatchAclList: 0x8cb50a0 returning true (AND list satisfied)
2007/10/10 21:16:08.154| ACLChecklist::markFinished: 0x8cb50a0 checklist processing finished
2007/10/10 21:16:08.154| ACLChecklist::check: 0x8cb50a0 match found, calling back with 1
2007/10/10 21:16:08.154| ACLChecklist::checkCallback: 0x8cb50a0 answer=1
2007/10/10 21:16:08.165| ICAPAccessCheck::do_callback
2007/10/10 21:16:08.165| ICAPAccessCheck::do_callback matchedClass = class_req
2007/10/10 21:16:08.165| ICAP/ICAPConfig.cc(257) do_callback: with service icap://127.0.0.1:1344/request
2007/10/10 21:16:08.165| client_side_request.cc(504) 0x8cb1070 icapAclCheckDone called
2007/10/10 21:16:08.165| client_side_request.cc(1086) 0x8c606c8 ClientHttpRequest::startIcap() called
2007/10/10 21:16:08.176| entering AsyncJob::noteStart(0x8cdd098)
2007/10/10 21:16:08.176| ICAPModXact constructed, this=0x8ce11c0 [icapx4]
2007/10/10 21:16:08.176| exiting AsyncJob::noteStart(0x8cdd098)
2007/10/10 21:16:08.187| entering AsyncJob::noteStart(0x8ce11c0)
2007/10/10 21:16:08.187| exiting AsyncJob::noteStart(0x8ce11c0)
2007/10/10 21:16:08.290| storeMaintainSwapSpace: f=1, max_scan=500, max_remove=80
2007/10/10 21:16:08.290| UFSSwapDir::maintain: /usr/local/squid/cache removed 0/80 f=1 max_scan=500
2007/10/10 21:16:09.302| storeMaintainSwapSpace: f=1, max_scan=500, max_remove=80
2007/10/10 21:16:09.302| UFSSwapDir::maintain: /usr/local/squid/cache removed 0/80 f=1 max_scan=500
2007/10/10 21:16:10.314| storeMaintainSwapSpace: f=1, max_scan=500, max_remove=80
2007/10/10 21:16:10.314| UFSSwapDir::maintain: /usr/local/squid/cache removed 0/80 f=1 max_scan=500
Код: Выделить всё
Wed Oct 10 21:04:07 2007, general, Waiting for a request....
Wed Oct 10 21:04:07 2007, general, Waiting for a request....
Wed Oct 10 21:04:07 2007, general, Waiting for a request....
Wed Oct 10 21:04:07 2007, general, Child 97274 getting requests now ...
Wed Oct 10 21:04:07 2007, general, Waiting for a request....
Wed Oct 10 21:04:07 2007, general, Waiting for a request....
Wed Oct 10 21:04:07 2007, general, Waiting for a request....
Wed Oct 10 21:04:07 2007, general, Waiting for a request....
Wed Oct 10 21:04:07 2007, general, Waiting for a request....
Wed Oct 10 21:04:07 2007, general, Waiting for a request....
Wed Oct 10 21:04:08 2007, general, Server stats:
Childs:3
Free servers:9
Used servers:0
Requests served:0
Wed Oct 10 21:04:09 2007, general, Server stats:
Childs:3
Free servers:9
Used servers:0
Requests served:0
...................
[color=#FF0000]Вот сдесь идет запрос от клиента[/color]
Wed Oct 10 21:04:46 2007, general, Server stats:
Childs:3
Free servers:8
Used servers:1
Requests served:0
Wed Oct 10 21:04:47 2007, general, Server stats:
Childs:3
Free servers:8
Used servers:1
Requests served:0
...................
Wed Oct 10 21:04:51 2007, general, Error parsing headers :(0)
Wed Oct 10 21:04:51 2007, general, Process request timeout or interupted....
Wed Oct 10 21:04:51 2007, general, Waiting for a request....
Wed Oct 10 21:04:52 2007, general, Server stats:
Childs:3
Free servers:9
Used servers:0
Requests served:0
Wed Oct 10 21:04:53 2007, general, Server stats:
Childs:3
Free servers:9
Used servers:0
Requests served:0