diladele / websafety

Simple and powerful web filter for HTTP and HTTPS traffic
https://www.diladele.com
243 stars 24 forks source link

Squid error #2234

Open SerhiiZahuba opened 1 month ago

SerhiiZahuba commented 1 month ago

After I turn on the antivirus and restart the services, my squid service does not work. My host has 18 GB of RAM.

Please help

image

ra-at-diladele-com commented 1 month ago

Good day, I have just re-tried enabling the eCAP av on our test servers and do not see any error directly. Please could you:

You can cc to support@diladele.com too.

ra-at-diladele-com commented 1 month ago

Also the error seem to be from squid, not ecap - please see what is in the /var/log/squid/cache.log - any obvious errors? You can send it to support@diladele.com (at least several hundreds last lines).

SerhiiZahuba commented 1 month ago

log.log

my log,

the problem is only when I turn on the antivirus

ra-at-diladele-com commented 1 month ago

The error seems to be related to the opening of the listening sockets on port 3128.

/// check FD after clientHttp[s]ConnectionOpened, adjust HttpSockets as needed
static bool
OpenedHttpSocket(const Comm::ConnectionPointer &c, const Ipc::FdNoteId portType)
{
    if (!Comm::IsConnOpen(c)) {
        Must(NHttpSockets > 0); // we tried to open some
        --NHttpSockets; // there will be fewer sockets than planned
        Must(HttpSockets[NHttpSockets] < 0); // no extra fds received

        if (!NHttpSockets) // we could not open any listen sockets at all
            fatalf("Unable to open %s",FdNote(portType));

        return false;
    }
    return true;
}
SerhiiZahuba commented 1 month ago

In the UI/Squid/Settings/Networks settings, I tried to leave the field empty or write the server IP - it didn't help. At the time of restart service, I checked port 3128 - it is not busy.

image

ra-at-diladele-com commented 1 month ago

Could you send me the UI/Dashboard/Tools/Export/backup (check support checkbox) to support@diladele.com?

SerhiiZahuba commented 1 month ago

Sent to you by mail in the subject of letter "2234"

SerhiiZahuba commented 1 month ago

Your mail server does not accept archives. image

I have sent an email with a link to a file exchange.

ra-at-diladele-com commented 1 month ago

Replied on support@ - lets keep the intermediate conversation there and only add findings here later.