Bug 768586 - Please enable eCAP support again.
Summary: Please enable eCAP support again.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: squid
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Skala
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-17 08:27 UTC by AMM
Modified: 2014-11-09 22:35 UTC (History)
4 users (show)

Fixed In Version: squid-3.2.0.15-1.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-27 00:47:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fix in the adapter (561 bytes, patch)
2012-01-26 07:47 UTC, Jiri Skala
no flags Details | Diff

Description AMM 2011-12-17 08:27:25 UTC
Description of problem:
eCap support in squid was disabled in June 2011.

Changelog says it was disabled "temporarily" but does not mention why and for how long?

So please enable it again.

Thank you

Comment 1 Fedora Update System 2011-12-22 09:15:25 UTC
squid-3.2.0.14-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/squid-3.2.0.14-1.fc16

Comment 2 Fedora Update System 2011-12-23 03:28:35 UTC
Package squid-3.2.0.14-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing squid-3.2.0.14-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-17376/squid-3.2.0.14-1.fc16
then log in and leave karma (feedback).

Comment 3 AMM 2012-01-24 10:17:48 UTC
Dont know if eCap bug or adapter bug but this adapter from:
http://www.e-cap.org/Downloads

is crashing my squid

Logs:
2012/01/24 15:43:31 kid1| Loading Squid module from '/usr/lib64/ecap/ecap_clamav_adapter.so'
FATAL: Received Segment Violation...dying.
2012/01/24 15:43:31 kid1| storeDirWriteCleanLogs: Starting...
2012/01/24 15:43:31 kid1|   Finished.  Wrote 0 entries.
2012/01/24 15:43:31 kid1|   Took 0.00 seconds (  0.00 entries/sec).
CPU Usage: 0.055 seconds = 0.036 user + 0.019 sys
Maximum Resident Size: 56256 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    5228 KB
        Ordinary blocks:         5148 KB      2 blks
        Small blocks:               0 KB      2 blks
        Holding blocks:          1520 KB      5 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:      79 KB
        Total in use:            6668 KB 128%
        Total free:                80 KB 2%


Ecap config in squid.conf:
ecap_enable on #crashes even with off
loadable_modules /usr/lib64/ecap/ecap_clamav_adapter.so
ecap_service eRespmod respmod_precache ecap://e-cap.org/ecap/services/clamav?huge_size=15000000 bypass=0
adaptation_access eRespmod allow !novirusscan

novirusscan is acl which lists sites which not to scan.

Comment 4 Fedora Update System 2012-01-24 19:59:26 UTC
Package squid-3.2.0.14-2.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing squid-3.2.0.14-2.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-17376/squid-3.2.0.14-2.fc16
then log in and leave karma (feedback).

Comment 5 Jiri Skala 2012-01-26 07:44:45 UTC
(In reply to comment #3)
> Logs:
> 2012/01/24 15:43:31 kid1| Loading Squid module from
> '/usr/lib64/ecap/ecap_clamav_adapter.so'
> FATAL: Received Segment Violation...dying.
> 2012/01/24 15:43:31 kid1| storeDirWriteCleanLogs: Starting...
> 
> loadable_modules /usr/lib64/ecap/ecap_clamav_adapter.so

This is an issue in the adapter ecap_clamav_adapter.so. The following string

static const std::string TmpFileNameTemplateDefault = "/tmp/eclamavXXXXXX";

is probably not initialized before using.

Comment 6 Jiri Skala 2012-01-26 07:47:21 UTC
Created attachment 557597 [details]
fix in the adapter

This patch fixes the issue with ecap_clamav_adapter. The ecap_adapter_sample works fine 'as is'.

Comment 7 Fedora Update System 2012-02-06 08:13:17 UTC
squid-3.2.0.15-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/squid-3.2.0.15-1.fc16

Comment 8 Fedora Update System 2012-02-27 00:47:32 UTC
squid-3.2.0.15-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.