Re: [clamav-users] ClamAV for Win32 .msi question
Thank you for the response Micah. I'm just using ClamD with Mercury/32 mail server runnning on a Win7 PC logged in as a non-admin user. It's been nice being able to replace files rather than going through the extra steps of running an updater as an admin. I ran InnoUnpacker on setup.exe in the hopes of extraction but no joy. I understand that I'm probably the only updating in this manner but would be grateful to have access to the runtime library files if possible. BTW, the windows specific changes to the conf files were noticed and are very much appreciated! -- Brian Fluet ___ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
[clamav-users] Vacation Notice
I am out of the office Thursday, April 12 and Friday April 13. I will be returning Monday, April 16. If you need immediate assistance, please contact Amy Harding. Her extension is 126. -- David Conner Metropolitan Reporting Bureau Phone (800) 245-6686 X101 Fax (800) 343-9047 ___ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
Re: [clamav-users] --foreground=true
Am 13.04.2018 um 12:34 schrieb paul.gu...@gmail.com: > Thanks, everyone! > > I keep learning new things but "because in case of systemd, forking to background is useless" is simply as *WRONG* as something can be 'foreground' implies Type=simple and if you have ordered services after clamd they are immediately started while clamd is *not* ready to accept connections because it's loading the signatures which can take a long time it breaks a startup chain like "clamd -> clamav-milter -> postfix" ordered with Before/After and i even wrote a distribution-bugreport to switch from foreground to forking because clamav-milter reported errors at boot https://www.freedesktop.org/software/systemd/man/systemd.service.html If set to simple (the default if neither Type= nor BusName=, but ExecStart= are specified), it is expected that the process configured with ExecStart= is the main process of the service. In this mode, if the process offers functionality to other processes on the system, its communication channels should be installed before the daemon is started up (e.g. sockets set up by systemd, via socket activation), as systemd will immediately proceed starting follow-up units. > -Oorspronkelijk bericht- > Van: clamav-usersNamens Matus UHLAR > - fantomas > Verzonden: donderdag 12 april 2018 18:04 > Aan: clamav-users@lists.clamav.net > Onderwerp: Re: [clamav-users] --foreground=true > > On 11.04.18 10:24, paul.gu...@gmail.com wrote: >> On my Raspbian system htop reports clamd runs with the -foreground=true >> option, although I have commented that out in the configs. > > your raspbian apparently uses systemd, process manager who prefers to run > applications in foreground (because in case of systemd, forking to background > is useless). > -- > Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ > Warning: I wish NOT to receive e-mail advertising to this address. > Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. > A day without sunshine is like, night. > ___ > clamav-users mailing list > clamav-users@lists.clamav.net > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml > > ___ > clamav-users mailing list > clamav-users@lists.clamav.net > http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml > -- Reindl Harald the lounge interactive design GmbH A-1060 Vienna, Hofmühlgasse 17 CTO / CISO / Software-Development m: +43 676 40 221 40 p: +43 1 595 3999 33 http://www.thelounge.net/ GPG-Public-Key: https://arrakis-tls.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt ___ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
Re: [clamav-users] --foreground=true
Am 12.04.2018 um 18:04 schrieb Matus UHLAR - fantomas: > On 11.04.18 10:24, paul.gu...@gmail.com wrote: >> On my Raspbian system htop reports clamd runs with the -foreground=true >> option, although I have commented that out in the configs. > > your raspbian apparently uses systemd, process manager who prefers to run > applications in foreground (because in case of systemd, forking to > background is useless) this is *not* true with foreground other services like clamav-milter are stated instantly, while with forking they are started after clamd has finished to load signatures the difference is when services really depend one on another like in this cases with forking (unless the service supports systemd native with type=notify) you have errors with a brainedead --foreground ___ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
Re: [clamav-users] ERROR: This tool requires libclamav with functionality level 91 or higher (current f-level: 85)
Am 11.04.2018 um 21:09 schrieb Alberto José García Fumero: > I'm trying to install clamav-0100 in the office Linux box (Debian 9.4). > > The compilation process goes as a breeze, but when I try to launch > clamscan, the only result I have is that error message: "ERROR: This > tool requires libclamav with functionality level 91 or higher (current > f-level: 85)". > > I think I have correctly installed libclamav, and until yesterday I > used version 0.99.4 of clamav. But as far as I can see, Debian package > for clamav - libclamav7 (0.99.4+dfsg-1+deb9u1) - does not support the > last version. > > What could I do? not mix different versions either you build *everything* and replace any distro-packaged piece or stay with the distro-packages at all ___ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
Re: [clamav-users] --foreground=true
Am 11.04.2018 um 10:24 schrieb paul.gu...@gmail.com: > On my Raspbian system htop reports clamd runs with the -foreground=true > option, although I have commented that out in the configs. > > What does that option mean? Is background better? And if so, how can I get > the clam moving there? foreground means it don't do forking and that's bad when you have other services like a milter which rely on clamd are fully initalized which can take some time because loading of signatures https://bbs.archlinux.org/viewtopic.php?id=191669 Historical or not, Type=forking is necessary if you need to be able to order other services on the Type=forking service. Type determines the readiness protocol used by systemd. In the case of Type=simple, there is no protocol. systemd assumes that as soon as the binary is exec'd, the service is available. For Type=forking, services are considered ready after the MainPID exits (after the double fork), allowing for time to setup sockets or other resources needed to handle client requests (e.g. a database server or a web server). If you use the Type, you may find that dependent services fail to startup properly, as their dependencies aren't actually ready when systemd declares them to be. > BTW, I couldn't find that kind of info in the manual or online. Should I > have looked for it elsewhere? yes, in the init-scripts or systemd-units ___ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV for Win32 .msi question
Good morning Brian, I went ahead and extracted an 0.100.0 Windows installer and an 0.99.4 Windows installer to compare. It looks as though the old installer does package in the C runtime libraries in the Win\System[64]. These are [msvcr100, msvcp100] DLLs that you may need to run applications on older versions of Windows that were built with newer versions of Visual Studio. ClamAV 0.100 is built with Visual Studio 2015 now. In the migration, I had some issues with the older project files that create the .msi installers and so I recreated them from scratch. I wasn't aware of the Win\System trick the previous installer had used to get the C runtime libraries installed. To provide the same libraries, I chose to provide the setup.exe program which will install the dependency if needed before installing ClamAV from the .msi file. As for the additional .msi file found once you extract the original .msi installer. It looks to me as though previous versions also extract an additional .msi file. Because the name of the installer changed from "Setup-x86.msi" to "ClamAV-0.100.0-x64.msi", the .msi installer inside also was different. You should not be concerned about it. This is what I see when I extract the 0.99.4 installer: ModeLastWriteTime Length Name - -- d-4/13/2018 8:35 AMconf_examples d-4/13/2018 8:35 AMCOPYING d-4/13/2018 8:35 AMWin -a2/28/2018 7:04 PM 35840 clambc.exe -a2/28/2018 7:04 PM 39424 clamconf.exe -a2/28/2018 7:04 PM 96768 clamd.exe -a2/28/2018 7:04 PM 53760 clamdscan.exe -a2/28/2018 7:04 PM 64512 clamscan.exe -a2/28/2018 7:04 PM 107520 freshclam.exe -a2/28/2018 7:04 PM6802432 libclamav.dll -a2/28/2018 7:04 PM 51712 libclamunrar.dll -a2/28/2018 7:04 PM 14848 libclamunrar_iface.dll -a2/28/2018 7:04 PM1183232 libeay32.dll -a4/13/2018 8:35 AM 466944 Setup-x86.msi -a2/28/2018 7:04 PM 107008 sigtool.exe -a2/28/2018 7:04 PM 253440 ssleay32.dll In a bit of positive news about the Windows version of ClamAV, you may notice that the sample configs in conf_examples should now be written with Windows in mind. I replaced the Unix paths with Windows paths, and removed some of the config options that don't make sense on Windows. Regards, Micah Micah Snyder ClamAV Development Talos Cisco Systems, Inc. On Apr 12, 2018, at 4:06 PM, Brian Fluetwrote: Background: Using ClamAV for Win32. My usage has allowed me to use it without ever having to install it. Instead I simply extracted the .msi. Updates were done by replacing previous files with new ones. The directory structure of the extracted .msi from the clamav-0.100.0-win-x86.zip file is different from previous versions. Gone is the \WIN directory, added is a clamav-0.100.0-x86.msi file which I fails to extract (using MSIEXEC). Please let me know whether the missing .dll files normally packaged in a \WIN\SYSTEM directory is of consequence. Also, do I need to be concerned with the clamav-0.100.0-x86.msi that is packaged inside of the clamav-0.100.0-x86.msi that was extracted from the downloaded .zip? Thanks. -- Brian ___ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml ___ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
Re: [clamav-users] --foreground=true
Thanks, everyone! I keep learning new things -Oorspronkelijk bericht- Van: clamav-usersNamens Matus UHLAR - fantomas Verzonden: donderdag 12 april 2018 18:04 Aan: clamav-users@lists.clamav.net Onderwerp: Re: [clamav-users] --foreground=true On 11.04.18 10:24, paul.gu...@gmail.com wrote: >On my Raspbian system htop reports clamd runs with the -foreground=true >option, although I have commented that out in the configs. your raspbian apparently uses systemd, process manager who prefers to run applications in foreground (because in case of systemd, forking to background is useless). -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. A day without sunshine is like, night. ___ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml ___ clamav-users mailing list clamav-users@lists.clamav.net http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml