Re: [squid-users] ubuntu ecap clamAV adapter

2022-11-24 Thread robert k Wild
Thanks Rafael,

Do you think I should compile all packages from source IE squid, ecap and
ecap clamAV module or just download the first 2 via apt and just compile
the last one

Also I imagine I need to also install from apt clamAV

Thanks, rob

On Thu, 24 Nov 2022, 18:35 Rafael Akchurin, 
wrote:

> Hello Robert,
>
>
>
> May be this will be of any help – this is how we compile the eCAP for
> Squid -
> https://github.com/diladele/websafety/blob/master/core.ubuntu20/03_clamav.sh
>
> If you need to compile the Squid too – also look at
> https://github.com/diladele/squid-ubuntu
>
>
>
> Best regards,
>
> Rafael
>
>
>
> *From:* squid-users  *On
> Behalf Of *robert k Wild
> *Sent:* Thursday, November 24, 2022 7:23 PM
> *To:* Squid Users 
> *Subject:* [squid-users] ubuntu ecap clamAV adapter
>
>
>
> hi all,
>
>
>
> so im trying to install squid, ecap with the clamAV adapter
>
>
>
> i noticed when i install squid it comes already with libecap, so all i
> need to do is install the clamAV adapter
>
>
>
> so do i just need to do this
>
>
>
> wget https://www.e-cap.org/archive/ecap_clamav_adapter-2.0.0.tar.gz
>
>
>
> but when i do
>
>
>
> ./configure
>
>
>
> i get this error
>
>
>
> configure: error: in `/root/ecap_clamav_adapter-2.0.0':
> configure: error: The pkg-config script could not be found or is too old.
> Make sure it
> is in your PATH or set the PKG_CONFIG environment variable to the full
> path to pkg-config.
>
> Alternatively, you may set the environment variables LIBECAP_CFLAGS
> and LIBECAP_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> To get pkg-config, see .
> See `config.log' for more details
>
>
>
> ive looked at there website but its for the sample adapter
>
>
>
> any help would be great
>
>
>
> thanks,
>
> rob
>
>
>
> --
>
> Regards,
>
> Robert K Wild.
>
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] ubuntu ecap clamAV adapter

2022-11-24 Thread Rafael Akchurin
Hello Robert,

May be this will be of any help – this is how we compile the eCAP for Squid - 
https://github.com/diladele/websafety/blob/master/core.ubuntu20/03_clamav.sh
If you need to compile the Squid too – also look at 
https://github.com/diladele/squid-ubuntu

Best regards,
Rafael

From: squid-users  On Behalf Of 
robert k Wild
Sent: Thursday, November 24, 2022 7:23 PM
To: Squid Users 
Subject: [squid-users] ubuntu ecap clamAV adapter

hi all,

so im trying to install squid, ecap with the clamAV adapter

i noticed when i install squid it comes already with libecap, so all i need to 
do is install the clamAV adapter

so do i just need to do this

wget https://www.e-cap.org/archive/ecap_clamav_adapter-2.0.0.tar.gz

but when i do

./configure

i get this error

configure: error: in `/root/ecap_clamav_adapter-2.0.0':
configure: error: The pkg-config script could not be found or is too old.  Make 
sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables LIBECAP_CFLAGS
and LIBECAP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see .
See `config.log' for more details

ive looked at there website but its for the sample adapter

any help would be great

thanks,
rob

--
Regards,

Robert K Wild.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] ubuntu ecap clamAV adapter

2022-11-24 Thread robert k Wild
hi all,

so im trying to install squid, ecap with the clamAV adapter

i noticed when i install squid it comes already with libecap, so all i need
to do is install the clamAV adapter

so do i just need to do this

wget https://www.e-cap.org/archive/ecap_clamav_adapter-2.0.0.tar.gz

but when i do

./configure

i get this error

configure: error: in `/root/ecap_clamav_adapter-2.0.0':
configure: error: The pkg-config script could not be found or is too old.
Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables LIBECAP_CFLAGS
and LIBECAP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see .
See `config.log' for more details

ive looked at there website but its for the sample adapter

any help would be great

thanks,
rob

-- 
Regards,

Robert K Wild.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] ubuntu squid - proxy refusing

2022-11-24 Thread robert k Wild
LOL ok sorted

i uncommented out

http_access allow localnet

and reloaded the service and job done

On Thu, 24 Nov 2022 at 17:40, robert k Wild  wrote:

> hi all,
>
> so i have installed squid on ubuntu 22.04 and i havnt made any changes,
> all i have done is
>
> apt install squid
> systemctl start squid
>
> its obviously not like centos 7 where out the box it just works ie
> doesnt block anything
>
> on certain websites i get the squid access is denied
>
> but most of the time i get
>
> The proxy server is refusing connections
>
> why is this please?
>
> thanks,
> rob
>
> --
> Regards,
>
> Robert K Wild.
>


-- 
Regards,

Robert K Wild.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] ubuntu squid - proxy refusing

2022-11-24 Thread robert k Wild
hi all,

so i have installed squid on ubuntu 22.04 and i havnt made any changes, all
i have done is

apt install squid
systemctl start squid

its obviously not like centos 7 where out the box it just works ie
doesnt block anything

on certain websites i get the squid access is denied

but most of the time i get

The proxy server is refusing connections

why is this please?

thanks,
rob

-- 
Regards,

Robert K Wild.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users