mattermost-community / mattermost-plugin-antivirus

Antivirus plugin for scanning files uploaded to Mattermost
Apache License 2.0
35 stars 23 forks source link

Feature Request: support using unix socket to connect to the ClamAV daemon #25

Closed PeterDaveHello closed 3 years ago

PeterDaveHello commented 4 years ago

Can we have the unix socket support to connect to the ClamAV daemon?

On Debian/Ubuntu/Alpine Linux, ClamAV daemon's unix socket is default enabled, but TCP's is not, it'll be great if this plugin would like to support the ability to use unix socket.

Thanks!

hanzei commented 4 years ago

Good suggestion @PeterDaveHello :+1: Are you interested in implementing it?

PeterDaveHello commented 4 years ago

Well, I haven't learned to write golang yet, maybe one day ;) But I can help test the feature if you need!

hanzei commented 4 years ago

Thanks for the offer :+1: Will reach out once someone picks this up.

maisnamrajusingh commented 3 years ago

@hanzei @PeterDaveHello would it make sense to provide an option in the config settings for the user to select either TCP or UNIX as an option ?

PeterDaveHello commented 3 years ago

@maisnamrajusingh sure thing!