Skip to content

Conversation

@sanjayk0508
Copy link
Member

@sanjayk0508 sanjayk0508 commented Nov 13, 2025

have updated TCPSocket to enable port 3310 and added default configs for clamav-milter.conf matching upstream

ref - https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/1.5/alpine/Dockerfile#L61-L81

Signed-off-by: Sanjay Kumar <[email protected]>
@sanjayk0508 sanjayk0508 marked this pull request as draft November 13, 2025 09:20
Signed-off-by: Sanjay Kumar <[email protected]>
@octo-sts octo-sts bot added the bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. label Nov 13, 2025
Signed-off-by: Sanjay Kumar <[email protected]>
Signed-off-by: Sanjay Kumar <[email protected]>
@sanjayk0508 sanjayk0508 marked this pull request as ready for review November 14, 2025 15:53
Signed-off-by: Sanjay Kumar <[email protected]>
mv "${{targets.destdir}}"/etc/clamav/clamd.conf.sample "${{targets.subpkgdir}}"/etc/clamav/clamd.conf
# Enable TCPSocket 3310 and set TCPAddr
sed -i 's/^#TCPSocket.*/TCPSocket 3310/; s/^#TCPAddr localhost/#TCPAddr 0.0.0.0/' "${{targets.subpkgdir}}"/etc/clamav/clamd.conf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should do this to the /etc/clamd/clamd.conf.sample file instead as that one is being moved here anyways

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-e "s:^\#\(LogTime\).*:\1 yes:" \
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
"${{targets.destdir}}"/etc/clamav/clamd.conf.sample
Copy link
Member

@tulilirockz tulilirockz Nov 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here

Suggested change
"${{targets.destdir}}"/etc/clamav/clamd.conf.sample
"${{targets.destdir}}"/etc/clamav/clamd.conf.sample
sed -i 's/^#TCPSocket.*/TCPSocket 3310/; s/^#TCPAddr localhost/#TCPAddr 0.0.0.0/' "${{targets.destdir}}"/etc/clamav/clamd.conf.sample

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants