Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c-icap fails after update to 23.7.8 #3669

Closed
2 tasks done
rac-HH opened this issue Nov 13, 2023 · 2 comments
Closed
2 tasks done

c-icap fails after update to 23.7.8 #3669

rac-HH opened this issue Nov 13, 2023 · 2 comments
Assignees
Labels
bug Production bug

Comments

@rac-HH
Copy link

rac-HH commented Nov 13, 2023

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

The update also updates c_icap from 0.5.10 to 0.5.11.
This version fails to start.

A clear and concise description of what the bug is, including last known working version (if any).

Starting in debug mode: c-icap -f //usr/local/etc/c-icap/c-icap.conf -N -D -d 9
...
Adding to acl AUTH the data *
In search specs list 0x0,name AUTH
New ACL with name:AUTH and ACL Type: auth
Creating new access entry as allow with specs:
In search specs list 0x829c62480,name AUTH
Checking name:AUTH with specname AUTH
In search specs list 0x829c62480,name AUTH
Checking name:AUTH with specname AUTH
Added acl spec: AUTH
In search specs list 0x829c62480,name 127.0.0.1
Checking name:127.0.0.1 with specname AUTH
In search specs list 0x829c62480,name 127.0.0.1
Checking name:127.0.0.1 with specname AUTH
The acl spec 127.0.0.1 does not exists!
The required acl spec '127.0.0.1' is missing
Fatal error while parsing config file: "//usr/local/etc/c-icap/c-icap.conf" line: 18
The line is: icap_access allow AUTH 127.0.0.1
...

With the mentioned line commented out the service starts.
"127.0.0.1" is not from configuration GUI - so this line is from standard config.

Describe alternatives you considered

Discussion of solutions see in Forum

@AdSchellevis AdSchellevis transferred this issue from opnsense/core Nov 13, 2023
@AdSchellevis
Copy link
Member

#3667 ?

@rac-HH
Copy link
Author

rac-HH commented Nov 13, 2023

I copied the change von Pull #3667 to my configuration file. The service starts with this configuration and I tested the integration into Squid with an eicar test download.
It works.

@rac-HH rac-HH closed this as completed Nov 13, 2023
@fichtner fichtner self-assigned this Nov 13, 2023
@fichtner fichtner added the bug Production bug label Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Production bug
Development

No branches or pull requests

3 participants