NGFW-14933: Phish_blocker is not detecting phishing emails #115
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This changes are required to support socket on 3310 port which is down with upgrade to 1.0.7
This ticket will cover daemon related changes. As with upgrade a new socket service is added to clamav, along with updater and daemon service . Earlier daemon was managing the port 3301 on a socket to process the information send by UVM, now new socket service will take care of managing it.
Reference
https://bbs.archlinux.org/viewtopic.php?id=233951
https://www.danami.com/clients/knowledgebase/195/ClamAV-will-not-start.-How-can-I-fix-the-ClamAV-error-daily.cvldinc-was-not-met.html?language=english
Changes required
TCPAddr 127.0.0.1
TCPSocket 3310
LocalSocket /var/run/clamav/clamd.ctl
Introduce a new override file to be managed by socket service
/etc/systemd/system/clamav-daemon.socket.d/override.conf[Socket]
ListenStream=
ListenStream=/run/clamav/clamd.ctl
ListenStream=127.0.0.1:3310
Daemon service is dependant on daily.cvd and main.cvd files , which is not present on fresh install and hence fails,
Here we are running command to (daily.cvd and main.cv) during installation of clamav. This will handle scenario even if freshclam service is running.
Verification 3310 port running
netstat -anp | grep -E "(Active|State|clam|3310)"